Support Google Cloud MemoryStore for Redis
Summary
Google Cloud has a hosted Redis offering that takes the heavy lifting out of running a production grade Redis installation.
The following two patches are necessary in order for GitLab to properly work with the offering: https://gitlab.com/charts/gitlab/merge_requests/665 https://gitlab.com/charts/gitlab/merge_requests/666
Steps to reproduce
Try to install the chart and point it at an existing Memorystore for Redis instance.
Configuration used
global:
redis:
password: {}
host: ${REDIS_PRIVATE_IP}
redis:
enabled: false
Current behavior
The installation succeeds but Pods go into crashloop backoff due to not being able to connect with Redis.
Expected behavior
The GitLab install works as expected and the Web UI is accessible.
Versions
- Chart: master
- Platform:
- Cloud: GKE
- Kubernetes: (
kubectl version
)- Client: v1.13.3
- Server: v1.11.6-gke.2
- Helm: (
helm version
)- Client: v2.11.0
- Server: v2.12.3