X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ansible%2Froles%2Fkube_master%2Ftemplates%2Fcm.yml;h=27d6f264a32cadfdf02a74aa9bcf34b139cb631c;hb=ed93069afc19b80dc0cfc8c518a81b022fde71e5;hp=ddd616ad215b3c422b72e4a4dfe1a743dc3f14ae;hpb=235d57c7d1f3690ee586d678c82d4cc4b2094418;p=ta%2Fcaas-kubernetes.git diff --git a/ansible/roles/kube_master/templates/cm.yml b/ansible/roles/kube_master/templates/cm.yml index ddd616a..27d6f26 100644 --- a/ansible/roles/kube_master/templates/cm.yml +++ b/ansible/roles/kube_master/templates/cm.yml @@ -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