From c2989dcbc6bb9c66a762b52d411e872e8a83a61c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Gr=C3=A4ff?= Date: Wed, 24 Nov 2021 15:27:58 +0100 Subject: [PATCH] Revert "Fix helm chart templating for targetSelector" --- charts/container-deployer/templates/_helpers.tpl | 2 +- charts/helm-deployer/templates/_helpers.tpl | 2 +- charts/manifest-deployer/templates/_helpers.tpl | 2 +- charts/mock-deployer/templates/_helpers.tpl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/container-deployer/templates/_helpers.tpl b/charts/container-deployer/templates/_helpers.tpl index 1992f2c04..eb5ec084e 100644 --- a/charts/container-deployer/templates/_helpers.tpl +++ b/charts/container-deployer/templates/_helpers.tpl @@ -91,7 +91,7 @@ oci: {{- end }} {{- end }} {{- end }} -{{- with .Values.deployer.targetSelector }} +{{- with .Values.targetSelector }} targetSelector: {{ toYaml . }} {{- end }} diff --git a/charts/helm-deployer/templates/_helpers.tpl b/charts/helm-deployer/templates/_helpers.tpl index 0a1e3ddf3..9c6b37969 100644 --- a/charts/helm-deployer/templates/_helpers.tpl +++ b/charts/helm-deployer/templates/_helpers.tpl @@ -83,7 +83,7 @@ oci: {{- end }} {{- end }} {{- end }} -{{- with .Values.deployer.targetSelector }} +{{- with .Values.targetSelector }} targetSelector: {{ toYaml . }} {{- end }} diff --git a/charts/manifest-deployer/templates/_helpers.tpl b/charts/manifest-deployer/templates/_helpers.tpl index 1f160bb10..a7ad45809 100644 --- a/charts/manifest-deployer/templates/_helpers.tpl +++ b/charts/manifest-deployer/templates/_helpers.tpl @@ -72,7 +72,7 @@ kind: Configuration identity: {{ .Values.deployer.identity }} {{- end }} namespace: {{ .Values.deployer.namespace | default .Release.Namespace }} -{{- with .Values.deployer.targetSelector }} +{{- with .Values.targetSelector }} targetSelector: {{ toYaml . }} {{- end }} diff --git a/charts/mock-deployer/templates/_helpers.tpl b/charts/mock-deployer/templates/_helpers.tpl index 8e448a755..e3fa7e64f 100644 --- a/charts/mock-deployer/templates/_helpers.tpl +++ b/charts/mock-deployer/templates/_helpers.tpl @@ -71,7 +71,7 @@ kind: Configuration {{- if .Values.deployer.identity }} identity: {{ .Values.deployer.identity }} {{- end }} -{{- with .Values.deployer.targetSelector }} +{{- with .Values.targetSelector }} targetSelector: {{ toYaml . }} {{- end }}