spotahome / redis-operator

Redis Operator creates/configures/manages high availability redis with sentinel automatic failover atop Kubernetes.
Apache License 2.0
1.5k stars 356 forks source link

Password with `$` or any other special in it fails readiness #526

Closed samof76 closed 1 year ago

samof76 commented 1 year ago

Expected behaviour

What do you want to achieve? I would the setup as redis deployment using the redisfailover CR, with password that accepts special character.

Actual behaviour

What is happening? Are all the pieces created? Can you access to the service? The readiness for the redis pods fails. But sentinel are able to connect to redis without any issue.

Steps to reproduce the behaviour

Describe step by step what you've have done to get to this point Try to deploy the following the CR.

---
apiVersion: v1
kind: Namespace
metadata:
  name: ps
---
apiVersion: v1
kind: Secret
metadata:
  name: redis-auth
  namespace: ps
type: Opaque
stringData:
  password: u123886^UzA$$!

---
apiVersion: databases.spotahome.com/v1
kind: RedisFailover
metadata:
  name: redis-ports
  namespace: ps
spec:
  auth:
    secretPath: redis-auth
  redis:
    exporter:
      enabled: true
    port: 12345
    replicas: 3
  sentinel:
    exporter:
      enabled: true
    replicas: 3

Environment

How are the pieces configured?