Skip to content

Changing the REDIS_PASSWORD leads to an error while deploying #51

@scali

Description

@scali

While trying to deploy a fresh install of operator v2.1.0, I got issue trying to change the Redis Password

I try to change the password from file overlays/1-namespaced/patches/redis.secret.yaml

Here are the steps to reproduce :

  1. Generate a new password :
# Generate a new password
$ echo MyPasswordChanged123 | base64
$ TXlQYXNzd29yZENoYW5nZWQxMjMK
  1. Update overlays/1-namespaced/patches/redis.secret.yaml :
apiVersion: v1
kind: Secret
metadata:
  name: redis
type: Opaque
data:
-  # IMPORTANT: replace this password!
-  #redis-password: bXlTZWN1cmVQYXNzd29yZDEy
+  redis-password: TXlQYXNzd29yZENoYW5nZWQxMjMK
  1. Deploy using as the documentation says :
kustomize build .  | kubectl apply -f - --server-side

This leads to an error on Redis-Sentinel pod while deploying the operator on kubernetes :

Startup probe failed: NOAUTH Authentication required. AUTH failed: WRONGPASS invalid username-password pair or user is disabled.

Note

If i don't change the file overlays/1-namespaced/patches/redis.secret.yaml the deployment is working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions