From 8b3bc5a611778dd0bcd5aee794f062f385774797 Mon Sep 17 00:00:00 2001 From: yuryn Date: Wed, 13 Sep 2017 19:21:03 +0300 Subject: Containers time zone sync Make sure time zones on the containers are in sync with the hosting machines Change-Id: Ie22608bda63cbcdf564f73adcdd3e829afad05ca Issue-ID: OOM-299 Signed-off-by: yuryn --- kubernetes/aai/templates/aai-resources-deployment.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'kubernetes/aai/templates/aai-resources-deployment.yaml') diff --git a/kubernetes/aai/templates/aai-resources-deployment.yaml b/kubernetes/aai/templates/aai-resources-deployment.yaml index 1aff10bb94..c61bc6f0a6 100644 --- a/kubernetes/aai/templates/aai-resources-deployment.yaml +++ b/kubernetes/aai/templates/aai-resources-deployment.yaml @@ -55,6 +55,9 @@ spec: - name: CHEF_GIT_URL value: http://gerrit.onap.org/r/aai volumeMounts: + - mountPath: /etc/localtime + name: localtime + readOnly: true - mountPath: /opt/aai/logroot/ name: aai-resources-logs - mountPath: /var/chef/aai-data/ @@ -69,6 +72,9 @@ spec: initialDelaySeconds: 5 periodSeconds: 10 volumes: + - name: localtime + hostPath: + path: /etc/localtime - name: aai-resources-logs hostPath: path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/aai-resources/logs/" -- cgit 1.2.3-korg