fix helm chart for env vars
This commit is contained in:
parent
e1b4293d5e
commit
47be706ece
@ -38,9 +38,12 @@ spec:
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
env:
|
||||
- name: PYTHONUNBUFFERED
|
||||
value: "1"
|
||||
{{- range $key, $value := .Values.env }}
|
||||
- name: {{ $key }}
|
||||
value: "{{ $value }}"
|
||||
{{- end }}
|
||||
|
||||
{{- range $key, $value := .Values.secrets }}
|
||||
- name: {{ $key }}
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
@ -8,7 +8,7 @@ image:
|
||||
repository: ldooks/dragon-bot
|
||||
pullPolicy: IfNotPresent
|
||||
# Overrides the image tag whose default is the chart appVersion.
|
||||
tag: "158"
|
||||
tag: "159"
|
||||
|
||||
imagePullSecrets: []
|
||||
nameOverride: ""
|
||||
@ -76,8 +76,11 @@ volumes:
|
||||
mountPath: /tmp/dale
|
||||
|
||||
env:
|
||||
DRAGON_ENV: prod
|
||||
PYTHONUNBUFFERED: 1
|
||||
|
||||
secrets:
|
||||
token: discord_token
|
||||
ffxiv_token: ffxiv_token
|
||||
gitlab_token: gitlab_token
|
||||
wolfram_token: wolfram_token
|
||||
DRAGON_ENV: prod
|
||||
|
Loading…
x
Reference in New Issue
Block a user