Fetch postgresql charts from bitnami and stable-archive repository
Related issue: gitlab-org/gitlab#263778 (closed)
Stable repositories are going away Nov 13, 2020. When this happens auto devops will fail.
To prevent this we vendor the only stable chart we are using, namely stable/postgresql
.
Template tests
master | branch |
---|---|
master.txt | branch.txt |
Pods for 8.2.1 comes up
Manual QA:
Test Cases:
AUTO_DEVOPS_POSTGRES_CHANNEL=1
)
Leagcy In-Cluster PostgreSQL (Conditions:
- Kubernetes 1.15 (EKS)
- Helm 2
Steps:
- Create a new deployment with stable chart i.e. with
master
branch. - Switch to auto-deploy-image v1.0.6 i.e. with
vendor_old_stable_helm_repo_charts
branch. - Re-deploy should succeed with stable-archive chart
Result: PASS
New In-Cluster PostgreSQL
Conditions:
- Kubernetes 1.16 (GKE)
- Helm 2
Steps:
- Create a new deployment with stable chart i.e. with
master
branch. - Switch to auto-deploy-image v1.0.6 i.e. with
vendor_old_stable_helm_repo_charts
branch. - Re-deploy should succeed with bitnami chart
Result: PASS
Close #62 (closed)
Edited by Shinya Maeda