From 56d659812c2fdeda1137d9f9f04701cb1775e434 Mon Sep 17 00:00:00 2001 From: odubajDT <93584209+odubajDT@users.noreply.github.com> Date: Thu, 10 Aug 2023 13:52:05 +0200 Subject: [PATCH] fix: add missing cert-injection annotations to helm-chart test result (#1873) Signed-off-by: odubajDT --- .../scripts/.helm-tests/default/result.yaml | 22 ++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.github/scripts/.helm-tests/default/result.yaml b/.github/scripts/.helm-tests/default/result.yaml index 28c777e7e1..84c2171933 100644 --- a/.github/scripts/.helm-tests/default/result.yaml +++ b/.github/scripts/.helm-tests/default/result.yaml @@ -139,6 +139,7 @@ metadata: name: analyses.metrics.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.12.1 + cert-manager.io/inject-ca-from: 'helmtests/klt-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: metrics.keptn.sh @@ -238,6 +239,7 @@ metadata: name: analysisdefinitions.metrics.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.12.1 + cert-manager.io/inject-ca-from: 'helmtests/klt-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: metrics.keptn.sh @@ -497,6 +499,7 @@ metadata: name: analysisvaluetemplates.metrics.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.12.1 + cert-manager.io/inject-ca-from: 'helmtests/klt-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: metrics.keptn.sh @@ -579,6 +582,7 @@ metadata: name: keptnapps.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.12.1 + cert-manager.io/inject-ca-from: 'helmtests/klt-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -849,6 +853,7 @@ metadata: name: keptnappcreationrequests.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.12.1 + cert-manager.io/inject-ca-from: 'helmtests/klt-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -917,6 +922,7 @@ metadata: name: keptnappversions.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.12.1 + cert-manager.io/inject-ca-from: 'helmtests/klt-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -1739,6 +1745,7 @@ metadata: name: keptnconfigs.options.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.12.1 + cert-manager.io/inject-ca-from: 'helmtests/klt-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -1814,6 +1821,7 @@ metadata: name: keptnevaluations.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.12.1 + cert-manager.io/inject-ca-from: 'helmtests/klt-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -2204,6 +2212,7 @@ metadata: name: keptnevaluationdefinitions.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.12.1 + cert-manager.io/inject-ca-from: 'helmtests/klt-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -2402,6 +2411,7 @@ metadata: name: keptnevaluationproviders.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.12.1 + cert-manager.io/inject-ca-from: 'helmtests/klt-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -2586,6 +2596,7 @@ metadata: name: keptnmetrics.metrics.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.12.0 + cert-manager.io/inject-ca-from: 'helmtests/klt-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: metrics.keptn.sh @@ -2890,6 +2901,7 @@ metadata: name: keptnmetricsproviders.metrics.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.12.0 + cert-manager.io/inject-ca-from: 'helmtests/klt-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: metrics.keptn.sh @@ -3036,6 +3048,7 @@ metadata: name: keptntasks.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.12.1 + cert-manager.io/inject-ca-from: 'helmtests/klt-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -3477,6 +3490,7 @@ metadata: name: keptntaskdefinitions.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.12.1 + cert-manager.io/inject-ca-from: 'helmtests/klt-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -5137,6 +5151,7 @@ metadata: name: keptnworkloads.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.12.1 + cert-manager.io/inject-ca-from: 'helmtests/klt-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -5434,6 +5449,7 @@ metadata: name: keptnworkloadinstances.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.12.1 + cert-manager.io/inject-ca-from: 'helmtests/klt-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -7976,7 +7992,7 @@ kind: MutatingWebhookConfiguration metadata: name: lifecycle-mutating-webhook-configuration annotations: - cert-manager.io/inject-ca-from: helmtests/ + cert-manager.io/inject-ca-from: 'helmtests/klt-certs' labels: keptn.sh/inject-cert: "true" app.kubernetes.io/part-of: "keptn-lifecycle-toolkit" @@ -8033,7 +8049,7 @@ kind: ValidatingWebhookConfiguration metadata: name: lifecycle-validating-webhook-configuration annotations: - cert-manager.io/inject-ca-from: helmtests/ + cert-manager.io/inject-ca-from: 'helmtests/klt-certs' labels: keptn.sh/inject-cert: "true" helm.sh/chart: klt-0.2.5 @@ -8069,7 +8085,7 @@ kind: ValidatingWebhookConfiguration metadata: name: metrics-validating-webhook-configuration annotations: - cert-manager.io/inject-ca-from: helmtests/ + cert-manager.io/inject-ca-from: 'helmtests/klt-certs' labels: keptn.sh/inject-cert: "true" helm.sh/chart: klt-0.2.5