Mandeep Khinda | b1f9efe | 2018-03-28 19:01:55 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T, ZTE |
Mandeep Khinda | b1f9efe | 2018-03-28 19:01:55 +0000 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 21 | aafEnabled: true |
| 22 | |
| 23 | ################################################################# |
| 24 | # AAF Part |
| 25 | ################################################################# |
| 26 | certInitializer: |
| 27 | nameOverride: sdc-fe-cert-init |
| 28 | aafDeployFqi: deployer@people.osaaf.org |
| 29 | aafDeployPass: demo123456! |
| 30 | fqdn: sdc |
| 31 | fqi: sdc@sdc.onap.org |
| 32 | public_fqdn: sdc.onap.org |
| 33 | cadi_longitude: "0.0" |
| 34 | cadi_latitude: "0.0" |
| 35 | app_ns: org.osaaf.aaf |
| 36 | credsPath: /opt/app/osaaf/local |
| 37 | addconfig: true |
| 38 | keystoreFile: "org.onap.sdc.p12" |
| 39 | truststoreFile: "org.onap.sdc.trust.jks" |
| 40 | permission_user: 352070 |
| 41 | permission_group: 35953 |
| 42 | aaf_add_config: > |
| 43 | /opt/app/aaf_config/bin/agent.sh local showpass |
| 44 | {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 45 | |
| 46 | ################################################################# |
| 47 | # Application configuration defaults. |
| 48 | ################################################################# |
| 49 | # application image |
ChrisC | dc6c610 | 2021-04-19 08:33:54 +0200 | [diff] [blame] | 50 | image: onap/sdc-frontend:1.8.5 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 51 | pullPolicy: Always |
| 52 | |
Mandeep Khinda | 403c1c1 | 2018-04-19 23:15:43 +0000 | [diff] [blame] | 53 | config: |
r.bogacki | c535c93 | 2019-09-03 10:34:12 +0200 | [diff] [blame] | 54 | javaOptions: "-Xmx256m -Xms256m" |
shrikantawachar | 0c84bc3 | 2019-01-16 13:12:21 +0530 | [diff] [blame] | 55 | plugins: |
k.kedron | c784bbd | 2019-09-05 18:28:16 +0200 | [diff] [blame] | 56 | dcae_discovery_url: "https://sdc-dcae-fe:9444/dcaed/#/home" |
| 57 | dcae_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30264/dcaed/#/home" |
| 58 | dcae_dt_discovery_url: "https://sdc-dcae-dt:9446/dcae/#/dcae/home" |
| 59 | dcae_dt_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30266/dcae/#/dcae/home" |
IlanaP | c80bff9 | 2019-11-18 21:10:08 +0200 | [diff] [blame] | 60 | workflow_discovery_url: "https://sdc-wfd-fe:8443/workflows" |
| 61 | workflow_source_url: "https://sdc.workflow.plugin.simpledemo.onap.org:30256/workflows/" |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 62 | |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 63 | #environment file |
| 64 | env: |
| 65 | name: AUTO |
| 66 | |
| 67 | security: |
| 68 | disableHttp: true |
| 69 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 70 | # default number of instances |
| 71 | replicaCount: 1 |
| 72 | |
| 73 | nodeSelector: {} |
| 74 | |
| 75 | affinity: {} |
| 76 | |
| 77 | # probe configuration parameters |
| 78 | liveness: |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame^] | 79 | initialDelaySeconds: 1 |
| 80 | periodSeconds: 10 |
Brian Freeman | 6142d94 | 2019-10-02 09:50:19 -0500 | [diff] [blame] | 81 | timeoutSeconds: 15 |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame^] | 82 | successThreshold: 1 |
| 83 | failureThreshold: 3 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 84 | # necessary to disable liveness probe when setting breakpoints |
| 85 | # in debugger so K8s doesn't restart unresponsive container |
| 86 | enabled: true |
| 87 | |
| 88 | readiness: |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame^] | 89 | initialDelaySeconds: 1 |
| 90 | periodSeconds: 10 |
Brian Freeman | 6142d94 | 2019-10-02 09:50:19 -0500 | [diff] [blame] | 91 | timeoutSeconds: 15 |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame^] | 92 | successThreshold: 1 |
| 93 | failureThreshold: 3 |
| 94 | |
| 95 | startup: |
| 96 | initialDelaySeconds: 10 |
| 97 | periodSeconds: 10 |
| 98 | timeoutSeconds: 15 |
| 99 | successThreshold: 1 |
| 100 | failureThreshold: 60 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 101 | |
| 102 | service: |
| 103 | #Example service definition with external, internal and node ports. |
| 104 | #Services may use any combination of ports depending on the 'type' of |
| 105 | #service being defined. |
| 106 | type: NodePort |
| 107 | name: sdc-fe |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 108 | portName: sdc-fe |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 109 | nodePort: "06" |
| 110 | internalPort: 8181 |
Mandeep Khinda | fe527eb | 2018-10-16 09:56:34 -0400 | [diff] [blame] | 111 | externalPort: 8181 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 112 | nodePort2: "07" |
| 113 | internalPort2: 9443 |
Mandeep Khinda | fe527eb | 2018-10-16 09:56:34 -0400 | [diff] [blame] | 114 | externalPort2: 9443 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 115 | |
| 116 | |
| 117 | |
| 118 | ingress: |
| 119 | enabled: false |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 120 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 121 | - baseaddr: "sdc.api.fe" |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 122 | name: "sdc-fe" |
| 123 | port: 9443 |
| 124 | config: |
| 125 | ssl: "redirect" |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 126 | |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 127 | # Resource Limit flavor -By Default using small |
| 128 | flavor: small |
| 129 | # Segregation for Different environment (Small and Large) |
| 130 | resources: |
| 131 | small: |
| 132 | limits: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 133 | cpu: 500m |
| 134 | memory: 2Gi |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 135 | requests: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 136 | cpu: 40m |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 137 | memory: 1Gi |
| 138 | large: |
| 139 | limits: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 140 | cpu: 1 |
| 141 | memory: 4Gi |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 142 | requests: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 143 | cpu: 80m |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 144 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 145 | unlimited: {} |