From 731728ecec3578576b09610e2fc6cf1993091528 Mon Sep 17 00:00:00 2001 From: RealAnna <89971034+RealAnna@users.noreply.github.com> Date: Thu, 5 Oct 2023 09:25:27 +0200 Subject: [PATCH] fix: helm test (#2232) Signed-off-by: realanna --- .../.helm-tests/certificates-only/result.yaml | 2 +- .../.helm-tests/lifecycle-only/result.yaml | 26 ++++++++--------- .../lifecycle-with-certs/result.yaml | 28 +++++++++---------- .../.helm-tests/metrics-only/result.yaml | 12 ++++---- .../metrics-with-certs/result.yaml | 14 +++++----- 5 files changed, 41 insertions(+), 41 deletions(-) diff --git a/.github/scripts/.helm-tests/certificates-only/result.yaml b/.github/scripts/.helm-tests/certificates-only/result.yaml index ee6bc82729..e645318811 100644 --- a/.github/scripts/.helm-tests/certificates-only/result.yaml +++ b/.github/scripts/.helm-tests/certificates-only/result.yaml @@ -114,7 +114,7 @@ rules: - apiGroups: - "" resourceNames: - - klt-certs + - keptn-certs resources: - secrets verbs: diff --git a/.github/scripts/.helm-tests/lifecycle-only/result.yaml b/.github/scripts/.helm-tests/lifecycle-only/result.yaml index 3596196eb5..d72f1e7ad2 100644 --- a/.github/scripts/.helm-tests/lifecycle-only/result.yaml +++ b/.github/scripts/.helm-tests/lifecycle-only/result.yaml @@ -83,7 +83,7 @@ metadata: name: keptnapps.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -348,7 +348,7 @@ metadata: name: keptnappcreationrequests.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -411,7 +411,7 @@ metadata: name: keptnappversions.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -1230,7 +1230,7 @@ metadata: name: keptnconfigs.options.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -1300,7 +1300,7 @@ metadata: name: keptnevaluations.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -1685,7 +1685,7 @@ metadata: name: keptnevaluationdefinitions.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -1878,7 +1878,7 @@ metadata: name: keptnevaluationproviders.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -2060,7 +2060,7 @@ metadata: name: keptntasks.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -2472,7 +2472,7 @@ metadata: name: keptntaskdefinitions.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -4192,7 +4192,7 @@ metadata: name: keptnworkloads.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -4484,7 +4484,7 @@ metadata: name: keptnworkloadinstances.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -6315,7 +6315,7 @@ kind: MutatingWebhookConfiguration metadata: name: lifecycle-mutating-webhook-configuration annotations: - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: keptn.sh/inject-cert: "true" app.kubernetes.io/part-of: "keptn-lifecycle-toolkit" @@ -6372,7 +6372,7 @@ kind: ValidatingWebhookConfiguration metadata: name: lifecycle-validating-webhook-configuration annotations: - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: keptn.sh/inject-cert: "true" helm.sh/chart: lifecycle-operator-0.1.0 diff --git a/.github/scripts/.helm-tests/lifecycle-with-certs/result.yaml b/.github/scripts/.helm-tests/lifecycle-with-certs/result.yaml index 3e735a2a2b..8f27701e53 100644 --- a/.github/scripts/.helm-tests/lifecycle-with-certs/result.yaml +++ b/.github/scripts/.helm-tests/lifecycle-with-certs/result.yaml @@ -98,7 +98,7 @@ metadata: name: keptnapps.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -363,7 +363,7 @@ metadata: name: keptnappcreationrequests.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -426,7 +426,7 @@ metadata: name: keptnappversions.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -1245,7 +1245,7 @@ metadata: name: keptnconfigs.options.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -1315,7 +1315,7 @@ metadata: name: keptnevaluations.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -1700,7 +1700,7 @@ metadata: name: keptnevaluationdefinitions.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -1893,7 +1893,7 @@ metadata: name: keptnevaluationproviders.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -2075,7 +2075,7 @@ metadata: name: keptntasks.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -2487,7 +2487,7 @@ metadata: name: keptntaskdefinitions.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -4207,7 +4207,7 @@ metadata: name: keptnworkloads.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -4499,7 +4499,7 @@ metadata: name: keptnworkloadinstances.lifecycle.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: lifecycle.keptn.sh @@ -6010,7 +6010,7 @@ rules: - apiGroups: - "" resourceNames: - - klt-certs + - keptn-certs resources: - secrets verbs: @@ -6571,7 +6571,7 @@ kind: MutatingWebhookConfiguration metadata: name: lifecycle-mutating-webhook-configuration annotations: - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: keptn.sh/inject-cert: "true" app.kubernetes.io/part-of: "keptn-lifecycle-toolkit" @@ -6628,7 +6628,7 @@ kind: ValidatingWebhookConfiguration metadata: name: lifecycle-validating-webhook-configuration annotations: - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: keptn.sh/inject-cert: "true" helm.sh/chart: lifecycle-operator-0.1.0 diff --git a/.github/scripts/.helm-tests/metrics-only/result.yaml b/.github/scripts/.helm-tests/metrics-only/result.yaml index f80298e9bc..26a207f230 100644 --- a/.github/scripts/.helm-tests/metrics-only/result.yaml +++ b/.github/scripts/.helm-tests/metrics-only/result.yaml @@ -45,7 +45,7 @@ metadata: name: analyses.metrics.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: metrics.keptn.sh @@ -231,7 +231,7 @@ metadata: name: analysisdefinitions.metrics.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: metrics.keptn.sh @@ -588,7 +588,7 @@ metadata: name: analysisvaluetemplates.metrics.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: metrics.keptn.sh @@ -671,7 +671,7 @@ metadata: name: keptnmetrics.metrics.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: metrics.keptn.sh @@ -1026,7 +1026,7 @@ metadata: name: keptnmetricsproviders.metrics.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: metrics.keptn.sh @@ -1663,7 +1663,7 @@ kind: ValidatingWebhookConfiguration metadata: name: metrics-validating-webhook-configuration annotations: - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: keptn.sh/inject-cert: "true" helm.sh/chart: metrics-operator-0.1.0 diff --git a/.github/scripts/.helm-tests/metrics-with-certs/result.yaml b/.github/scripts/.helm-tests/metrics-with-certs/result.yaml index 0b0fb446d4..18840862be 100644 --- a/.github/scripts/.helm-tests/metrics-with-certs/result.yaml +++ b/.github/scripts/.helm-tests/metrics-with-certs/result.yaml @@ -60,7 +60,7 @@ metadata: name: analyses.metrics.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: metrics.keptn.sh @@ -246,7 +246,7 @@ metadata: name: analysisdefinitions.metrics.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: metrics.keptn.sh @@ -603,7 +603,7 @@ metadata: name: analysisvaluetemplates.metrics.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: metrics.keptn.sh @@ -686,7 +686,7 @@ metadata: name: keptnmetrics.metrics.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: metrics.keptn.sh @@ -1041,7 +1041,7 @@ metadata: name: keptnmetricsproviders.metrics.keptn.sh annotations: controller-gen.kubebuilder.io/version: v0.13.0 - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: app.kubernetes.io/part-of: keptn-lifecycle-toolkit crdGroup: metrics.keptn.sh @@ -1468,7 +1468,7 @@ rules: - apiGroups: - "" resourceNames: - - klt-certs + - keptn-certs resources: - secrets verbs: @@ -1919,7 +1919,7 @@ kind: ValidatingWebhookConfiguration metadata: name: metrics-validating-webhook-configuration annotations: - cert-manager.io/inject-ca-from: 'helmtests/klt-certs' + cert-manager.io/inject-ca-from: 'helmtests/keptn-certs' labels: keptn.sh/inject-cert: "true" helm.sh/chart: metrics-operator-0.1.0