Mukul | 2b4e753 | 2018-08-03 10:41:29 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # Modifications Copyright © 2018 AT&T |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +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 | |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 21 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.0 |
Sylvain Desbureaux | 531d03f | 2020-04-22 10:37:45 +0200 | [diff] [blame] | 23 | centralizedLoggingEnabled: false |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 24 | loggingRepository: docker.elastic.co |
| 25 | loggingImage: beats/filebeat:5.5.0 |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 26 | # envsusbt |
| 27 | envsubstImage: dibi/envsubst |
jmac | 99ff397 | 2018-03-29 01:02:42 +0000 | [diff] [blame] | 28 | persistence: |
| 29 | mountPath: /dockerdata-nfs |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 30 | |
| 31 | ################################################################# |
Krzysztof Opasiak | e74ed5c | 2020-01-23 11:49:25 +0100 | [diff] [blame] | 32 | # Secrets metaconfig |
| 33 | ################################################################# |
| 34 | secrets: |
| 35 | - uid: "db-root-pass" |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 36 | name: '{{ include "common.release" . }}-appc-db-root-pass' |
| 37 | externalSecret: '{{ .Values.config.dbRootPassExternalSecret }}' |
Krzysztof Opasiak | e74ed5c | 2020-01-23 11:49:25 +0100 | [diff] [blame] | 38 | type: password |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 39 | password: '{{ .Values.config.dbRootPass }}' |
| 40 | - uid: 'appcdb-user-creds' |
| 41 | name: '{{ include "common.release" . }}-appcdb-user-creds' |
| 42 | type: basicAuth |
| 43 | externalSecret: '{{ tpl (default "" .Values.config.appcdb.userCredentialsExternalSecret) . }}' |
| 44 | login: '{{ .Values.config.appcdb.userName }}' |
| 45 | password: '{{ .Values.config.appcdb.password }}' |
| 46 | - uid: 'sdncdb-user-creds' |
| 47 | name: '{{ include "common.release" . }}-sdncdb-user-creds' |
| 48 | type: basicAuth |
| 49 | externalSecret: '{{ tpl (default "" .Values.config.sdncdb.userCredentialsExternalSecret) . }}' |
| 50 | login: '{{ .Values.config.sdncdb.userName }}' |
| 51 | password: '{{ .Values.config.sdncdb.password }}' |
| 52 | |
Krzysztof Opasiak | e74ed5c | 2020-01-23 11:49:25 +0100 | [diff] [blame] | 53 | |
| 54 | ################################################################# |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 55 | # Application configuration defaults. |
| 56 | ################################################################# |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 57 | flavor: small |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 58 | # application image |
| 59 | repository: nexus3.onap.org:10001 |
Taka Cho | 6793a75 | 2020-04-03 08:52:00 -0400 | [diff] [blame] | 60 | image: onap/appc-image:1.7.1 |
kerenj | 6ca15a7 | 2017-08-23 12:05:23 +0000 | [diff] [blame] | 61 | pullPolicy: Always |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 62 | |
| 63 | # flag to enable debugging - application support required |
| 64 | debugEnabled: false |
| 65 | |
Sylvain Desbureaux | 531d03f | 2020-04-22 10:37:45 +0200 | [diff] [blame] | 66 | # log configuration |
| 67 | log: |
| 68 | path: /var/log/onap |
| 69 | |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 70 | # application configuration |
| 71 | config: |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 72 | # dbRootPassExternalSecret: some secret |
| 73 | # dbRootPass: password |
| 74 | appcdb: |
| 75 | # Warning: changing this config option may not work. |
| 76 | # It seems that the DB name is hardcoded. |
| 77 | dbName: appcctl |
| 78 | userName: appcctl |
Krzysztof Opasiak | c336580 | 2020-04-24 19:50:48 +0200 | [diff] [blame] | 79 | # password: appcctl |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 80 | # userCredsExternalSecret: some secret |
| 81 | sdncdb: |
| 82 | # Warning: changing this config option may not work. |
| 83 | # It seems that the DB name is hardcoded. |
| 84 | dbName: sdnctl |
| 85 | userName: sdnctl |
Krzysztof Opasiak | f3569b8 | 2020-04-24 19:53:08 +0200 | [diff] [blame] | 86 | # password: gamma |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 87 | # userCredsExternalSecret: some secret |
Taka Cho | 31eb245 | 2019-06-24 21:10:50 -0400 | [diff] [blame] | 88 | odlUid: 100 |
| 89 | odlGid: 101 |
Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [diff] [blame] | 90 | ansibleServiceName: appc-ansible-server |
| 91 | ansiblePort: 8000 |
pramod | 47b1b82 | 2018-08-28 15:41:45 +0000 | [diff] [blame] | 92 | mariadbGaleraSVCName: appc-dbhost |
| 93 | mariadbGaleraContName: appc-db |
Aaron Hay | a11a92a | 2018-10-29 14:17:02 -0400 | [diff] [blame] | 94 | enableAAF: true |
| 95 | enableClustering: false |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 96 | configDir: /opt/onap/appc/data/properties |
| 97 | dmaapTopic: SUCCESS |
Aaron Hay | afb0a09 | 2018-11-19 17:52:59 -0500 | [diff] [blame] | 98 | dmaapTopicEnv: AUTO |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 99 | logstashServiceName: log-ls |
| 100 | logstashPort: 5044 |
Aaron Hay | d46d63f | 2018-11-13 00:34:05 -0500 | [diff] [blame] | 101 | odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
Aaron Hay | ef1a0ec | 2018-04-30 01:25:41 -0400 | [diff] [blame] | 102 | openStackType: OpenStackProvider |
| 103 | openStackName: OpenStack |
| 104 | openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html |
| 105 | openStackServiceTenantName: default |
| 106 | openStackDomain: default |
| 107 | openStackUserName: admin |
Joss Armstrong | 32e9002 | 2018-12-17 13:16:57 +0000 | [diff] [blame] | 108 | openStackEncryptedPassword: enc:LDEbHEAvTF1R |
Aaron Hay | d46d63f | 2018-11-13 00:34:05 -0500 | [diff] [blame] | 109 | odlUser: admin |
Patrick Brady | add4569 | 2019-11-06 13:52:17 -0800 | [diff] [blame] | 110 | dmaapServiceUrl: http://localhost:8080/publish |
| 111 | dmaapServiceUser: appc |
| 112 | dmaapServicePassword: onapappc |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 113 | |
Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [diff] [blame] | 114 | appc-ansible-server: |
| 115 | service: |
| 116 | name: appc-ansible-server |
| 117 | internalPort: 8000 |
| 118 | config: |
| 119 | mysqlServiceName: appc-dbhost |
| 120 | |
pramod | 47b1b82 | 2018-08-28 15:41:45 +0000 | [diff] [blame] | 121 | mariadb-galera: |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 122 | nameOverride: appc-db |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 123 | config: |
| 124 | mariadbRootPasswordExternalSecret: '{{ include "common.release" . }}-appc-db-root-pass' |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 125 | service: |
| 126 | name: appc-dbhost |
Mike Elliott | 4a9f435 | 2018-09-13 09:47:13 -0400 | [diff] [blame] | 127 | portName: appc-dbhost |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 128 | nfsprovisionerPrefix: appc |
| 129 | sdnctlPrefix: appc |
| 130 | persistence: |
| 131 | mountSubPath: appc/data |
| 132 | enabled: true |
| 133 | disableNfsProvisioner: true |
| 134 | |
| 135 | dgbuilder: |
| 136 | nameOverride: appc-dgbuilder |
jmac | 99ff397 | 2018-03-29 01:02:42 +0000 | [diff] [blame] | 137 | config: |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 138 | db: |
| 139 | rootPasswordExternalSecret: '{{ include "common.release" . }}-appc-db-root-pass' |
| 140 | userCredentialsExternalSecret: '{{ include "common.release" . }}-sdncdb-user-creds' |
jmac | 99ff397 | 2018-03-29 01:02:42 +0000 | [diff] [blame] | 141 | dbPodName: appc-db |
| 142 | dbServiceName: appc-dbhost |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 143 | service: |
| 144 | name: appc-dgbuilder |
mayankg2703 | 41a6614 | 2018-06-06 07:53:35 +0000 | [diff] [blame] | 145 | |
Sylvain Desbureaux | e54644e | 2020-05-04 11:45:16 +0200 | [diff] [blame^] | 146 | ingress: |
| 147 | enabled: false |
| 148 | service: |
| 149 | - baseaddr: "appc-dgbuilder" |
| 150 | name: "appc-dgbuilder" |
| 151 | port: 3000 |
| 152 | config: |
| 153 | ssl: "redirect" |
| 154 | |
Taka Cho | 96a53f7 | 2020-03-13 15:42:34 -0400 | [diff] [blame] | 155 | #passing value to cdt chart. value of nodePort3 will be same as appc.service.nodePort3. |
Patrick Brady | 1a62b66 | 2018-05-30 10:56:46 -0700 | [diff] [blame] | 156 | appc-cdt: |
Taka Cho | 96a53f7 | 2020-03-13 15:42:34 -0400 | [diff] [blame] | 157 | nodePort3: 11 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 158 | # default number of instances |
Roger Maitland | 6a06997 | 2018-05-09 18:23:58 -0400 | [diff] [blame] | 159 | replicaCount: 1 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 160 | |
| 161 | nodeSelector: {} |
| 162 | |
| 163 | affinity: {} |
| 164 | |
| 165 | # probe configuration parameters |
| 166 | liveness: |
Taka Cho | faf292a | 2019-04-24 09:59:09 -0400 | [diff] [blame] | 167 | initialDelaySeconds: 300 |
| 168 | periodSeconds: 60 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 169 | # necessary to disable liveness probe when setting breakpoints |
| 170 | # in debugger so K8s doesn't restart unresponsive container |
| 171 | enabled: true |
| 172 | |
| 173 | readiness: |
Taka Cho | faf292a | 2019-04-24 09:59:09 -0400 | [diff] [blame] | 174 | initialDelaySeconds: 300 |
| 175 | periodSeconds: 60 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 176 | |
| 177 | service: |
| 178 | type: NodePort |
| 179 | name: appc |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 180 | portName: appc |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 181 | |
Taka Cho | 96a53f7 | 2020-03-13 15:42:34 -0400 | [diff] [blame] | 182 | internalPort: 8443 |
| 183 | externalPort: 8443 |
| 184 | nodePort: 30 |
Taka Cho | 3c29d5f | 2019-09-04 15:38:31 -0400 | [diff] [blame] | 185 | |
Taka Cho | 96a53f7 | 2020-03-13 15:42:34 -0400 | [diff] [blame] | 186 | externalPort2: 1830 |
| 187 | nodePort2: 31 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 188 | clusterPort: 2550 |
| 189 | |
Taka Cho | 96a53f7 | 2020-03-13 15:42:34 -0400 | [diff] [blame] | 190 | internalPort3: 9191 |
| 191 | externalPort3: 9090 |
| 192 | nodePort3: 11 |
Patrick Brady | 140deb9 | 2018-05-23 08:56:24 -0700 | [diff] [blame] | 193 | |
BorislavG | 3dad2f4 | 2018-04-16 10:19:45 +0000 | [diff] [blame] | 194 | ## Persist data to a persitent volume |
| 195 | persistence: |
| 196 | enabled: true |
| 197 | |
| 198 | ## A manually managed Persistent Volume and Claim |
| 199 | ## Requires persistence.enabled: true |
| 200 | ## If defined, PVC must be created manually before volume will be bound |
| 201 | # existingClaim: |
| 202 | volumeReclaimPolicy: Retain |
| 203 | |
| 204 | ## database data Persistent Volume Storage Class |
| 205 | ## If defined, storageClassName: <storageClass> |
| 206 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 207 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 208 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 209 | ## GKE, AWS & OpenStack) |
| 210 | accessMode: ReadWriteOnce |
| 211 | size: 1Gi |
| 212 | mountPath: /dockerdata-nfs |
| 213 | mountSubPath: appc/mdsal |
| 214 | mdsalPath: /opt/opendaylight/current/daexim |
| 215 | |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 216 | ingress: |
| 217 | enabled: false |
Lucjan Bryndza | 684487d | 2019-12-02 12:20:10 +0100 | [diff] [blame] | 218 | service: |
| 219 | - baseaddr: appc |
| 220 | name: "appc" |
| 221 | port: 8443 |
| 222 | config: |
| 223 | ssl: "redirect" |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 224 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 225 | # Configure resource requests and limits |
| 226 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 227 | resources: |
| 228 | small: |
| 229 | limits: |
| 230 | cpu: 2 |
| 231 | memory: 4Gi |
| 232 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 233 | cpu: 1 |
| 234 | memory: 2Gi |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 235 | large: |
| 236 | limits: |
| 237 | cpu: 4 |
| 238 | memory: 8Gi |
| 239 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 240 | cpu: 2 |
| 241 | memory: 4Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 242 | unlimited: {} |