From 3fbcebf7fc9ab45ad75096e4574a507f0b7a1408 Mon Sep 17 00:00:00 2001 From: Victor Lacasse-Beaudoin Date: Thu, 20 Feb 2025 17:12:20 -0500 Subject: [PATCH] kubernetes: clarifier volume config et sync localtime --- kubernetes/deployment.yaml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) 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