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