vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 14 | # Default values for mariadb. |
| 15 | # This is a YAML-formatted file. |
| 16 | # Declare variables to be passed into your templates. |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 17 | ################################################################# |
| 18 | # Global configuration defaults. |
| 19 | ################################################################# |
| 20 | global: |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 21 | nodePortPrefix: 302 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 22 | nodePortPrefixExt: 304 |
| 23 | repository: nexus3.onap.org:10001 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 24 | readinessImage: onap/oom/readiness:3.0.1 |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 25 | ubuntuInitRepository: registry.hub.docker.com |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 26 | |
| 27 | ################################################################# |
Krzysztof Opasiak | 2f8f4b6 | 2020-03-04 23:06:16 +0100 | [diff] [blame] | 28 | # Secrets metaconfig |
| 29 | ################################################################# |
| 30 | secrets: |
| 31 | - uid: db-root-pass |
| 32 | name: '{{ include "common.release" . }}-so-mariadb-root-pass' |
| 33 | type: password |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 34 | externalSecret: '{{ tpl (default "" .Values.db.rootPasswordExternalSecret) . }}' |
Krzysztof Opasiak | 2f8f4b6 | 2020-03-04 23:06:16 +0100 | [diff] [blame] | 35 | password: '{{ .Values.db.rootPassword }}' |
| 36 | passwordPolicy: required |
| 37 | - uid: db-backup-creds |
| 38 | name: '{{ include "common.release" . }}-so-mariadb-backup-creds' |
| 39 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 40 | externalSecret: '{{ tpl (default "" .Values.db.backupCredsExternalSecret) . }}' |
Krzysztof Opasiak | 2f8f4b6 | 2020-03-04 23:06:16 +0100 | [diff] [blame] | 41 | login: '{{ .Values.db.backupUser }}' |
| 42 | password: '{{ .Values.db.backupPassword }}' |
| 43 | passwordPolicy: required |
| 44 | annotations: |
| 45 | helm.sh/hook: pre-upgrade,pre-install |
| 46 | helm.sh/hook-weight: "0" |
| 47 | helm.sh/hook-delete-policy: before-hook-creation |
Krzysztof Opasiak | f68b728 | 2020-03-25 23:22:46 +0100 | [diff] [blame] | 48 | - uid: db-user-creds |
| 49 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 50 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
Krzysztof Opasiak | f68b728 | 2020-03-25 23:22:46 +0100 | [diff] [blame] | 51 | login: '{{ .Values.db.userName }}' |
| 52 | password: '{{ .Values.db.userPassword }}' |
| 53 | - uid: db-admin-creds |
| 54 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 55 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
Krzysztof Opasiak | f68b728 | 2020-03-25 23:22:46 +0100 | [diff] [blame] | 56 | login: '{{ .Values.db.adminName }}' |
| 57 | password: '{{ .Values.db.adminPassword }}' |
| 58 | - uid: camunda-db-creds |
| 59 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 60 | externalSecret: '{{ tpl (default "" .Values.db.camunda.dbCredsExternalSecret) . }}' |
Krzysztof Opasiak | f68b728 | 2020-03-25 23:22:46 +0100 | [diff] [blame] | 61 | login: '{{ .Values.db.camunda.userName }}' |
| 62 | password: '{{ .Values.db.camunda.password }}' |
| 63 | - uid: request-db-creds |
| 64 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 65 | externalSecret: '{{ tpl (default "" .Values.db.request.dbCredsExternalSecret) . }}' |
Krzysztof Opasiak | f68b728 | 2020-03-25 23:22:46 +0100 | [diff] [blame] | 66 | login: '{{ .Values.db.request.userName }}' |
| 67 | password: '{{ .Values.db.request.password }}' |
| 68 | - uid: catalog-db-creds |
| 69 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 70 | externalSecret: '{{ tpl (default "" .Values.db.catalog.dbCredsExternalSecret) . }}' |
Krzysztof Opasiak | f68b728 | 2020-03-25 23:22:46 +0100 | [diff] [blame] | 71 | login: '{{ .Values.db.catalog.userName }}' |
| 72 | password: '{{ .Values.db.catalog.password }}' |
rope252 | 4df5519 | 2020-08-24 13:55:58 +0100 | [diff] [blame] | 73 | - uid: nfvo-db-creds |
| 74 | type: basicAuth |
| 75 | externalSecret: '{{ tpl (default "" .Values.db.nfvo.dbCredsExternalSecret) . }}' |
| 76 | login: '{{ .Values.db.nfvo.userName }}' |
| 77 | password: '{{ .Values.db.nfvo.password }}' |
Krzysztof Opasiak | 2f8f4b6 | 2020-03-04 23:06:16 +0100 | [diff] [blame] | 78 | |
| 79 | ################################################################# |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 80 | # Application configuration defaults. |
| 81 | ################################################################# |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 82 | # application image |
| 83 | repository: nexus3.onap.org:10001 |
Ramesh Parthasarathy | a4aaf36 | 2019-03-13 20:59:51 +0000 | [diff] [blame] | 84 | image: mariadb:10.1.38 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 85 | pullPolicy: Always |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 86 | ubuntuInitImage: oomk8s/ubuntu-init:2.0.0 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 87 | |
Krzysztof Opasiak | 2f8f4b6 | 2020-03-04 23:06:16 +0100 | [diff] [blame] | 88 | # db config |
| 89 | db: |
| 90 | rootPassword: secretpassword |
| 91 | # rootPasswordExternalSecret: some secret |
| 92 | backupPassword: secretpassword |
| 93 | backupUser: root |
| 94 | # backupCredsExternalSecret: some secret |
Krzysztof Opasiak | f68b728 | 2020-03-25 23:22:46 +0100 | [diff] [blame] | 95 | userName: so_user |
| 96 | userPassword: so_User123 |
| 97 | # userCredsExternalSecret: some secret |
| 98 | adminName: so_admin |
| 99 | adminPassword: so_Admin123 |
| 100 | # adminCredsExternalSecret: some secret |
| 101 | camunda: |
| 102 | userName: camundauser |
| 103 | password: camunda123 |
| 104 | # dbCredsExternalSecret: some secret |
| 105 | request: |
| 106 | userName: requestuser |
| 107 | password: request123 |
| 108 | # dbCredsExternalSecret: some secret |
| 109 | catalog: |
| 110 | userName: cataloguser |
| 111 | password: catalog123 |
| 112 | # dbCredsExternalSecret: some secret |
rope252 | 4df5519 | 2020-08-24 13:55:58 +0100 | [diff] [blame] | 113 | nfvo: |
| 114 | userName: nfvouser |
| 115 | # dbCredsExternalSecret: some secret |
Krzysztof Opasiak | f68b728 | 2020-03-25 23:22:46 +0100 | [diff] [blame] | 116 | |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 117 | # application configuration |
| 118 | config: |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 119 | # gerrit branch where the latest heat code is checked in |
Ramesh Parthasarathy | bef9c7b | 2019-03-01 21:21:20 +0000 | [diff] [blame] | 120 | gerritBranch: master |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 121 | # gerrit project where the latest heat code is checked in |
| 122 | gerritProject: http://gerrit.onap.org/r/so/docker-config.git |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 123 | # default number of instances |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 124 | nodeSelector: {} |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 125 | affinity: {} |
Mahendra Raghuwanshi | 72b69c1 | 2019-04-04 10:43:25 +0000 | [diff] [blame] | 126 | |
| 127 | ingress: |
| 128 | enabled: false |
| 129 | |
| 130 | # Resource Limit flavor |
| 131 | flavor: small |
| 132 | |
| 133 | resources: |
| 134 | small: |
| 135 | limits: |
| 136 | cpu: 2 |
| 137 | memory: 4Gi |
| 138 | requests: |
| 139 | cpu: 1 |
| 140 | memory: 2Gi |
| 141 | large: |
| 142 | limits: |
| 143 | cpu: 4 |
| 144 | memory: 8Gi |
| 145 | requests: |
| 146 | cpu: 2 |
| 147 | memory: 4Gi |
| 148 | unlimited: {} |
| 149 | |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 150 | persistence: |
| 151 | enabled: true |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 152 | ## A manually managed Persistent Volume and Claim |
| 153 | ## Requires persistence.enabled: true |
| 154 | ## If defined, PVC must be created manually before volume will be bound |
| 155 | # existingClaim: |
| 156 | volumeReclaimPolicy: Retain |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 157 | ## database data Persistent Volume Storage Class |
| 158 | ## If defined, storageClassName: <storageClass> |
| 159 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 160 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 161 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 162 | ## GKE, AWS & OpenStack) |
| 163 | ## |
| 164 | # storageClass: "-" |
| 165 | accessMode: ReadWriteMany |
| 166 | size: 2Gi |
Mahendra Raghuwanshi | 72b69c1 | 2019-04-04 10:43:25 +0000 | [diff] [blame] | 167 | |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 168 | mountPath: /dockerdata-nfs |
Mahendra Raghuwanshi | 72b69c1 | 2019-04-04 10:43:25 +0000 | [diff] [blame] | 169 | mountSubPath: so/migration |