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