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 |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 24 | readinessRepository: oomk8s |
Mahendra Raghuwanshi | 72b69c1 | 2019-04-04 10:43:25 +0000 | [diff] [blame] | 25 | readinessImage: readiness-check:2.0.2 |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 26 | ubuntuInitRepository: registry.hub.docker.com |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 27 | |
| 28 | ################################################################# |
Krzysztof Opasiak | 2f8f4b6 | 2020-03-04 23:06:16 +0100 | [diff] [blame] | 29 | # Secrets metaconfig |
| 30 | ################################################################# |
| 31 | secrets: |
| 32 | - uid: db-root-pass |
| 33 | name: '{{ include "common.release" . }}-so-mariadb-root-pass' |
| 34 | type: password |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 35 | externalSecret: '{{ tpl (default "" .Values.db.rootPasswordExternalSecret) . }}' |
Krzysztof Opasiak | 2f8f4b6 | 2020-03-04 23:06:16 +0100 | [diff] [blame] | 36 | password: '{{ .Values.db.rootPassword }}' |
| 37 | passwordPolicy: required |
| 38 | - uid: db-backup-creds |
| 39 | name: '{{ include "common.release" . }}-so-mariadb-backup-creds' |
| 40 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 41 | externalSecret: '{{ tpl (default "" .Values.db.backupCredsExternalSecret) . }}' |
Krzysztof Opasiak | 2f8f4b6 | 2020-03-04 23:06:16 +0100 | [diff] [blame] | 42 | login: '{{ .Values.db.backupUser }}' |
| 43 | password: '{{ .Values.db.backupPassword }}' |
| 44 | passwordPolicy: required |
| 45 | annotations: |
| 46 | helm.sh/hook: pre-upgrade,pre-install |
| 47 | helm.sh/hook-weight: "0" |
| 48 | helm.sh/hook-delete-policy: before-hook-creation |
Krzysztof Opasiak | f68b728 | 2020-03-25 23:22:46 +0100 | [diff] [blame] | 49 | - uid: db-user-creds |
| 50 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 51 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
Krzysztof Opasiak | f68b728 | 2020-03-25 23:22:46 +0100 | [diff] [blame] | 52 | login: '{{ .Values.db.userName }}' |
| 53 | password: '{{ .Values.db.userPassword }}' |
| 54 | - uid: db-admin-creds |
| 55 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 56 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
Krzysztof Opasiak | f68b728 | 2020-03-25 23:22:46 +0100 | [diff] [blame] | 57 | login: '{{ .Values.db.adminName }}' |
| 58 | password: '{{ .Values.db.adminPassword }}' |
| 59 | - uid: camunda-db-creds |
| 60 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 61 | externalSecret: '{{ tpl (default "" .Values.db.camunda.dbCredsExternalSecret) . }}' |
Krzysztof Opasiak | f68b728 | 2020-03-25 23:22:46 +0100 | [diff] [blame] | 62 | login: '{{ .Values.db.camunda.userName }}' |
| 63 | password: '{{ .Values.db.camunda.password }}' |
| 64 | - uid: request-db-creds |
| 65 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 66 | externalSecret: '{{ tpl (default "" .Values.db.request.dbCredsExternalSecret) . }}' |
Krzysztof Opasiak | f68b728 | 2020-03-25 23:22:46 +0100 | [diff] [blame] | 67 | login: '{{ .Values.db.request.userName }}' |
| 68 | password: '{{ .Values.db.request.password }}' |
| 69 | - uid: catalog-db-creds |
| 70 | type: basicAuth |
Krzysztof Opasiak | c53ff54 | 2020-03-28 02:14:37 +0100 | [diff] [blame] | 71 | externalSecret: '{{ tpl (default "" .Values.db.catalog.dbCredsExternalSecret) . }}' |
Krzysztof Opasiak | f68b728 | 2020-03-25 23:22:46 +0100 | [diff] [blame] | 72 | login: '{{ .Values.db.catalog.userName }}' |
| 73 | password: '{{ .Values.db.catalog.password }}' |
rope252 | 4df5519 | 2020-08-24 13:55:58 +0100 | [diff] [blame] | 74 | - uid: nfvo-db-creds |
| 75 | type: basicAuth |
| 76 | externalSecret: '{{ tpl (default "" .Values.db.nfvo.dbCredsExternalSecret) . }}' |
| 77 | login: '{{ .Values.db.nfvo.userName }}' |
| 78 | password: '{{ .Values.db.nfvo.password }}' |
Krzysztof Opasiak | 2f8f4b6 | 2020-03-04 23:06:16 +0100 | [diff] [blame] | 79 | |
| 80 | ################################################################# |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 81 | # Application configuration defaults. |
| 82 | ################################################################# |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 83 | # application image |
| 84 | repository: nexus3.onap.org:10001 |
Ramesh Parthasarathy | a4aaf36 | 2019-03-13 20:59:51 +0000 | [diff] [blame] | 85 | image: mariadb:10.1.38 |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 86 | pullPolicy: Always |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 87 | ubuntuInitImage: oomk8s/ubuntu-init:2.0.0 |
jmac | c4f04d3 | 2018-10-12 18:24:24 +0000 | [diff] [blame] | 88 | |
Krzysztof Opasiak | 2f8f4b6 | 2020-03-04 23:06:16 +0100 | [diff] [blame] | 89 | # db config |
| 90 | db: |
| 91 | rootPassword: secretpassword |
| 92 | # rootPasswordExternalSecret: some secret |
| 93 | backupPassword: secretpassword |
| 94 | backupUser: root |
| 95 | # backupCredsExternalSecret: some secret |
Krzysztof Opasiak | f68b728 | 2020-03-25 23:22:46 +0100 | [diff] [blame] | 96 | userName: so_user |
| 97 | userPassword: so_User123 |
| 98 | # userCredsExternalSecret: some secret |
| 99 | adminName: so_admin |
| 100 | adminPassword: so_Admin123 |
| 101 | # adminCredsExternalSecret: some secret |
| 102 | camunda: |
| 103 | userName: camundauser |
| 104 | password: camunda123 |
| 105 | # dbCredsExternalSecret: some secret |
| 106 | request: |
| 107 | userName: requestuser |
| 108 | password: request123 |
| 109 | # dbCredsExternalSecret: some secret |
| 110 | catalog: |
| 111 | userName: cataloguser |
| 112 | password: catalog123 |
| 113 | # dbCredsExternalSecret: some secret |
rope252 | 4df5519 | 2020-08-24 13:55:58 +0100 | [diff] [blame] | 114 | nfvo: |
| 115 | userName: nfvouser |
| 116 | # dbCredsExternalSecret: some secret |
Krzysztof Opasiak | f68b728 | 2020-03-25 23:22:46 +0100 | [diff] [blame] | 117 | |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 118 | # application configuration |
| 119 | config: |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 120 | # gerrit branch where the latest heat code is checked in |
Ramesh Parthasarathy | bef9c7b | 2019-03-01 21:21:20 +0000 | [diff] [blame] | 121 | gerritBranch: master |
Mandeep Khinda | 0fe4eb7 | 2018-04-20 21:02:45 +0000 | [diff] [blame] | 122 | # gerrit project where the latest heat code is checked in |
| 123 | gerritProject: http://gerrit.onap.org/r/so/docker-config.git |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 124 | # default number of instances |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 125 | nodeSelector: {} |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 126 | affinity: {} |
Mahendra Raghuwanshi | 72b69c1 | 2019-04-04 10:43:25 +0000 | [diff] [blame] | 127 | |
| 128 | ingress: |
| 129 | enabled: false |
| 130 | |
| 131 | # Resource Limit flavor |
| 132 | flavor: small |
| 133 | |
| 134 | resources: |
| 135 | small: |
| 136 | limits: |
| 137 | cpu: 2 |
| 138 | memory: 4Gi |
| 139 | requests: |
| 140 | cpu: 1 |
| 141 | memory: 2Gi |
| 142 | large: |
| 143 | limits: |
| 144 | cpu: 4 |
| 145 | memory: 8Gi |
| 146 | requests: |
| 147 | cpu: 2 |
| 148 | memory: 4Gi |
| 149 | unlimited: {} |
| 150 | |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 151 | persistence: |
| 152 | enabled: true |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 153 | ## A manually managed Persistent Volume and Claim |
| 154 | ## Requires persistence.enabled: true |
| 155 | ## If defined, PVC must be created manually before volume will be bound |
| 156 | # existingClaim: |
| 157 | volumeReclaimPolicy: Retain |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 158 | ## database data Persistent Volume Storage Class |
| 159 | ## If defined, storageClassName: <storageClass> |
| 160 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 161 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 162 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 163 | ## GKE, AWS & OpenStack) |
| 164 | ## |
| 165 | # storageClass: "-" |
| 166 | accessMode: ReadWriteMany |
| 167 | size: 2Gi |
Mahendra Raghuwanshi | 72b69c1 | 2019-04-04 10:43:25 +0000 | [diff] [blame] | 168 | |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 169 | mountPath: /dockerdata-nfs |
Mahendra Raghuwanshi | 72b69c1 | 2019-04-04 10:43:25 +0000 | [diff] [blame] | 170 | mountSubPath: so/migration |