From fbed434a092f8145e2f76dbbc40aac5004cae460 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20Echterh=C3=B6lter?= Date: Sun, 9 Feb 2025 20:21:59 +0100 Subject: [PATCH] fix(example-content): bump version to 0.113.4 and add labels to content configurations (#354) --- charts/example-content/Chart.yaml | 2 +- .../example-content/templates/contentconfigurations.yaml | 4 ++++ .../tests/__snapshot__/snapshot_test.yaml.snap | 8 ++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/charts/example-content/Chart.yaml b/charts/example-content/Chart.yaml index 42f4c6f46..31b8dd9f6 100644 --- a/charts/example-content/Chart.yaml +++ b/charts/example-content/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: "0.148.0" description: Helm Chart for the openmfp Portal name: example-content -version: 0.113.3 +version: 0.113.4 dependencies: - name: common version: 0.2.7 diff --git a/charts/example-content/templates/contentconfigurations.yaml b/charts/example-content/templates/contentconfigurations.yaml index a8f68eb1b..69a55e00b 100644 --- a/charts/example-content/templates/contentconfigurations.yaml +++ b/charts/example-content/templates/contentconfigurations.yaml @@ -4,6 +4,8 @@ kind: ContentConfiguration metadata: name: {{ include "common.entity.name" . }}-ui namespace: {{ .Release.Namespace }} + labels: + portal.openmfp.org/entity: main spec: remoteConfiguration: url: {{ .Values.contentConfigurations.ui.url }} @@ -20,6 +22,8 @@ kind: ContentConfiguration metadata: name: {{ include "common.entity.name" . }}-wc namespace: {{ .Release.Namespace }} + labels: + portal.openmfp.org/entity: main spec: remoteConfiguration: url: {{ .Values.contentConfigurations.wc.url }} diff --git a/charts/example-content/tests/__snapshot__/snapshot_test.yaml.snap b/charts/example-content/tests/__snapshot__/snapshot_test.yaml.snap index 975126ee8..6d97934ab 100644 --- a/charts/example-content/tests/__snapshot__/snapshot_test.yaml.snap +++ b/charts/example-content/tests/__snapshot__/snapshot_test.yaml.snap @@ -3,6 +3,8 @@ matches the snapshot: apiVersion: core.openmfp.io/v1alpha1 kind: ContentConfiguration metadata: + labels: + portal.openmfp.org/entity: main name: RELEASE-NAME-example-content-ui namespace: NAMESPACE spec: @@ -13,6 +15,8 @@ matches the snapshot: apiVersion: core.openmfp.io/v1alpha1 kind: ContentConfiguration metadata: + labels: + portal.openmfp.org/entity: main name: RELEASE-NAME-example-content-wc namespace: NAMESPACE spec: @@ -113,6 +117,8 @@ matches the snapshot (internalUrl): apiVersion: core.openmfp.io/v1alpha1 kind: ContentConfiguration metadata: + labels: + portal.openmfp.org/entity: main name: RELEASE-NAME-example-content-ui namespace: NAMESPACE spec: @@ -124,6 +130,8 @@ matches the snapshot (internalUrl): apiVersion: core.openmfp.io/v1alpha1 kind: ContentConfiguration metadata: + labels: + portal.openmfp.org/entity: main name: RELEASE-NAME-example-content-wc namespace: NAMESPACE spec: