diff --git a/templates/core/core-dpl.yaml b/templates/core/core-dpl.yaml index 0b0397b865b58d3d7f78fc097955f07df8ac687f..9f63e40343ecb8f2181764c89ad4ee6b557d90ef 100644 --- a/templates/core/core-dpl.yaml +++ b/templates/core/core-dpl.yaml @@ -59,6 +59,8 @@ spec: ports: - containerPort: 8080 volumeMounts: + - name: etc-localtime + mountPath: /etc/localtime - name: config mountPath: /etc/core/app.conf subPath: app.conf @@ -80,6 +82,9 @@ spec: {{ toYaml .Values.core.resources | indent 10 }} {{- end }} volumes: + - name: etc-localtime + hostPath: + path: /etc/localtime - name: config configMap: name: {{ template "harbor.core" . }} diff --git a/templates/jobservice/jobservice-dpl.yaml b/templates/jobservice/jobservice-dpl.yaml index c18fb4e7d9c226a1d1802d16ffac1eba490176e4..fcf79610694dad01a4acee1f2476bbd1b9f1b660 100644 --- a/templates/jobservice/jobservice-dpl.yaml +++ b/templates/jobservice/jobservice-dpl.yaml @@ -69,7 +69,12 @@ spec: subPath: config.yml - name: data mountPath: /var/log/jobs + - name: etc-localtime + mountPath: /etc/localtime volumes: + - name: etc-localtime + hostPath: + path: /etc/localtime - name: jobservice-config configMap: name: "{{ template "harbor.jobservice" . }}"