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