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/data-router-deployment.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'kubernetes/aai/templates/data-router-deployment.yaml') diff --git a/kubernetes/aai/templates/data-router-deployment.yaml b/kubernetes/aai/templates/data-router-deployment.yaml index f823061c33..4473dcf8fe 100644 --- a/kubernetes/aai/templates/data-router-deployment.yaml +++ b/kubernetes/aai/templates/data-router-deployment.yaml @@ -33,6 +33,9 @@ spec: - name: JAVA_HOME value: usr/lib/jvm/java-8-openjdk-amd64 volumeMounts: + - mountPath: /etc/localtime + name: localtime + readOnly: true - mountPath: /opt/app/data-router/config/ name: data-router-config - mountPath: /opt/app/data-router/dynamic/ @@ -47,6 +50,9 @@ spec: initialDelaySeconds: 5 periodSeconds: 10 volumes: + - name: localtime + hostPath: + path: /etc/localtime - name: data-router-config hostPath: path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/data-router/appconfig/" -- cgit 1.2.3-korg