change timezone
This commit is contained in:
24
helm/homarr/dev/templates/localtime-volume-patch.yaml
Normal file
24
helm/homarr/dev/templates/localtime-volume-patch.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
{{- 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 }}
|
||||
|
||||
Reference in New Issue
Block a user