X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fcaas-kubedns.git;a=blobdiff_plain;f=ansible%2Froles%2Fkubedns%2Ftemplates%2Fkubedns-deployment.yml;h=bd55989d21dbf4a4b9dc7f37cd6e9709b09b0910;hp=d60e692968c3fd03444ee14a9135d4ddc088a900;hb=d774a0607423f7e397f5114a7d45df30de51094b;hpb=a02598697ea8f65aa353ff1029aa5b6734c672b1 diff --git a/ansible/roles/kubedns/templates/kubedns-deployment.yml b/ansible/roles/kubedns/templates/kubedns-deployment.yml index d60e692..bd55989 100644 --- a/ansible/roles/kubedns/templates/kubedns-deployment.yml +++ b/ansible/roles/kubedns/templates/kubedns-deployment.yml @@ -42,6 +42,9 @@ spec: - key: "CriticalAddonsOnly" operator: "Exists" volumes: + - name: time-mount + hostPath: + path: /etc/localtime - name: secret hostPath: path: /etc/kubernetes/ssl @@ -106,6 +109,9 @@ spec: name: metrics protocol: TCP volumeMounts: + - name: time-mount + mountPath: /etc/localtime + readOnly: true - name: secret mountPath: /etc/kubernetes/ssl readOnly: true @@ -152,6 +158,9 @@ spec: cpu: 150m memory: 20Mi volumeMounts: + - name: time-mount + mountPath: /etc/localtime + readOnly: true - name: secret mountPath: /etc/kubernetes/ssl readOnly: true