From ddaa206a91094d76582526ecfa80424dfb7548b6 Mon Sep 17 00:00:00 2001 From: Jake Conkerton-Darby Date: Mon, 9 Sep 2024 16:13:33 +0100 Subject: [PATCH] CH-137 Add obsoleted label match expression to remove issues with breaking changes --- deployment-configuration/helm/templates/auto-database.yaml | 1 + deployment-configuration/helm/templates/auto-deployments.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/deployment-configuration/helm/templates/auto-database.yaml b/deployment-configuration/helm/templates/auto-database.yaml index 0658a47e..cd7f0bdd 100644 --- a/deployment-configuration/helm/templates/auto-database.yaml +++ b/deployment-configuration/helm/templates/auto-database.yaml @@ -53,6 +53,7 @@ spec: - key: usesvolume operator: In values: + - {{ .app.harness.database.name }} # Obsolete, kept for backwards compatability, to be removed at a later date - {{ .app.harness.database.name }}-{{ .root.Values.namespace }} topologyKey: "kubernetes.io/hostname" containers: diff --git a/deployment-configuration/helm/templates/auto-deployments.yaml b/deployment-configuration/helm/templates/auto-deployments.yaml index 2db3714d..66c34f55 100644 --- a/deployment-configuration/helm/templates/auto-deployments.yaml +++ b/deployment-configuration/helm/templates/auto-deployments.yaml @@ -44,6 +44,7 @@ spec: - key: usesvolume operator: In values: + - {{ .app.harness.deployment.volume.name }} # Obsolete, kept for backwards compatability, to be removed at a later date - {{ .app.harness.deployment.volume.name }}-{{ .root.Values.namespace }} topologyKey: "kubernetes.io/hostname" {{- end }}