Mukul | 2b4e753 | 2018-08-03 10:41:29 +0000 | [diff] [blame] | 1 | # Copyright © 2018 AT&T, Amdocs, Bell Canada Intellectual Property. All rights reserved. |
| 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. |
| 14 | |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 15 | apiVersion: apps/v1beta1 |
| 16 | kind: StatefulSet |
| 17 | metadata: |
| 18 | name: {{ include "common.fullname" . }} |
| 19 | namespace: {{ include "common.namespace" . }} |
| 20 | labels: |
| 21 | app: {{ include "common.name" . }} |
| 22 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
Krzysztof Opasiak | 137d7cc | 2020-01-24 23:49:11 +0100 | [diff] [blame] | 23 | release: {{ include "common.release" . }} |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 24 | heritage: {{ .Release.Service }} |
| 25 | spec: |
| 26 | serviceName: "{{ .Values.service.name }}-cluster" |
| 27 | replicas: {{ .Values.replicaCount }} |
| 28 | podManagementPolicy: Parallel |
| 29 | template: |
| 30 | metadata: |
| 31 | labels: |
| 32 | app: {{ include "common.name" . }} |
Krzysztof Opasiak | 137d7cc | 2020-01-24 23:49:11 +0100 | [diff] [blame] | 33 | release: {{ include "common.release" . }} |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 34 | spec: |
| 35 | initContainers: |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 36 | - command: |
| 37 | - sh |
| 38 | args: |
| 39 | - -c |
| 40 | - "cd /config-input && for PFILE in `find . -not -type d | grep -v -F ..`; do envsubst <${PFILE} >/config/${PFILE}; chmod 0755 /config/${PFILE}; done" |
| 41 | env: |
| 42 | - name: APPC_DB_USER |
Krzysztof Opasiak | de8ba18 | 2020-03-24 03:24:51 +0100 | [diff] [blame] | 43 | {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "appcdb-user-creds" "key" "login") | indent 10 }} |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 44 | - name: APPC_DB_PASSWD |
Krzysztof Opasiak | de8ba18 | 2020-03-24 03:24:51 +0100 | [diff] [blame] | 45 | {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "appcdb-user-creds" "key" "password") | indent 10 }} |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 46 | - name: SDNC_DB_USER |
Krzysztof Opasiak | de8ba18 | 2020-03-24 03:24:51 +0100 | [diff] [blame] | 47 | {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "sdncdb-user-creds" "key" "login") | indent 10 }} |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 48 | - name: SDNC_DB_PASSWD |
Krzysztof Opasiak | de8ba18 | 2020-03-24 03:24:51 +0100 | [diff] [blame] | 49 | {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "sdncdb-user-creds" "key" "password") | indent 10 }} |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 50 | volumeMounts: |
| 51 | - mountPath: /config-input/appc-data-properties |
| 52 | name: onap-appc-data-properties-input |
| 53 | - mountPath: /config-input/appc-svclogic-config |
| 54 | name: onap-appc-svclogic-config-input |
| 55 | - mountPath: /config-input/sdnc-data-properties |
| 56 | name: onap-sdnc-data-properties-input |
| 57 | - mountPath: /config-input/sdnc-svclogic-config |
| 58 | name: onap-sdnc-svclogic-config-input |
| 59 | - mountPath: /config/appc-data-properties |
| 60 | name: onap-appc-data-properties |
| 61 | - mountPath: /config/appc-svclogic-config |
| 62 | name: onap-appc-svclogic-config |
| 63 | - mountPath: /config/sdnc-data-properties |
| 64 | name: onap-sdnc-data-properties |
| 65 | - mountPath: /config/sdnc-svclogic-config |
| 66 | name: onap-sdnc-svclogic-config |
| 67 | image: "{{ .Values.global.envsubstImage }}" |
| 68 | imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} |
| 69 | name: {{ include "common.name" . }}-update-config |
| 70 | |
Taka Cho | 31eb245 | 2019-06-24 21:10:50 -0400 | [diff] [blame] | 71 | - name: {{ include "common.name" . }}-readiness |
| 72 | command: |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 73 | - /root/ready.py |
| 74 | args: |
| 75 | - --container-name |
pramod | 47b1b82 | 2018-08-28 15:41:45 +0000 | [diff] [blame] | 76 | - {{.Values.config.mariadbGaleraContName}} |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 77 | env: |
| 78 | - name: NAMESPACE |
| 79 | valueFrom: |
| 80 | fieldRef: |
| 81 | apiVersion: v1 |
| 82 | fieldPath: metadata.namespace |
| 83 | image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}" |
| 84 | imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} |
Taka Cho | 31eb245 | 2019-06-24 21:10:50 -0400 | [diff] [blame] | 85 | - name: {{ include "common.name" . }}-chown |
| 86 | image: "busybox" |
| 87 | command: ["sh", "-c", "chown -R {{ .Values.config.odlUid }}:{{ .Values.config.odlGid}} {{ .Values.persistence.mdsalPath }}"] |
| 88 | volumeMounts: |
| 89 | - mountPath: {{ .Values.persistence.mdsalPath }} |
| 90 | name: {{ include "common.fullname" . }}-data |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 91 | containers: |
| 92 | - name: {{ include "common.name" . }} |
BorislavG | df11cd5 | 2018-05-06 12:55:20 +0000 | [diff] [blame] | 93 | image: "{{ include "common.repository" . }}/{{ .Values.image }}" |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 94 | imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} |
| 95 | command: |
| 96 | - /opt/appc/bin/startODL.sh |
| 97 | ports: |
| 98 | - containerPort: {{ .Values.service.internalPort }} |
| 99 | - containerPort: {{ .Values.service.externalPort2 }} |
| 100 | readinessProbe: |
Taka Cho | cdc4266 | 2019-11-08 16:08:38 -0500 | [diff] [blame] | 101 | tcpSocket: |
| 102 | port: {{ .Values.service.internalPort }} |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 103 | initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} |
| 104 | periodSeconds: {{ .Values.readiness.periodSeconds }} |
| 105 | env: |
| 106 | - name: MYSQL_ROOT_PASSWORD |
Krzysztof Opasiak | de8ba18 | 2020-03-24 03:24:51 +0100 | [diff] [blame] | 107 | {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "db-root-pass" "key" "password") | indent 14}} |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 108 | - name: APPC_DB_USER |
Krzysztof Opasiak | de8ba18 | 2020-03-24 03:24:51 +0100 | [diff] [blame] | 109 | {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "appcdb-user-creds" "key" "login") | indent 14 }} |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 110 | - name: APPC_DB_PASSWD |
Krzysztof Opasiak | de8ba18 | 2020-03-24 03:24:51 +0100 | [diff] [blame] | 111 | {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "appcdb-user-creds" "key" "password") | indent 14 }} |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 112 | - name: SDNC_DB_USER |
Krzysztof Opasiak | de8ba18 | 2020-03-24 03:24:51 +0100 | [diff] [blame] | 113 | {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "sdncdb-user-creds" "key" "login") | indent 14 }} |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 114 | - name: SDNC_DB_PASSWD |
Krzysztof Opasiak | de8ba18 | 2020-03-24 03:24:51 +0100 | [diff] [blame] | 115 | {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "sdncdb-user-creds" "key" "password") | indent 14 }} |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 116 | - name: SDNC_CONFIG_DIR |
| 117 | value: "{{ .Values.config.configDir }}" |
| 118 | - name: APPC_CONFIG_DIR |
| 119 | value: "{{ .Values.config.configDir }}" |
| 120 | - name: DMAAP_TOPIC_ENV |
| 121 | value: "{{ .Values.config.dmaapTopic }}" |
Aaron Hay | 145818b | 2018-06-05 13:23:50 -0400 | [diff] [blame] | 122 | - name: ENABLE_AAF |
| 123 | value: "{{ .Values.config.enableAAF }}" |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 124 | - name: ENABLE_ODL_CLUSTER |
| 125 | value: "{{ .Values.config.enableClustering }}" |
| 126 | - name: APPC_REPLICAS |
| 127 | value: "{{ .Values.replicaCount }}" |
| 128 | volumeMounts: |
| 129 | - mountPath: /etc/localtime |
| 130 | name: localtime |
| 131 | readOnly: true |
| 132 | - mountPath: /opt/onap/appc/data/properties/dblib.properties |
| 133 | name: onap-appc-data-properties |
| 134 | subPath: dblib.properties |
| 135 | - mountPath: /opt/onap/appc/data/properties/svclogic.properties |
| 136 | name: onap-appc-data-properties |
| 137 | subPath: svclogic.properties |
| 138 | - mountPath: /opt/onap/appc/data/properties/appc.properties |
| 139 | name: onap-appc-data-properties |
| 140 | subPath: appc.properties |
| 141 | - mountPath: /opt/onap/appc/data/properties/aaiclient.properties |
| 142 | name: onap-appc-data-properties |
| 143 | subPath: aaiclient.properties |
Aaron Hay | 3395df2 | 2018-10-30 18:31:41 -0400 | [diff] [blame] | 144 | - mountPath: /opt/onap/appc/data/properties/cadi.properties |
| 145 | name: onap-appc-data-properties |
| 146 | subPath: cadi.properties |
Aaron Hay | 145818b | 2018-06-05 13:23:50 -0400 | [diff] [blame] | 147 | - mountPath: /opt/onap/appc/data/properties/aaa-app-config.xml |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 148 | name: onap-appc-data-properties-input |
Aaron Hay | 145818b | 2018-06-05 13:23:50 -0400 | [diff] [blame] | 149 | subPath: aaa-app-config.xml |
Taka Cho | 870b943 | 2019-08-23 15:14:41 -0400 | [diff] [blame] | 150 | - mountPath: /opt/onap/appc/data/properties/bath_config.csv |
| 151 | name: onap-appc-data-properties |
| 152 | subPath: bath_config.csv |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 153 | - mountPath: /opt/onap/appc/svclogic/config/svclogic.properties |
| 154 | name: onap-appc-svclogic-config |
| 155 | subPath: svclogic.properties |
| 156 | - mountPath: /opt/onap/appc/svclogic/bin/showActiveGraphs.sh |
| 157 | name: onap-appc-svclogic-bin |
| 158 | subPath: showActiveGraphs.sh |
| 159 | - mountPath: /opt/onap/appc/bin/startODL.sh |
| 160 | name: onap-appc-bin |
| 161 | subPath: startODL.sh |
| 162 | - mountPath: /opt/onap/appc/bin/installAppcDb.sh |
| 163 | name: onap-appc-bin |
| 164 | subPath: installAppcDb.sh |
Aaron Hay | 1d464b5 | 2018-05-25 14:58:32 -0400 | [diff] [blame] | 165 | - mountPath: /opt/onap/appc/bin/health_check.sh |
| 166 | name: onap-appc-bin |
| 167 | subPath: health_check.sh |
Aaron Hay | 84e2c34 | 2018-04-17 12:37:31 -0400 | [diff] [blame] | 168 | - mountPath: /opt/onap/ccsdk/data/properties/dblib.properties |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 169 | name: onap-sdnc-data-properties |
| 170 | subPath: dblib.properties |
Aaron Hay | 84e2c34 | 2018-04-17 12:37:31 -0400 | [diff] [blame] | 171 | - mountPath: /opt/onap/ccsdk/data/properties/svclogic.properties |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 172 | name: onap-sdnc-data-properties |
| 173 | subPath: svclogic.properties |
Aaron Hay | 84e2c34 | 2018-04-17 12:37:31 -0400 | [diff] [blame] | 174 | - mountPath: /opt/onap/ccsdk/data/properties/aaiclient.properties |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 175 | name: onap-sdnc-data-properties |
| 176 | subPath: aaiclient.properties |
Aaron Hay | 84e2c34 | 2018-04-17 12:37:31 -0400 | [diff] [blame] | 177 | - mountPath: /opt/onap/ccsdk/svclogic/config/svclogic.properties |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 178 | name: onap-sdnc-svclogic-config |
| 179 | subPath: svclogic.properties |
Aaron Hay | 84e2c34 | 2018-04-17 12:37:31 -0400 | [diff] [blame] | 180 | - mountPath: /opt/onap/ccsdk/svclogic/bin/showActiveGraphs.sh |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 181 | name: onap-sdnc-svclogic-bin |
| 182 | subPath: showActiveGraphs.sh |
Aaron Hay | 84e2c34 | 2018-04-17 12:37:31 -0400 | [diff] [blame] | 183 | - mountPath: /opt/onap/ccsdk/bin/installSdncDb.sh |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 184 | name: onap-sdnc-bin |
| 185 | subPath: installSdncDb.sh |
BorislavG | 3dad2f4 | 2018-04-16 10:19:45 +0000 | [diff] [blame] | 186 | - mountPath: {{ .Values.persistence.mdsalPath }} |
| 187 | name: {{ include "common.fullname" . }}-data |
Sylvain Desbureaux | 531d03f | 2020-04-22 10:37:45 +0200 | [diff] [blame^] | 188 | - mountPath: {{ .Values.log.path }} |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 189 | name: logs |
Taka Cho | e1e2e1c | 2019-09-17 13:42:28 -0400 | [diff] [blame] | 190 | - mountPath: /opt/onap/appc/data/org.ops4j.pax.logging.cfg |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 191 | name: log-config |
| 192 | subPath: org.ops4j.pax.logging.cfg |
Taka Cho | c6559a9 | 2020-03-31 13:52:56 -0400 | [diff] [blame] | 193 | - mountPath: /opt/onap/appc/data/stores/org.onap.appc.p12 |
| 194 | name: p12-certs |
| 195 | subPath: org.onap.appc.p12 |
| 196 | - mountPath: /opt/onap/appc/data/stores/org.onap.appc.keyfile |
| 197 | name: keyfile-certs |
| 198 | subPath: org.onap.appc.keyfile |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 199 | resources: |
Mandeep Khinda | 5e3f36a | 2018-09-24 15:25:42 +0000 | [diff] [blame] | 200 | {{ include "common.resources" . | indent 12 }} |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 201 | {{- if .Values.nodeSelector }} |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 202 | nodeSelector: |
| 203 | {{ toYaml .Values.nodeSelector | indent 10 }} |
| 204 | {{- end -}} |
| 205 | {{- if .Values.affinity }} |
| 206 | affinity: |
| 207 | {{ toYaml .Values.affinity | indent 10 }} |
| 208 | {{- end }} |
| 209 | |
| 210 | # side car containers |
Sylvain Desbureaux | 531d03f | 2020-04-22 10:37:45 +0200 | [diff] [blame^] | 211 | {{ include "common.log.sidecar" . | nindent 8 }} |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 212 | volumes: |
Taka Cho | c6559a9 | 2020-03-31 13:52:56 -0400 | [diff] [blame] | 213 | - name: keyfile-certs |
| 214 | secret: |
| 215 | secretName: {{ include "common.fullname" . }}-certs |
| 216 | - name: p12-certs |
| 217 | secret: |
| 218 | secretName: {{ include "common.fullname" . }}-certs |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 219 | - name: localtime |
| 220 | hostPath: |
| 221 | path: /etc/localtime |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 222 | - name: log-config |
| 223 | configMap: |
| 224 | name: {{ include "common.fullname" . }}-logging-cfg |
| 225 | - name: logs |
| 226 | emptyDir: {} |
Sylvain Desbureaux | 531d03f | 2020-04-22 10:37:45 +0200 | [diff] [blame^] | 227 | {{ include "common.log.volumes" . | nindent 8 }} |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 228 | - name: onap-appc-data-properties-input |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 229 | configMap: |
| 230 | name: {{ include "common.fullname" . }}-onap-appc-data-properties |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 231 | - name: onap-appc-svclogic-config-input |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 232 | configMap: |
| 233 | name: {{ include "common.fullname" . }}-onap-appc-svclogic-config |
| 234 | - name: onap-appc-svclogic-bin |
| 235 | configMap: |
| 236 | name: {{ include "common.fullname" . }}-onap-appc-svclogic-bin |
| 237 | defaultMode: 0755 |
| 238 | - name: onap-appc-bin |
| 239 | configMap: |
| 240 | name: {{ include "common.fullname" . }}-onap-appc-bin |
| 241 | defaultMode: 0755 |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 242 | - name: onap-sdnc-data-properties-input |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 243 | configMap: |
| 244 | name: {{ include "common.fullname" . }}-onap-sdnc-data-properties |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 245 | - name: onap-sdnc-svclogic-config-input |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 246 | configMap: |
| 247 | name: {{ include "common.fullname" . }}-onap-sdnc-svclogic-config |
| 248 | - name: onap-sdnc-svclogic-bin |
| 249 | configMap: |
| 250 | name: {{ include "common.fullname" . }}-onap-sdnc-svclogic-bin |
| 251 | defaultMode: 0755 |
| 252 | - name: onap-sdnc-bin |
| 253 | configMap: |
| 254 | name: {{ include "common.fullname" . }}-onap-sdnc-bin |
| 255 | defaultMode: 0755 |
Krzysztof Opasiak | 967946c | 2020-02-19 01:44:30 +0100 | [diff] [blame] | 256 | - name: onap-appc-data-properties |
| 257 | emptyDir: |
| 258 | medium: Memory |
| 259 | - name: onap-appc-svclogic-config |
| 260 | emptyDir: |
| 261 | medium: Memory |
| 262 | - name: onap-sdnc-data-properties |
| 263 | emptyDir: |
| 264 | medium: Memory |
| 265 | - name: onap-sdnc-svclogic-config |
| 266 | emptyDir: |
| 267 | medium: Memory |
BorislavG | 8b31f6d | 2018-05-02 14:06:08 +0000 | [diff] [blame] | 268 | {{ if not .Values.persistence.enabled }} |
BorislavG | 3dad2f4 | 2018-04-16 10:19:45 +0000 | [diff] [blame] | 269 | - name: {{ include "common.fullname" . }}-data |
| 270 | emptyDir: {} |
BorislavG | 8b31f6d | 2018-05-02 14:06:08 +0000 | [diff] [blame] | 271 | {{ else }} |
BorislavG | 3dad2f4 | 2018-04-16 10:19:45 +0000 | [diff] [blame] | 272 | volumeClaimTemplates: |
| 273 | - metadata: |
| 274 | name: {{ include "common.fullname" . }}-data |
| 275 | labels: |
| 276 | name: {{ include "common.fullname" . }} |
Sylvain Desbureaux | 5f46e6e | 2019-11-29 09:19:40 +0100 | [diff] [blame] | 277 | chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" |
Krzysztof Opasiak | 137d7cc | 2020-01-24 23:49:11 +0100 | [diff] [blame] | 278 | release: "{{ include "common.release" . }}" |
Sylvain Desbureaux | 5f46e6e | 2019-11-29 09:19:40 +0100 | [diff] [blame] | 279 | heritage: "{{ .Release.Service }}" |
BorislavG | 3dad2f4 | 2018-04-16 10:19:45 +0000 | [diff] [blame] | 280 | spec: |
Sylvain Desbureaux | 5f46e6e | 2019-11-29 09:19:40 +0100 | [diff] [blame] | 281 | accessModes: |
| 282 | - {{ .Values.persistence.accessMode }} |
| 283 | storageClassName: {{ include "common.storageClass" . }} |
BorislavG | 3dad2f4 | 2018-04-16 10:19:45 +0000 | [diff] [blame] | 284 | resources: |
| 285 | requests: |
| 286 | storage: {{ .Values.persistence.size }} |
BorislavG | 8b31f6d | 2018-05-02 14:06:08 +0000 | [diff] [blame] | 287 | {{ end }} |