This project is archived. Its data is read-only. This project is read-only.
Migrate dependent postgresql chart to support Kubernetes 1.16
The dependent postgresql chart ([0.7.1](https://github.com/helm/charts/tree/b90ad657e1a226eb52c3eb6a2a95ba3d6d494f58/stable/postgresql)) uses `extensions/v1beta1`. To enable ~"Category:Auto DevOps" to continue to work, we need to update this chart as well ## Risks See related issue https://gitlab.com/gitlab-org/charts/auto-deploy-app/issues/6 See also upgrade issue for gitlab chart which might help provide some guidance https://gitlab.com/gitlab-org/charts/gitlab/issues/1536 ## Further details postgresql 0.7.1 templates ``` $ grep apiVersion templates/* templates/deployment.yaml:apiVersion: extensions/v1beta1 templates/pvc.yaml:apiVersion: v1 templates/secrets.yaml:apiVersion: v1 templates/svc.yaml:apiVersion: v1 ``` ## Proposal 1. ~~Install `postgresql` chart 0.7.1 directly from `auto-deploy-image`~~ 2. Add option in `auto-deploy-image` for latest `postgresql` chart 7.7.3 (or 8.2.1). This disables the dependent chart which uses 0.7.1 - https://gitlab.com/gitlab-org/cluster-integration/auto-deploy-image/-/merge_requests/49 3. Write guide on how to backup then restore the database after upgrade of postgres database - See https://gitlab.com/gitlab-org/cluster-integration/auto-deploy-image/-/merge_requests/49#note_294327430. MR up at https://gitlab.com/gitlab-org/gitlab/-/merge_requests/26952 ## Links - https://gitlab.com/gitlab-org/charts/gitlab/merge_requests/955/diffs - https://gitlab.com/gitlab-org/charts/gitlab/issues/928 - https://gitlab.com/gitlab-org/charts/gitlab/issues/1536#note_231499121 - https://github.com/helm/charts/blob/b90ad657e1a226eb52c3eb6a2a95ba3d6d494f58/stable/postgresql/values.yaml is the SHA for 0.7.1 ## Followup - [Print in `NOTES.txt` stating `postgresql` chart 0.7.1 is deprecated](https://gitlab.com/gitlab-org/charts/auto-deploy-app/-/issues/54) - [Auto DevOps: Default to version 2 for provisioned Postgres ](https://gitlab.com/gitlab-org/gitlab/-/issues/210499)
issue