From 17aa84806e72bdb54524f80702483975fcfd469d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= Date: Sat, 5 Oct 2024 06:13:59 -0700 Subject: [PATCH] Fix the labels indentation in the helm charts labels are in the metadata section instead of the root of the YAML. Moving them back to the expected place to avoid (non-blocking) errors when applying the helm chart. --- containers/proxy-helm/proxy-helm.changes.cbosdo.helm-fixes | 1 + containers/proxy-helm/templates/deployment.yaml | 4 ++-- containers/server-helm/server-helm.changes.cbosdo.helm-fixes | 1 + containers/server-helm/templates/deployment.yaml | 4 ++-- 4 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 containers/proxy-helm/proxy-helm.changes.cbosdo.helm-fixes create mode 100644 containers/server-helm/server-helm.changes.cbosdo.helm-fixes diff --git a/containers/proxy-helm/proxy-helm.changes.cbosdo.helm-fixes b/containers/proxy-helm/proxy-helm.changes.cbosdo.helm-fixes new file mode 100644 index 000000000000..0c4f4ff26ba6 --- /dev/null +++ b/containers/proxy-helm/proxy-helm.changes.cbosdo.helm-fixes @@ -0,0 +1 @@ +- Fix labels indentation (bsc#1231150) diff --git a/containers/proxy-helm/templates/deployment.yaml b/containers/proxy-helm/templates/deployment.yaml index c127f02c2035..70c89a233991 100644 --- a/containers/proxy-helm/templates/deployment.yaml +++ b/containers/proxy-helm/templates/deployment.yaml @@ -3,8 +3,8 @@ kind: Deployment metadata: name: uyuni-proxy namespace: "{{ .Release.Namespace }}" -labels: - app: uyuni-proxy + labels: + app: uyuni-proxy spec: replicas: 1 selector: diff --git a/containers/server-helm/server-helm.changes.cbosdo.helm-fixes b/containers/server-helm/server-helm.changes.cbosdo.helm-fixes new file mode 100644 index 000000000000..0c4f4ff26ba6 --- /dev/null +++ b/containers/server-helm/server-helm.changes.cbosdo.helm-fixes @@ -0,0 +1 @@ +- Fix labels indentation (bsc#1231150) diff --git a/containers/server-helm/templates/deployment.yaml b/containers/server-helm/templates/deployment.yaml index 4f1c65a56cda..592ed499ef7c 100644 --- a/containers/server-helm/templates/deployment.yaml +++ b/containers/server-helm/templates/deployment.yaml @@ -3,8 +3,8 @@ kind: Deployment metadata: name: uyuni namespace: "{{ .Release.Namespace }}" -labels: - app: uyuni + labels: + app: uyuni spec: replicas: 1 selector: