diff options
author | Mandeep Khinda <Mandeep.Khinda@amdocs.com> | 2017-09-14 18:15:24 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-14 18:15:24 +0000 |
commit | 0fe0d89166b7f10f16fa698c2d29a3752a803593 (patch) | |
tree | a329214729376992c13a2dc6c1a2c6eb6961b8d7 /kubernetes/sdnc/templates | |
parent | 20025780f8ed5f6e34043c8419a9f551438b5a0e (diff) | |
parent | 8b3bc5a611778dd0bcd5aee794f062f385774797 (diff) |
Merge "Containers time zone sync"
Diffstat (limited to 'kubernetes/sdnc/templates')
-rw-r--r-- | kubernetes/sdnc/templates/db-deployment.yaml | 6 | ||||
-rw-r--r-- | kubernetes/sdnc/templates/dgbuilder-deployment.yaml | 8 | ||||
-rw-r--r-- | kubernetes/sdnc/templates/sdnc-deployment.yaml | 6 | ||||
-rw-r--r-- | kubernetes/sdnc/templates/web-deployment.yaml | 8 |
4 files changed, 28 insertions, 0 deletions
diff --git a/kubernetes/sdnc/templates/db-deployment.yaml b/kubernetes/sdnc/templates/db-deployment.yaml index 837079819f..7bc8a75214 100644 --- a/kubernetes/sdnc/templates/db-deployment.yaml +++ b/kubernetes/sdnc/templates/db-deployment.yaml @@ -23,6 +23,9 @@ spec: imagePullPolicy: {{ .Values.pullPolicy }} name: sdnc-db-container volumeMounts: + - mountPath: /etc/localtime + name: localtime + readOnly: true - mountPath: /var/lib/mysql name: sdnc-data ports: @@ -33,6 +36,9 @@ spec: initialDelaySeconds: 5 periodSeconds: 10 volumes: + - name: localtime + hostPath: + path: /etc/localtime - name: sdnc-data persistentVolumeClaim: claimName: sdnc-db diff --git a/kubernetes/sdnc/templates/dgbuilder-deployment.yaml b/kubernetes/sdnc/templates/dgbuilder-deployment.yaml index 6d911c3381..ba2008ab4a 100644 --- a/kubernetes/sdnc/templates/dgbuilder-deployment.yaml +++ b/kubernetes/sdnc/templates/dgbuilder-deployment.yaml @@ -61,6 +61,14 @@ spec: port: 3100 initialDelaySeconds: 5 periodSeconds: 10 + volumeMounts: + - name: localtime + mountPath: /etc/localtime + readOnly: true restartPolicy: Always + volumes: + - name: localtime + hostPath: + path: /etc/localtime imagePullSecrets: - name: "{{ .Values.nsPrefix }}-docker-registry-key" diff --git a/kubernetes/sdnc/templates/sdnc-deployment.yaml b/kubernetes/sdnc/templates/sdnc-deployment.yaml index f4947924ba..4b123906af 100644 --- a/kubernetes/sdnc/templates/sdnc-deployment.yaml +++ b/kubernetes/sdnc/templates/sdnc-deployment.yaml @@ -51,6 +51,9 @@ spec: imagePullPolicy: {{ .Values.pullPolicy }} name: sdnc-controller-container volumeMounts: + - mountPath: /etc/localtime + name: localtime + readOnly: true - mountPath: /opt/openecomp/sdnc/data/properties/aaiclient.properties name: sdnc-aaiclient-properties - mountPath: /opt/openecomp/sdnc/data/properties/admportal.json @@ -63,6 +66,9 @@ spec: initialDelaySeconds: 5 periodSeconds: 10 volumes: + - name: localtime + hostPath: + path: /etc/localtime - name: sdnc-aaiclient-properties hostPath: path: /dockerdata-nfs/{{ .Values.nsPrefix }}/sdnc/conf/aaiclient.properties diff --git a/kubernetes/sdnc/templates/web-deployment.yaml b/kubernetes/sdnc/templates/web-deployment.yaml index a141e765dc..4f7886dc9c 100644 --- a/kubernetes/sdnc/templates/web-deployment.yaml +++ b/kubernetes/sdnc/templates/web-deployment.yaml @@ -56,11 +56,19 @@ spec: name: sdnc-portal-container ports: - containerPort: 8843 + volumeMounts: + - name: localtime + mountPath: /etc/localtime + readOnly: true readinessProbe: tcpSocket: port: 8843 initialDelaySeconds: 5 periodSeconds: 10 restartPolicy: Always + volumes: + - name: localtime + hostPath: + path: /etc/localtime imagePullSecrets: - name: "{{ .Values.nsPrefix }}-docker-registry-key" |