diff options
author | Alexis de Talhouƫt <alexis.de_talhouet@bell.ca> | 2018-03-23 22:36:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-03-23 22:36:50 +0000 |
commit | e827ca05b6efa7cdcc60c4b3eba5ebfa9546bd08 (patch) | |
tree | dc0d7c8406f074d9e9d75ed5e843e12e7d55730f /kubernetes/sdnc | |
parent | 37764a610ae66b53ed6b40c9eb11f54187e5dde0 (diff) | |
parent | 96bebdcf842ef0e6c1c65713930331f0c72d1d55 (diff) |
Merge changes I6a379ec4,I982a75a9,Id8a84b79,I423294a5,Iefe3d89a
* changes:
SO endpoints and service update
SDNC parameterized persisted type and location
Portal selective readiness check
Message-router parameterization
AAI parameterization
Diffstat (limited to 'kubernetes/sdnc')
-rw-r--r-- | kubernetes/sdnc/templates/db-statefulset.yaml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/kubernetes/sdnc/templates/db-statefulset.yaml b/kubernetes/sdnc/templates/db-statefulset.yaml index d0f141f868..29d592a6a7 100644 --- a/kubernetes/sdnc/templates/db-statefulset.yaml +++ b/kubernetes/sdnc/templates/db-statefulset.yaml @@ -82,7 +82,9 @@ spec: volumeMounts: - name: sdnc-data mountPath: /var/lib/mysql +#{{ if not .Values.disableNfsProvisioner }} subPath: mysql +#{{ end }} - name: conf mountPath: /etc/mysql/conf.d containers: @@ -99,7 +101,9 @@ spec: volumeMounts: - mountPath: /var/lib/mysql name: sdnc-data +#{{ if not .Values.disableNfsProvisioner }} subPath: mysql +#{{ end }} - name: conf mountPath: /etc/mysql/conf.d ports: @@ -178,7 +182,9 @@ spec: volumeMounts: - name: sdnc-data mountPath: /var/lib/mysql +#{{ if not .Values.disableNfsProvisioner }} subPath: mysql +#{{ end }} - name: conf mountPath: /etc/mysql/conf.d resources: @@ -197,7 +203,7 @@ spec: #{{ if .Values.disableNfsProvisioner }} - name: sdnc-data hostPath: - path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdnc/data + path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/sdnc/data/mysql #{{ else }} volumeClaimTemplates: - metadata: @@ -211,3 +217,4 @@ spec: storage: 1Gi #{{ end }} #{{ end }} + |