Set time zone
[ta/caas-kubernetes.git] / ansible / roles / kube_master / templates / cm.yml
index ddd616a..27d6f26 100644 (file)
@@ -48,6 +48,9 @@ spec:
         initialDelaySeconds: 15
         timeoutSeconds: 1
       volumeMounts:
+        - name: time-mount
+          mountPath: /etc/localtime
+          readOnly: true
         - name: secret-kubernetes
           mountPath: /etc/kubernetes/ssl
           readOnly: true
@@ -61,6 +64,9 @@ spec:
           mountPath: /etc/kubernetes/kubeconfig
           readOnly: true
   volumes:
+    - name: time-mount
+      hostPath:
+        path: /etc/localtime
     - name: secret-kubernetes
       hostPath:
         path: /etc/kubernetes/ssl