aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates/db-deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/sdnc/templates/db-deployment.yaml')
-rw-r--r--kubernetes/sdnc/templates/db-deployment.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/kubernetes/sdnc/templates/db-deployment.yaml b/kubernetes/sdnc/templates/db-deployment.yaml
index 837079819f..7bc8a75214 100644
--- a/kubernetes/sdnc/templates/db-deployment.yaml
+++ b/kubernetes/sdnc/templates/db-deployment.yaml
@@ -23,6 +23,9 @@ spec:
imagePullPolicy: {{ .Values.pullPolicy }}
name: sdnc-db-container
volumeMounts:
+ - mountPath: /etc/localtime
+ name: localtime
+ readOnly: true
- mountPath: /var/lib/mysql
name: sdnc-data
ports:
@@ -33,6 +36,9 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: sdnc-data
persistentVolumeClaim:
claimName: sdnc-db