mirror of
https://github.com/henrygd/beszel.git
synced 2026-10-22 06:12:33 +00:00
feat(helm) add envFrom and env (#2626)
This commit is contained in:
@@ -50,6 +50,15 @@ spec:
|
||||
- name: http
|
||||
containerPort: {{ .Values.service.port }}
|
||||
protocol: TCP
|
||||
envFrom:
|
||||
{{- with .Values.envFrom }}
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
env:
|
||||
{{- range $key, $value := .Values.env }}
|
||||
- name: {{ $key }}
|
||||
value: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.livenessProbe }}
|
||||
livenessProbe:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
|
||||
@@ -116,6 +116,10 @@ autoscaling:
|
||||
|
||||
# volumeMounts: {}
|
||||
|
||||
env: {}
|
||||
|
||||
envFrom: []
|
||||
|
||||
# -- `spec.PersitentVolumeClaim` configuration
|
||||
persistentVolumeClaim:
|
||||
# -- set to true to use pvc
|
||||
|
||||
Reference in New Issue
Block a user