X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fpolicy%2Ftemplates%2Fdep-maria.yaml;h=57e0eb20c00e200fb3b30f3ce90fe9d18acbe4fa;hb=8b3bc5a611778dd0bcd5aee794f062f385774797;hp=30d0db3af53b1c4e1398f5f546cf51ca032e3cf4;hpb=b2243d375665d38db86fd2888ce64acb01b73567;p=oom.git diff --git a/kubernetes/policy/templates/dep-maria.yaml b/kubernetes/policy/templates/dep-maria.yaml index 30d0db3af5..57e0eb20c0 100644 --- a/kubernetes/policy/templates/dep-maria.yaml +++ b/kubernetes/policy/templates/dep-maria.yaml @@ -25,6 +25,9 @@ spec: ports: - containerPort: 3306 volumeMounts: + - mountPath: /etc/localtime + name: localtime + readOnly: true - mountPath: /var/lib/mysql name: policy-mariadb-data readinessProbe: @@ -33,6 +36,9 @@ spec: initialDelaySeconds: 5 periodSeconds: 10 volumes: + - name: localtime + hostPath: + path: /etc/localtime - name: policy-mariadb-data persistentVolumeClaim: claimName: policy-db