Skip to content

Commit

Permalink
Merge pull request #267 from thehejik/main
Browse files Browse the repository at this point in the history
Introduce extraEnv for server deployment
  • Loading branch information
andreas-kupries authored Sep 2, 2022
2 parents 13ccc0b + b7336e2 commit 8833f53
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chart/epinio/templates/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,9 @@ spec:
- name: INGRESS_CLASS_NAME
value: "{{ .Values.ingress.ingressClassName }}"
{{- end }}
{{- if .Values.extraEnv }}
{{- toYaml .Values.extraEnv | nindent 12 -}}
{{- end }}
image: "{{ default .Values.image.epinio.registry (include "registry-url" .) }}{{ .Values.image.epinio.repository }}:{{ default .Chart.AppVersion .Values.image.epinio.tag }}"
livenessProbe:
httpGet:
Expand Down
4 changes: 4 additions & 0 deletions chart/epinio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ api:
role: user
workspaces:
- workspace
# Extra environment variables passed to the epinio-server pod.
# extraEnv:
# - name: MY_ENV_VAR
# value: "1.0"
# Minio subchart values
minio:
enabled: true
Expand Down

0 comments on commit 8833f53

Please sign in to comment.