From f4dfe70d88ae029488342a8c51aa5296bf552c6e Mon Sep 17 00:00:00 2001 From: Melvin GABALI Date: Thu, 15 Jan 2026 22:38:03 +0100 Subject: [PATCH] extraVolumes --- .../dev/templates/localtime-volume-patch.yaml | 24 ------------------- helm/homarr/dev/values.yaml | 5 ++-- 2 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 helm/homarr/dev/templates/localtime-volume-patch.yaml diff --git a/helm/homarr/dev/templates/localtime-volume-patch.yaml b/helm/homarr/dev/templates/localtime-volume-patch.yaml deleted file mode 100644 index 491b1a4..0000000 --- a/helm/homarr/dev/templates/localtime-volume-patch.yaml +++ /dev/null @@ -1,24 +0,0 @@ -{{- if .Values.homarr.mountLocaltime }} -# Patch pour monter /etc/localtime depuis le nœud -# Ce template sera fusionné avec le Deployment créé par le chart Homarr -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ .Release.Name }} - namespace: {{ .Release.Namespace }} -spec: - template: - spec: - containers: - - name: homarr - volumeMounts: - - name: localtime - mountPath: /etc/localtime - readOnly: true - volumes: - - name: localtime - hostPath: - path: /etc/localtime - type: File -{{- end }} - diff --git a/helm/homarr/dev/values.yaml b/helm/homarr/dev/values.yaml index 3dfcdd1..3b5d78b 100644 --- a/helm/homarr/dev/values.yaml +++ b/helm/homarr/dev/values.yaml @@ -38,14 +38,13 @@ homarr: volumeClaimName: "" # Monter /etc/localtime depuis le nœud pour synchroniser la timezone - mountLocaltime: true - # Volumes supplémentaires (si supporté par le chart) + # Volumes supplémentaires (si supporté par le chart Homarr) extraVolumes: - name: localtime hostPath: path: /etc/localtime type: File - # Montages de volumes supplémentaires (si supporté par le chart) + # Montages de volumes supplémentaires (si supporté par le chart Homarr) extraVolumeMounts: - name: localtime mountPath: /etc/localtime