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