Allow old 0.7.1 postgresql to exist alongside new 8.2.1 postgresql chart
The following discussion from !49 (merged) should be addressed:
-
@tkuah started a discussion: (+1 comment) Did we test having both Databases live at the same time (old and new)?
We might want to test this out. I was afraid the two charts will create resources that overlap but it seems like the old chart release uses
postgres
and the new chart release usespostgresql
tkgl:gitlab tkuah$ kc get pod -n minimal-ruby-app-4349298-production NAME READY STATUS RESTARTS AGE production-5bcb4b496c-cxjbt 1/1 Running 0 14h production-db-initialize-clhjs 0/1 Completed 0 8d production-postgresql-0 1/1 Running 0 14h tkgl:gitlab tkuah$ kc get statefulset -n minimal-ruby-app-4349298-production NAME READY AGE production-postgresql 1/1 14h tkgl:gitlab tkuah$ kc get deployment -n minimal-ruby-app-4349298-production NAME READY UP-TO-DATE AVAILABLE AGE production 1/1 1 1 8d tkgl:gitlab tkuah$ kc get service -n minimal-ruby-app-4349298-production NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE production-auto-deploy ClusterIP 10.30.13.90 <none> 5000/TCP 8d production-postgresql ClusterIP 10.30.8.236 <none> 5432/TCP 14h production-postgresql-headless ClusterIP None <none> 5432/TCP 14h tkgl:gitlab tkuah$ kc get ingress -n minimal-ruby-app-4349298-production NAME HOSTS ADDRESS PORTS AGE production-auto-deploy hello-staging-minimal-ruby-app.34.73.120.169.nip.io,le-4349298.34.73.120.169.nip.io 35.190.132.10 80, 443 8d tkgl:gitlab tkuah$ kc get configmap -n minimal-ruby-app-4349298-production NAME DATA AGE production-postgresql.v1 1 14h production-postgresql.v2 1 14h production.v1 1 8d production.v10 1 8d production.v11 1 8d production.v12 1 8d production.v13 1 7d23h production.v14 1 7d22h production.v15 1 15h production.v16 1 15h production.v17 1 14h production.v18 1 14h production.v2 1 8d production.v3 1 8d production.v4 1 8d production.v5 1 8d production.v6 1 8d production.v7 1 8d production.v8 1 8d production.v9 1 8d tkgl:gitlab tkuah$ kc get secret -n minimal-ruby-app-4349298-production NAME TYPE DATA AGE default-token-cbmrb kubernetes.io/service-account-token 3 8d minimal-ruby-app-4349298-production-service-account-token-krndp kubernetes.io/service-account-token 3 8d minimal-ruby-app-4349298-production-token kubernetes.io/service-account-token 3 8d production-auto-deploy-tls kubernetes.io/tls 3 8d production-postgresql Opaque 1 14h production-secret Opaque 3 14h tkgl:gitlab tkuah$ kc get sa -n minimal-ruby-app-4349298-production NAME SECRETS AGE default 1 8d minimal-ruby-app-4349298-production-service-account 1 8d