Avoid fixed namespace in Sentinel setup.

This commit is contained in:
larsskj 2022-01-24 22:23:00 +01:00
parent 0920c549b2
commit e444489e9b

View File

@ -20,7 +20,7 @@ spec:
args: args:
- | - |
REDIS_PASSWORD=a-very-complex-password-here REDIS_PASSWORD=a-very-complex-password-here
nodes=redis-0.redis.redis.svc.cluster.local,redis-1.redis.redis.svc.cluster.local,redis-2.redis.redis.svc.cluster.local nodes=redis-0.redis,redis-1.redis,redis-2.redis
for i in ${nodes//,/ } for i in ${nodes//,/ }
do do