Merge "Containers time zone sync"
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>
Thu, 14 Sep 2017 18:15:24 +0000 (18:15 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 14 Sep 2017 18:15:24 +0000 (18:15 +0000)
1  2 
kubernetes/policy/templates/dep-maria.yaml
kubernetes/policy/templates/dep-nexus.yaml

@@@ -40,8 -40,20 +40,16 @@@ spec
            ]'
      spec:
        containers:
 -      - command:
 -        - /bin/bash
 -        - -c
 -        - bash -c "/opt/nexus/nexus-2.14.2-01/bin/nexus start && sleep 1000d"
 -        image: "{{ .Values.image.policyNexus }}:{{ .Values.image.policyNexusVersion }}"
 +      - image: "{{ .Values.image.policyNexus }}:{{ .Values.image.policyNexusVersion }}"
          imagePullPolicy: {{ .Values.pullPolicy }}
          name: nexus
+         volumeMounts:
+         - name: localtime
+           mountPath: /etc/localtime
+           readOnly: true
+       volumes:
+       - name: localtime
+         hostPath:
+           path: /etc/localtime
        imagePullSecrets:
        - name: "{{ .Values.nsPrefix }}-docker-registry-key"