Redis password randomized with password set
Summary
Version of the helm chart
Version of the images
- Init container image: ...
- Container image: ...
Steps to reproduce
- Deploy a fresh install with a redis password configured (mu plugins on or off)
- Review K8s config files after deployment
- Observe
wordpress-env-redis
Secret is set correctly in K8s config files - Observe
WP_REDIS_PASSWORD
inwordpress-env-ansible-secrets
not set correctly
- Observe
Expected behaviour
Secrets should match so the WP PhpRedis plugin is allowed to connect to the Redis cache server
Actual behaviour
Secrets do not match. The ansible secret for WP_REDIS_PASSWORD
is randomized unexpectedly.
Relevant logs and/or screen shots
During release 0.4.0
the YAML config change in values-local.yaml
wasn't carried over into values.yaml
. The following change is necessary to allow for Redis to function on a fresh deploy:
- WP_REDIS_PASSWORD: {{ .Values.redis.password | default ( randAlphaNum 15 ) }}
+ WP_REDIS_PASSWORD: {{ .Values.redis.auth.password | default ( randAlphaNum 15 ) }}