Skip to content

Migrate dependent postgresql chart to support Kubernetes 1.16

The dependent postgresql chart (0.7.1) uses extensions/v1beta1. To enable Category:Auto DevOps to continue to work, we need to update this chart as well

Risks

See related issue #6 (closed)

See also upgrade issue for gitlab chart which might help provide some guidance gitlab#1536 (closed)

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 - gitlab-org/cluster-integration/auto-deploy-image!49 (merged)
  3. Write guide on how to backup then restore the database after upgrade of postgres database - See gitlab-org/cluster-integration/auto-deploy-image!49 (comment 294327430). MR up at gitlab-org/gitlab!26952 (merged)

Links

Followup

Edited by Thong Kuah