aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates/statefulset.yaml
diff options
context:
space:
mode:
authorMohammadreza Pasandideh <mohammadreza.pasandideh@amdocs.com>2018-05-08 17:42:11 -0400
committerMohammadreza Pasandideh <mohammadreza.pasandideh@amdocs.com>2018-05-08 17:42:33 -0400
commitcffec6dd4954cff326791a7a8220ebbb26c9be04 (patch)
tree76f34055ac1df34f23e30d1af090eafe0f27e682 /kubernetes/sdnc/templates/statefulset.yaml
parentdd56858b505f0a8d35168ed423f7533fbfc6597d (diff)
Add separate PV for each SDN-C MYSQL pod
Change-Id: I5238ee63c2e7adadaaf9a25cf2c72dab03ed1af8 Signed-off-by: Mohammadreza Pasandideh <mohammadreza.pasandideh@amdocs.com> Issue-ID: SDNC-299
Diffstat (limited to 'kubernetes/sdnc/templates/statefulset.yaml')
-rw-r--r--kubernetes/sdnc/templates/statefulset.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/kubernetes/sdnc/templates/statefulset.yaml b/kubernetes/sdnc/templates/statefulset.yaml
index c8565f5e89..05a5e7e965 100644
--- a/kubernetes/sdnc/templates/statefulset.yaml
+++ b/kubernetes/sdnc/templates/statefulset.yaml
@@ -103,7 +103,7 @@ spec:
name: onap-sdnc-svclogic-config
subPath: svclogic.properties
- mountPath: {{ .Values.persistence.mdsalPath }}
- name: {{ include "common.fullname" . }}-data
+ name: {{ include "common.fullname" . }}-mdsal
- mountPath: /var/log/onap
name: logs
resources:
@@ -188,17 +188,17 @@ spec:
path: svclogic.properties
mode: 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 }}