add env
This commit is contained in:
@@ -36,6 +36,10 @@ spec:
|
|||||||
containerPort: {{ .Values.service.http.port }}
|
containerPort: {{ .Values.service.http.port }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
env:
|
env:
|
||||||
|
{{- range $k,$v := .Values.deployment.env }}
|
||||||
|
- name: {{ $k }}
|
||||||
|
value: {{ $v | quote }}
|
||||||
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: homepage-config
|
- name: homepage-config
|
||||||
subPath: bookmarks.yaml
|
subPath: bookmarks.yaml
|
||||||
|
@@ -1,10 +1,11 @@
|
|||||||
deployment:
|
deployment:
|
||||||
|
replicas: 1
|
||||||
|
strategy: Recreate
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/benphelps/homepage
|
repository: ghcr.io/benphelps/homepage
|
||||||
tag: v0.8.7
|
tag: v0.8.7
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
replicas: 1
|
env:
|
||||||
strategy: Recreate
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 50Mi
|
memory: 50Mi
|
||||||
|
Reference in New Issue
Block a user