Files
argocd/helm/homarr/dev/templates/localtime-volume-patch.yaml
2026-01-15 22:36:25 +01:00

25 lines
576 B
YAML

{{- 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 }}