Add environment variables support to deployment template
All checks were successful
Helm Chart Build and Publish / build-and-publish (push) Successful in 10s

This commit is contained in:
Ash Leece 2024-12-20 11:47:42 +00:00
parent 4167c3a3db
commit 467e8e9556
2 changed files with 5 additions and 0 deletions

View File

@ -47,6 +47,7 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env: {{ toYaml .Values.env | nindent 12 }}
ports:
- name: http
containerPort: {{ .Values.service.port }}

View File

@ -16,6 +16,10 @@ imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
# env:
# - name: VIKUNJA_SERVICE_ENABLEREGISTRATION
# value: false
persistence:
enabled: true
size: 5Gi