Sets password in REDIS app.
This commit is contained in:
@@ -21,4 +21,13 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: "{{ .apps.redis.timezone }}"
|
value: "{{ .apps.redis.timezone }}"
|
||||||
|
- name: REDIS_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: redis-secrets
|
||||||
|
key: apps.redis.password
|
||||||
|
command:
|
||||||
|
- redis-server
|
||||||
|
- --requirepass
|
||||||
|
- $(REDIS_PASSWORD)
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
|
Reference in New Issue
Block a user