Check in
This commit is contained in:
parent
7b0ec0c33f
commit
3dec18d924
6 changed files with 14 additions and 35 deletions
|
@ -38,21 +38,6 @@ spec:
|
|||
env:
|
||||
- name: SERVER_ROLE
|
||||
value: "worker"
|
||||
{{- if .Values.redisURL }}
|
||||
- name: REDIS_URL
|
||||
value: {{ .Values.redisURL }}
|
||||
{{- end }}
|
||||
{{- if .Values.redis.enabled }}
|
||||
- name: REDIS_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
key: redis-password
|
||||
name: {{ include "django.fullname" . }}-redis
|
||||
- name: REDIS_HOST
|
||||
value: {{ template "django.redis.host" . }}
|
||||
- name: REDIS_PORT
|
||||
value: {{ template "django.redis.port" . }}
|
||||
{{- end }}
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: {{ include "django.fullname" . }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue