diff options
author | Mandeep Khinda <Mandeep.Khinda@amdocs.com> | 2018-05-15 19:51:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-05-15 19:51:10 +0000 |
commit | 792b18625344b5ee726fa2b2137924dbd52fda22 (patch) | |
tree | 5ec9c561ef952de968d0921ed44f31fecee10fc8 /kubernetes/sdnc/templates/statefulset.yaml | |
parent | 310f6aa9db9075c3999d6f421a9b0b94a918f93d (diff) | |
parent | cffec6dd4954cff326791a7a8220ebbb26c9be04 (diff) |
Merge "Add separate PV for each SDN-C MYSQL pod"
Diffstat (limited to 'kubernetes/sdnc/templates/statefulset.yaml')
-rw-r--r-- | kubernetes/sdnc/templates/statefulset.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kubernetes/sdnc/templates/statefulset.yaml b/kubernetes/sdnc/templates/statefulset.yaml index f648d07c1f..83b7a7ce36 100644 --- a/kubernetes/sdnc/templates/statefulset.yaml +++ b/kubernetes/sdnc/templates/statefulset.yaml @@ -111,7 +111,7 @@ spec: name: properties subPath: svclogic.properties - mountPath: {{ .Values.persistence.mdsalPath }} - name: {{ include "common.fullname" . }}-data + name: {{ include "common.fullname" . }}-mdsal - mountPath: /var/log/onap name: logs resources: @@ -162,17 +162,17 @@ spec: name: {{ include "common.fullname" . }}-properties defaultMode: 0644 {{ if not .Values.persistence.enabled }} - - name: {{ include "common.fullname" . }}-data + - name: {{ include "common.fullname" . }}-mdsal emptyDir: {} {{ else }} volumeClaimTemplates: - metadata: - name: {{ include "common.fullname" . }}-data + name: {{ include "common.fullname" . }}-mdsal labels: name: {{ include "common.fullname" . }} spec: accessModes: [ {{ .Values.persistence.accessMode }} ] - storageClassName: {{ include "common.fullname" . }}-data + storageClassName: {{ include "common.fullname" . }}-mdsal resources: requests: storage: {{ .Values.persistence.size }} |