From ddc6763fc279823f0c332788ea9586845f8dbd5e Mon Sep 17 00:00:00 2001 From: Stepan Stipl Date: Fri, 12 Oct 2018 14:01:43 +0100 Subject: [PATCH 1/2] Add force_udpate to couchdb Helm release --- gcp/modules/couchdb/main.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcp/modules/couchdb/main.tf b/gcp/modules/couchdb/main.tf index 6518637d..ee9407f1 100644 --- a/gcp/modules/couchdb/main.tf +++ b/gcp/modules/couchdb/main.tf @@ -47,7 +47,8 @@ module "couchdb" { release_values = "" release_values_rendered = "${data.template_file.couchdb_values.rendered}" - chart_name = "${var.charts_dir}/couchdb" + chart_name = "${var.charts_dir}/couchdb" + force_update = true } resource "null_resource" "couchdb_finish_cluster" { From 28efcc1353c9fdb51c2acff63ada01d54e30ba3e Mon Sep 17 00:00:00 2001 From: Stepan Stipl Date: Fri, 12 Oct 2018 14:02:18 +0100 Subject: [PATCH 2/2] Remove chart version from CouchDB statefulSet - this prevents any ss updates --- shared/charts/couchdb/templates/statefulset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/charts/couchdb/templates/statefulset.yaml b/shared/charts/couchdb/templates/statefulset.yaml index 6318a7e2..92f404bb 100644 --- a/shared/charts/couchdb/templates/statefulset.yaml +++ b/shared/charts/couchdb/templates/statefulset.yaml @@ -4,7 +4,7 @@ metadata: name: {{ template "couchdb.fullname" . }} labels: app: {{ template "couchdb.name" . }} - chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} + chart: {{ .Chart.Name }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} spec: