diff --git a/kubernetes/deployment.yaml b/kubernetes/deployment.yaml index aaa0370..614d796 100644 --- a/kubernetes/deployment.yaml +++ b/kubernetes/deployment.yaml @@ -23,9 +23,23 @@ spec: - containerPort: 8080 volumeMounts: - name: config-secret - mountPath: '/etc/agecemorg/config.yaml' + mountPath: '/etc/agecemorg/' + readOnly: true + - name: localtime + mountPath: /etc/localtime readOnly: true volumes: - name: config-secret secret: - secretName: agecemorg-config + secretName: agecemorg-config-secret + items: + - key: config.yaml + path: config.yaml + #- key: cert.pem + # path: cert.pem + #- key: key.pem + # path: key.pem + - name: localtime + hostPath: + path: /etc/localtime + type: File