From 9eaef8bc98120a6204c4eaf14dd6acbf99dd5fe8 Mon Sep 17 00:00:00 2001 From: keptn-bot <86361500+keptn-bot@users.noreply.github.com> Date: Thu, 31 Oct 2024 10:27:36 +0100 Subject: [PATCH 1/6] chore: release metrics-operator 1.1.1 --- .release-please-manifest.json | 2 +- metrics-operator/CHANGELOG.md | 29 +++++++++++++++++++++ metrics-operator/Makefile | 2 +- metrics-operator/chart/Chart.yaml | 4 +-- metrics-operator/chart/values.yaml | 2 +- metrics-operator/converter/sli_converter.md | 2 +- metrics-operator/converter/slo_converter.md | 2 +- 7 files changed, 36 insertions(+), 7 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 1801802d5a..48c3ddcc3a 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -5,5 +5,5 @@ "runtimes/deno-runtime": "3.0.0", "lifecycle-operator": "1.1.1", "scheduler": "1.0.1", - "metrics-operator": "1.1.0" + "metrics-operator": "1.1.1" } diff --git a/metrics-operator/CHANGELOG.md b/metrics-operator/CHANGELOG.md index ffbc61e5b7..cac35896f5 100644 --- a/metrics-operator/CHANGELOG.md +++ b/metrics-operator/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## [1.1.1](https://github.com/keptn/lifecycle-toolkit/compare/metrics-operator-v1.1.0...metrics-operator-v1.1.1) (2024-10-31) + + +### Other + +* update helm chart versions ([#3713](https://github.com/keptn/lifecycle-toolkit/issues/3713)) ([e052c92](https://github.com/keptn/lifecycle-toolkit/commit/e052c927cdb83215dfc2724e259f8fd72988a0a2)) + + +### Dependency Updates + +* update all golang.org/x packages ([#3729](https://github.com/keptn/lifecycle-toolkit/issues/3729)) ([d0a22de](https://github.com/keptn/lifecycle-toolkit/commit/d0a22deacb3af85c95e07c9b4d2d91120b7c07ca)) +* update all golang.org/x packages ([#3754](https://github.com/keptn/lifecycle-toolkit/issues/3754)) ([736a4ac](https://github.com/keptn/lifecycle-toolkit/commit/736a4ac129b8f81a17e609090efadc6b1bc10939)) +* update dependency kubernetes-sigs/controller-tools to v0.16.2 ([#3700](https://github.com/keptn/lifecycle-toolkit/issues/3700)) ([a0ff0ed](https://github.com/keptn/lifecycle-toolkit/commit/a0ff0ed8eccb9ef0da275f5a1bcce010d058ad7c)) +* update dependency kubernetes-sigs/controller-tools to v0.16.4 ([#3733](https://github.com/keptn/lifecycle-toolkit/issues/3733)) ([a3dca53](https://github.com/keptn/lifecycle-toolkit/commit/a3dca534108788fb47c73e21a48f791070fddb31)) +* update dependency kubernetes-sigs/controller-tools to v0.16.5 ([#3781](https://github.com/keptn/lifecycle-toolkit/issues/3781)) ([9e742e8](https://github.com/keptn/lifecycle-toolkit/commit/9e742e8975a45103d7f33929e442ed70e84ac7c3)) +* update dependency kubernetes-sigs/kustomize to v5.5.0 ([#3793](https://github.com/keptn/lifecycle-toolkit/issues/3793)) ([62ff5ac](https://github.com/keptn/lifecycle-toolkit/commit/62ff5ac84966ab3dcbf1a640133a47e7301479bd)) +* update github.com/keptn/lifecycle-toolkit/keptn-cert-manager digest to 8c76404 ([#3685](https://github.com/keptn/lifecycle-toolkit/issues/3685)) ([053a574](https://github.com/keptn/lifecycle-toolkit/commit/053a574ce7618a9b732ed946be5bc50c7d6c5b4d)) +* update golang docker tag to v1.23.0 ([#3702](https://github.com/keptn/lifecycle-toolkit/issues/3702)) ([a4d7328](https://github.com/keptn/lifecycle-toolkit/commit/a4d73287d793bdd4681d5e8ba9fe56d185705b80)) +* update golang docker tag to v1.23.1 ([#3732](https://github.com/keptn/lifecycle-toolkit/issues/3732)) ([8eb878f](https://github.com/keptn/lifecycle-toolkit/commit/8eb878f908467ab9a7140694d263de0fc352f2dd)) +* update golang docker tag to v1.23.2 ([#3758](https://github.com/keptn/lifecycle-toolkit/issues/3758)) ([37a3f51](https://github.com/keptn/lifecycle-toolkit/commit/37a3f512da9ecd8eb8cf1dcb339647e9872e0b7e)) +* update kubebuilder and k8s packages ([#3806](https://github.com/keptn/lifecycle-toolkit/issues/3806)) ([7b92373](https://github.com/keptn/lifecycle-toolkit/commit/7b92373b2110c28dec82d576747f821d47a98bb2)) +* update kubernetes packages to v0.29.9 (patch) ([#3735](https://github.com/keptn/lifecycle-toolkit/issues/3735)) ([fcb3242](https://github.com/keptn/lifecycle-toolkit/commit/fcb3242218302ee406cdb10407e020b4ee516588)) +* update module github.com/datadog/datadog-api-client-go/v2 to v2.31.0 ([#3790](https://github.com/keptn/lifecycle-toolkit/issues/3790)) ([26c1c2e](https://github.com/keptn/lifecycle-toolkit/commit/26c1c2e7fbf997585832ce5ef6f68477ab87d44b)) +* update module go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc to v0.56.0 ([#3794](https://github.com/keptn/lifecycle-toolkit/issues/3794)) ([1582d86](https://github.com/keptn/lifecycle-toolkit/commit/1582d86f56a7165defe28d3c0dcca8a209fed63a)) +* update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.56.0 ([#3795](https://github.com/keptn/lifecycle-toolkit/issues/3795)) ([d8a64b4](https://github.com/keptn/lifecycle-toolkit/commit/d8a64b4fa55a650bb07d4f6a9b3cc763c6e74f45)) +* update module google.golang.org/grpc to v1.67.1 ([#3796](https://github.com/keptn/lifecycle-toolkit/issues/3796)) ([2902073](https://github.com/keptn/lifecycle-toolkit/commit/2902073b1fe0bee77d8f7af2b40fc49d0e183cbb)) +* update module google.golang.org/protobuf to v1.35.1 ([#3797](https://github.com/keptn/lifecycle-toolkit/issues/3797)) ([2c5f1b3](https://github.com/keptn/lifecycle-toolkit/commit/2c5f1b310f34609dddb602059cbcca35c672ca6f)) +* update opentelemetry-go monorepo (minor) ([#3798](https://github.com/keptn/lifecycle-toolkit/issues/3798)) ([878fa47](https://github.com/keptn/lifecycle-toolkit/commit/878fa47ce3f3c4a2fb6863169c13c408bc266d61)) + ## [1.1.0](https://github.com/keptn/lifecycle-toolkit/compare/metrics-operator-v1.0.2...metrics-operator-v1.1.0) (2024-08-27) diff --git a/metrics-operator/Makefile b/metrics-operator/Makefile index 533931ccd2..3029688336 100644 --- a/metrics-operator/Makefile +++ b/metrics-operator/Makefile @@ -7,7 +7,7 @@ RELEASE_REGISTRY?=ghcr.io/keptn RELEASE_TIME=$(shell date +%Y%m%d%s) BUILD_TIME=$(shell date -u "+%F_%T") RELEASE_VERSION?=$(RELEASE_TIME)-v0.24.3#$(shell git describe --tags --match "v*") -TAG?="v1.1.0" # x-release-please-version +TAG?="v1.1.1" # x-release-please-version RELEASE_IMAGE:=metrics-operator:$(TAG) CHART_APPVERSION?="" diff --git a/metrics-operator/chart/Chart.yaml b/metrics-operator/chart/Chart.yaml index e11e6e4c71..ff6520b1ec 100644 --- a/metrics-operator/chart/Chart.yaml +++ b/metrics-operator/chart/Chart.yaml @@ -22,8 +22,8 @@ annotations: artifacthub.io/operator: 'true' kubeVersion: '>= 1.24.0-0' type: application -version: 0.3.0 -appVersion: v1.1.0 # x-release-please-version +version: 1.1.1 +appVersion: v1.1.0 dependencies: - name: common repository: https://charts.lifecycle.keptn.sh diff --git a/metrics-operator/chart/values.yaml b/metrics-operator/chart/values.yaml index 006ad29f1e..37be0f8a83 100644 --- a/metrics-operator/chart/values.yaml +++ b/metrics-operator/chart/values.yaml @@ -140,7 +140,7 @@ image: ## @param image.repository specify registry for manager image repository: keptn/metrics-operator ## @param image.tag select tag for manager image - tag: v1.1.0 # x-release-please-version + tag: v1.1.1 # x-release-please-version ## @param image.imagePullPolicy specify pull policy for the manager image. This overrides global values imagePullPolicy: "" ## @extra livenessProbe custom livenessprobe for manager container diff --git a/metrics-operator/converter/sli_converter.md b/metrics-operator/converter/sli_converter.md index 2584400065..c11ce10782 100644 --- a/metrics-operator/converter/sli_converter.md +++ b/metrics-operator/converter/sli_converter.md @@ -13,7 +13,7 @@ To run the converter, execute the following command: ```shell -METRICS_OPERATOR_IMAGE=ghcr.io/keptn/metrics-operator:v1.1.0 +METRICS_OPERATOR_IMAGE=ghcr.io/keptn/metrics-operator:v1.1.1 PATH_TO_SLI= KEPTN_PROVIDER_NAME= KEPTN_PROVIDER_NAMESPACE= diff --git a/metrics-operator/converter/slo_converter.md b/metrics-operator/converter/slo_converter.md index 7b7bbb0932..1c1b788ae1 100644 --- a/metrics-operator/converter/slo_converter.md +++ b/metrics-operator/converter/slo_converter.md @@ -35,7 +35,7 @@ To run the converter, execute the following command: ```shell -METRICS_OPERATOR_IMAGE=ghcr.io/keptn/metrics-operator:v1.1.0 +METRICS_OPERATOR_IMAGE=ghcr.io/keptn/metrics-operator:v1.1.1 PATH_TO_SLO= ANALYSIS_VALUE_TEMPLATE_NAMESPACE= ANALYSIS_DEFINITION_NAME= From 5397f06170d2100f76569185a0f483a34b626512 Mon Sep 17 00:00:00 2001 From: Moritz Wiesinger Date: Thu, 31 Oct 2024 10:30:27 +0100 Subject: [PATCH 2/6] update chart Signed-off-by: Moritz Wiesinger --- .../scripts/.helm-tests/Openshift/result.yaml | 58 ++-- .../.helm-tests/certificates-only/result.yaml | 60 ++-- .../scripts/.helm-tests/default/result.yaml | 60 ++-- .../.helm-tests/lifecycle-only/result.yaml | 292 ++++++++++++++++++ .../lifecycle-with-certs/result.yaml | 60 ++-- .../local-global-precedence/result.yaml | 78 ++--- .../result.yaml | 292 ++++++++++++++++++ .../.helm-tests/metrics-only/result.yaml | 292 ++++++++++++++++++ .../metrics-with-certs/result.yaml | 60 ++-- metrics-operator/chart/README.md | 2 +- 10 files changed, 1065 insertions(+), 189 deletions(-) diff --git a/.github/scripts/.helm-tests/Openshift/result.yaml b/.github/scripts/.helm-tests/Openshift/result.yaml index 9d3c9d90e2..e2a414c098 100644 --- a/.github/scripts/.helm-tests/Openshift/result.yaml +++ b/.github/scripts/.helm-tests/Openshift/result.yaml @@ -1,5 +1,5 @@ --- -# Source: keptn/charts/certManager/templates/service-account.yaml +# Source: keptn/charts/keptn-cert-manager/templates/service-account.yaml apiVersion: v1 kind: ServiceAccount metadata: @@ -10,9 +10,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 --- # Source: keptn/charts/lifecycleOperator/templates/deployment.yaml apiVersion: v1 @@ -14150,7 +14150,7 @@ spec: subresources: status: {} --- -# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: @@ -14159,9 +14159,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 rules: - apiGroups: - admissionregistration.k8s.io @@ -14678,7 +14678,7 @@ rules: - list - watch --- -# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: @@ -14690,9 +14690,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -14807,7 +14807,7 @@ subjects: name: 'metrics-operator' namespace: 'helmtests' --- -# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -14816,9 +14816,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 rules: - apiGroups: - "" @@ -14852,7 +14852,7 @@ rules: - create - patch --- -# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -14861,9 +14861,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 rules: - apiGroups: - "" @@ -15022,7 +15022,7 @@ rules: - create - patch --- -# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -15034,19 +15034,19 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: 'certificate-operator-leader-election-role' subjects: -- kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' + - kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' --- -# Source: keptn/charts/certManager/templates/certificate-operator-role-binding-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -15058,9 +15058,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role @@ -15299,7 +15299,7 @@ spec: protocol: TCP targetPort: 9443 --- -# Source: keptn/charts/certManager/templates/deployment.yaml +# Source: keptn/charts/keptn-cert-manager/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: @@ -15311,21 +15311,21 @@ metadata: control-plane: certificate-operator app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 spec: replicas: 1 selector: matchLabels: control-plane: certificate-operator - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/instance: keptn-test template: metadata: labels: control-plane: certificate-operator - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/instance: keptn-test annotations: kubectl.kubernetes.io/default-container: certificate-operator diff --git a/.github/scripts/.helm-tests/certificates-only/result.yaml b/.github/scripts/.helm-tests/certificates-only/result.yaml index 7e89e8e605..9baa00a520 100644 --- a/.github/scripts/.helm-tests/certificates-only/result.yaml +++ b/.github/scripts/.helm-tests/certificates-only/result.yaml @@ -1,5 +1,5 @@ --- -# Source: keptn/charts/certManager/templates/service-account.yaml +# Source: keptn/charts/keptn-cert-manager/templates/service-account.yaml apiVersion: v1 kind: ServiceAccount metadata: @@ -10,11 +10,11 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 --- -# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: @@ -23,9 +23,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 rules: - apiGroups: - admissionregistration.k8s.io @@ -57,7 +57,7 @@ rules: - list - watch --- -# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: @@ -69,9 +69,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -81,7 +81,7 @@ subjects: name: 'certificate-operator' namespace: 'helmtests' --- -# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -90,9 +90,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 rules: - apiGroups: - "" @@ -126,7 +126,7 @@ rules: - create - patch --- -# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -135,9 +135,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 rules: - apiGroups: - "" @@ -158,7 +158,7 @@ rules: - patch - update --- -# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -170,19 +170,19 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: 'certificate-operator-leader-election-role' subjects: -- kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' + - kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' --- -# Source: keptn/charts/certManager/templates/certificate-operator-role-binding-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -194,9 +194,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role @@ -206,7 +206,7 @@ subjects: name: 'certificate-operator' namespace: 'helmtests' --- -# Source: keptn/charts/certManager/templates/deployment.yaml +# Source: keptn/charts/keptn-cert-manager/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: @@ -218,21 +218,21 @@ metadata: control-plane: certificate-operator app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 spec: replicas: 1 selector: matchLabels: control-plane: certificate-operator - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/instance: keptn-test template: metadata: labels: control-plane: certificate-operator - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/instance: keptn-test annotations: kubectl.kubernetes.io/default-container: certificate-operator @@ -253,7 +253,7 @@ spec: value: "true" - name: KUBERNETES_CLUSTER_DOMAIN value: cluster.local - image: ghcr.io/keptn/certificate-operator:v0.0.0 + image: ghcr.io/keptn/certificate-operator:v2.2.2 imagePullPolicy: IfNotPresent name: certificate-operator resources: diff --git a/.github/scripts/.helm-tests/default/result.yaml b/.github/scripts/.helm-tests/default/result.yaml index c38c660e3b..f827bc9091 100644 --- a/.github/scripts/.helm-tests/default/result.yaml +++ b/.github/scripts/.helm-tests/default/result.yaml @@ -1,5 +1,5 @@ --- -# Source: keptn/charts/certManager/templates/service-account.yaml +# Source: keptn/charts/keptn-cert-manager/templates/service-account.yaml apiVersion: v1 kind: ServiceAccount metadata: @@ -10,9 +10,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 --- # Source: keptn/charts/lifecycleOperator/templates/deployment.yaml apiVersion: v1 @@ -14150,7 +14150,7 @@ spec: subresources: status: {} --- -# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: @@ -14159,9 +14159,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 rules: - apiGroups: - admissionregistration.k8s.io @@ -14678,7 +14678,7 @@ rules: - list - watch --- -# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: @@ -14690,9 +14690,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -14807,7 +14807,7 @@ subjects: name: 'metrics-operator' namespace: 'helmtests' --- -# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -14816,9 +14816,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 rules: - apiGroups: - "" @@ -14852,7 +14852,7 @@ rules: - create - patch --- -# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -14861,9 +14861,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 rules: - apiGroups: - "" @@ -15022,7 +15022,7 @@ rules: - create - patch --- -# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -15034,19 +15034,19 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: 'certificate-operator-leader-election-role' subjects: -- kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' + - kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' --- -# Source: keptn/charts/certManager/templates/certificate-operator-role-binding-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -15058,9 +15058,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role @@ -15299,7 +15299,7 @@ spec: protocol: TCP targetPort: 9443 --- -# Source: keptn/charts/certManager/templates/deployment.yaml +# Source: keptn/charts/keptn-cert-manager/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: @@ -15311,21 +15311,21 @@ metadata: control-plane: certificate-operator app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 spec: replicas: 1 selector: matchLabels: control-plane: certificate-operator - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/instance: keptn-test template: metadata: labels: control-plane: certificate-operator - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/instance: keptn-test annotations: kubectl.kubernetes.io/default-container: certificate-operator @@ -15346,7 +15346,7 @@ spec: value: "true" - name: KUBERNETES_CLUSTER_DOMAIN value: cluster.local - image: ghcr.io/keptn/certificate-operator:v0.0.0 + image: ghcr.io/keptn/certificate-operator:v2.2.2 imagePullPolicy: IfNotPresent name: certificate-operator resources: diff --git a/.github/scripts/.helm-tests/lifecycle-only/result.yaml b/.github/scripts/.helm-tests/lifecycle-only/result.yaml index aa3c515c7a..a6bffddd4b 100644 --- a/.github/scripts/.helm-tests/lifecycle-only/result.yaml +++ b/.github/scripts/.helm-tests/lifecycle-only/result.yaml @@ -1,4 +1,19 @@ --- +# Source: keptn/charts/keptn-cert-manager/templates/service-account.yaml +apiVersion: v1 +kind: ServiceAccount +metadata: + name: certificate-operator + namespace: "helmtests" + labels: + app.kubernetes.io/component: rbac + app.kubernetes.io/part-of: keptn + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +--- # Source: keptn/charts/lifecycleOperator/templates/deployment.yaml apiVersion: v1 kind: ServiceAccount @@ -11336,6 +11351,49 @@ spec: subresources: status: {} --- +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: certificate-operator-role + namespace: "helmtests" + labels: + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +rules: +- apiGroups: + - admissionregistration.k8s.io + resources: + - mutatingwebhookconfigurations + - validatingwebhookconfigurations + verbs: + - get + - list + - patch + - update + - watch +- apiGroups: + - apiextensions.k8s.io + resources: + - customresourcedefinitions + verbs: + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - get + - list + - watch +--- # Source: keptn/charts/lifecycleOperator/templates/keptn-scheduler-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole @@ -11731,6 +11789,30 @@ rules: verbs: - '*' --- +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: certificate-operator-rolebinding + namespace: "helmtests" + labels: + app.kubernetes.io/component: rbac + app.kubernetes.io/created-by: certificate-operator + app.kubernetes.io/part-of: keptn + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: 'certificate-operator-role' +subjects: +- kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' +--- # Source: keptn/charts/lifecycleOperator/templates/keptn-scheduler-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding @@ -11773,6 +11855,83 @@ subjects: name: 'lifecycle-operator' namespace: 'helmtests' --- +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: certificate-operator-leader-election-role + namespace: "helmtests" + labels: + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +rules: +- apiGroups: + - "" + resources: + - configmaps + verbs: + - get + - list + - watch + - create + - update + - patch + - delete +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - get + - list + - watch + - create + - update + - patch + - delete +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +--- +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: certificate-operator-role + namespace: "helmtests" + labels: + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +rules: +- apiGroups: + - "" + resources: + - secrets + verbs: + - create + - list + - watch +- apiGroups: + - "" + resourceNames: + - keptn-certs + resources: + - secrets + verbs: + - get + - patch + - update +--- # Source: keptn/charts/lifecycleOperator/templates/lifecycle-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role @@ -11866,6 +12025,54 @@ rules: - create - patch --- +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: certificate-operator-leader-election-rolebinding + namespace: "helmtests" + labels: + app.kubernetes.io/component: rbac + app.kubernetes.io/created-by: certificate-operator + app.kubernetes.io/part-of: keptn + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: 'certificate-operator-leader-election-role' +subjects: + - kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' +--- +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: certificate-operator-role-binding + namespace: "helmtests" + labels: + app.kubernetes.io/component: rbac + app.kubernetes.io/created-by: certificate-operator + app.kubernetes.io/part-of: keptn + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: 'certificate-operator-role' +subjects: +- kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' +--- # Source: keptn/charts/lifecycleOperator/templates/extension-apiserver-authentication-reader-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding @@ -11998,6 +12205,91 @@ spec: protocol: TCP targetPort: 9443 --- +# Source: keptn/charts/keptn-cert-manager/templates/deployment.yaml +apiVersion: apps/v1 +kind: Deployment +metadata: + name: certificate-operator + namespace: "helmtests" + labels: + app.kubernetes.io/component: keptn-cert-manager + app.kubernetes.io/part-of: keptn + control-plane: certificate-operator + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +spec: + replicas: 1 + selector: + matchLabels: + control-plane: certificate-operator + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/instance: keptn-test + template: + metadata: + labels: + control-plane: certificate-operator + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/instance: keptn-test + annotations: + kubectl.kubernetes.io/default-container: certificate-operator + spec: + containers: + - args: + - --leader-elect + command: + - /manager + env: + - name: NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: LABEL_SELECTOR_KEY + value: "keptn.sh/inject-cert" + - name: LABEL_SELECTOR_VALUE + value: "true" + - name: KUBERNETES_CLUSTER_DOMAIN + value: cluster.local + image: ghcr.io/keptn/certificate-operator:v2.2.2 + imagePullPolicy: IfNotPresent + name: certificate-operator + resources: + limits: + cpu: 25m + memory: 64Mi + requests: + cpu: 5m + memory: 16Mi + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + readOnlyRootFilesystem: true + runAsGroup: 65532 + runAsUser: 65532 + seccompProfile: + type: RuntimeDefault + livenessProbe: + httpGet: + path: /healthz + port: 8081 + initialDelaySeconds: 15 + periodSeconds: 20 + readinessProbe: + httpGet: + path: /readyz + port: 8081 + initialDelaySeconds: 5 + periodSeconds: 10 + + securityContext: + runAsNonRoot: true + serviceAccountName: certificate-operator + terminationGracePeriodSeconds: 10 +--- # Source: keptn/charts/lifecycleOperator/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment diff --git a/.github/scripts/.helm-tests/lifecycle-with-certs/result.yaml b/.github/scripts/.helm-tests/lifecycle-with-certs/result.yaml index 821f8bb1a9..02df0a091b 100644 --- a/.github/scripts/.helm-tests/lifecycle-with-certs/result.yaml +++ b/.github/scripts/.helm-tests/lifecycle-with-certs/result.yaml @@ -1,5 +1,5 @@ --- -# Source: keptn/charts/certManager/templates/service-account.yaml +# Source: keptn/charts/keptn-cert-manager/templates/service-account.yaml apiVersion: v1 kind: ServiceAccount metadata: @@ -10,9 +10,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 --- # Source: keptn/charts/lifecycleOperator/templates/deployment.yaml apiVersion: v1 @@ -11351,7 +11351,7 @@ spec: subresources: status: {} --- -# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: @@ -11360,9 +11360,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 rules: - apiGroups: - admissionregistration.k8s.io @@ -11789,7 +11789,7 @@ rules: verbs: - '*' --- -# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: @@ -11801,9 +11801,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -11855,7 +11855,7 @@ subjects: name: 'lifecycle-operator' namespace: 'helmtests' --- -# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -11864,9 +11864,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 rules: - apiGroups: - "" @@ -11900,7 +11900,7 @@ rules: - create - patch --- -# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -11909,9 +11909,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 rules: - apiGroups: - "" @@ -12025,7 +12025,7 @@ rules: - create - patch --- -# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -12037,19 +12037,19 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: 'certificate-operator-leader-election-role' subjects: -- kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' + - kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' --- -# Source: keptn/charts/certManager/templates/certificate-operator-role-binding-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -12061,9 +12061,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role @@ -12205,7 +12205,7 @@ spec: protocol: TCP targetPort: 9443 --- -# Source: keptn/charts/certManager/templates/deployment.yaml +# Source: keptn/charts/keptn-cert-manager/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: @@ -12217,21 +12217,21 @@ metadata: control-plane: certificate-operator app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 spec: replicas: 1 selector: matchLabels: control-plane: certificate-operator - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/instance: keptn-test template: metadata: labels: control-plane: certificate-operator - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/instance: keptn-test annotations: kubectl.kubernetes.io/default-container: certificate-operator @@ -12252,7 +12252,7 @@ spec: value: "true" - name: KUBERNETES_CLUSTER_DOMAIN value: cluster.local - image: ghcr.io/keptn/certificate-operator:v0.0.0 + image: ghcr.io/keptn/certificate-operator:v2.2.2 imagePullPolicy: IfNotPresent name: certificate-operator resources: diff --git a/.github/scripts/.helm-tests/local-global-precedence/result.yaml b/.github/scripts/.helm-tests/local-global-precedence/result.yaml index e52c5b4957..7433c8b476 100644 --- a/.github/scripts/.helm-tests/local-global-precedence/result.yaml +++ b/.github/scripts/.helm-tests/local-global-precedence/result.yaml @@ -1,5 +1,5 @@ --- -# Source: keptn/charts/certManager/templates/service-account.yaml +# Source: keptn/charts/keptn-cert-manager/templates/service-account.yaml apiVersion: v1 kind: ServiceAccount metadata: @@ -8,17 +8,17 @@ metadata: annotations: globalAnnotation1: test1 globalAnnotation2: test2 - test-annotation: local + test-annotation: global labels: app.kubernetes.io/component: rbac app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 globalLabel1: test1 globalLabel2: test2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 --- # Source: keptn/charts/lifecycleOperator/templates/deployment.yaml apiVersion: v1 @@ -14286,7 +14286,7 @@ spec: subresources: status: {} --- -# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: @@ -14295,15 +14295,15 @@ metadata: annotations: globalAnnotation1: test1 globalAnnotation2: test2 - test-annotation: local + test-annotation: global labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 globalLabel1: test1 globalLabel2: test2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 rules: - apiGroups: - admissionregistration.k8s.io @@ -14850,7 +14850,7 @@ rules: - list - watch --- -# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: @@ -14859,18 +14859,18 @@ metadata: annotations: globalAnnotation1: test1 globalAnnotation2: test2 - test-annotation: local + test-annotation: global labels: app.kubernetes.io/component: rbac app.kubernetes.io/created-by: certificate-operator app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 globalLabel1: test1 globalLabel2: test2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -15015,7 +15015,7 @@ subjects: name: 'metrics-operator' namespace: 'helmtests' --- -# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -15024,15 +15024,15 @@ metadata: annotations: globalAnnotation1: test1 globalAnnotation2: test2 - test-annotation: local + test-annotation: global labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 globalLabel1: test1 globalLabel2: test2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 rules: - apiGroups: - "" @@ -15066,7 +15066,7 @@ rules: - create - patch --- -# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -15075,15 +15075,15 @@ metadata: annotations: globalAnnotation1: test1 globalAnnotation2: test2 - test-annotation: local + test-annotation: global labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 globalLabel1: test1 globalLabel2: test2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 rules: - apiGroups: - "" @@ -15260,7 +15260,7 @@ rules: - create - patch --- -# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -15269,31 +15269,31 @@ metadata: annotations: globalAnnotation1: test1 globalAnnotation2: test2 - test-annotation: local + test-annotation: global labels: app.kubernetes.io/component: rbac app.kubernetes.io/created-by: certificate-operator app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 globalLabel1: test1 globalLabel2: test2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 globalAnnotation1: test1 globalAnnotation2: test2 - test-annotation: local + test-annotation: global roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: 'certificate-operator-leader-election-role' subjects: -- kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' + - kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' --- -# Source: keptn/charts/certManager/templates/certificate-operator-role-binding-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -15302,18 +15302,18 @@ metadata: annotations: globalAnnotation1: test1 globalAnnotation2: test2 - test-annotation: local + test-annotation: global labels: app.kubernetes.io/component: rbac app.kubernetes.io/created-by: certificate-operator app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 globalLabel1: test1 globalLabel2: test2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role @@ -15612,7 +15612,7 @@ spec: protocol: TCP targetPort: 9443 --- -# Source: keptn/charts/certManager/templates/deployment.yaml +# Source: keptn/charts/keptn-cert-manager/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: @@ -15621,30 +15621,30 @@ metadata: annotations: globalAnnotation1: test1 globalAnnotation2: test2 - test-annotation: local + test-annotation: global labels: app.kubernetes.io/component: keptn-cert-manager app.kubernetes.io/part-of: keptn control-plane: certificate-operator app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 globalLabel1: test1 globalLabel2: test2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 spec: replicas: 1 selector: matchLabels: control-plane: certificate-operator - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/instance: keptn-test template: metadata: labels: control-plane: certificate-operator - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/instance: keptn-test annotations: kubectl.kubernetes.io/default-container: certificate-operator @@ -15665,7 +15665,7 @@ spec: value: "true" - name: KUBERNETES_CLUSTER_DOMAIN value: cluster.local - image: local-registry.io/keptn/certificate-operator:v2.2.2 + image: global-registry.io/keptn/certificate-operator:v2.2.2 imagePullPolicy: Always name: certificate-operator resources: diff --git a/.github/scripts/.helm-tests/metrics-only-with-apiservice-disabled/result.yaml b/.github/scripts/.helm-tests/metrics-only-with-apiservice-disabled/result.yaml index b86decd77c..f0ef7b5334 100644 --- a/.github/scripts/.helm-tests/metrics-only-with-apiservice-disabled/result.yaml +++ b/.github/scripts/.helm-tests/metrics-only-with-apiservice-disabled/result.yaml @@ -1,4 +1,19 @@ --- +# Source: keptn/charts/keptn-cert-manager/templates/service-account.yaml +apiVersion: v1 +kind: ServiceAccount +metadata: + name: certificate-operator + namespace: "helmtests" + labels: + app.kubernetes.io/component: rbac + app.kubernetes.io/part-of: keptn + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +--- # Source: keptn/charts/metricsOperator/templates/metrics-operator-service-account.yaml apiVersion: v1 kind: ServiceAccount @@ -2798,6 +2813,49 @@ spec: subresources: status: {} --- +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: certificate-operator-role + namespace: "helmtests" + labels: + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +rules: +- apiGroups: + - admissionregistration.k8s.io + resources: + - mutatingwebhookconfigurations + - validatingwebhookconfigurations + verbs: + - get + - list + - patch + - update + - watch +- apiGroups: + - apiextensions.k8s.io + resources: + - customresourcedefinitions + verbs: + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - get + - list + - watch +--- # Source: keptn/charts/metricsOperator/templates/metrics-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole @@ -2888,6 +2946,30 @@ rules: - list - watch --- +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: certificate-operator-rolebinding + namespace: "helmtests" + labels: + app.kubernetes.io/component: rbac + app.kubernetes.io/created-by: certificate-operator + app.kubernetes.io/part-of: keptn + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: 'certificate-operator-role' +subjects: +- kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' +--- # Source: keptn/charts/metricsOperator/templates/metrics-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding @@ -2930,6 +3012,83 @@ subjects: name: 'metrics-operator' namespace: 'helmtests' --- +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: certificate-operator-leader-election-role + namespace: "helmtests" + labels: + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +rules: +- apiGroups: + - "" + resources: + - configmaps + verbs: + - get + - list + - watch + - create + - update + - patch + - delete +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - get + - list + - watch + - create + - update + - patch + - delete +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +--- +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: certificate-operator-role + namespace: "helmtests" + labels: + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +rules: +- apiGroups: + - "" + resources: + - secrets + verbs: + - create + - list + - watch +- apiGroups: + - "" + resourceNames: + - keptn-certs + resources: + - secrets + verbs: + - get + - patch + - update +--- # Source: keptn/charts/metricsOperator/templates/metrics-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role @@ -2975,6 +3134,54 @@ rules: - create - patch --- +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: certificate-operator-leader-election-rolebinding + namespace: "helmtests" + labels: + app.kubernetes.io/component: rbac + app.kubernetes.io/created-by: certificate-operator + app.kubernetes.io/part-of: keptn + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: 'certificate-operator-leader-election-role' +subjects: + - kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' +--- +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: certificate-operator-role-binding + namespace: "helmtests" + labels: + app.kubernetes.io/component: rbac + app.kubernetes.io/created-by: certificate-operator + app.kubernetes.io/part-of: keptn + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: 'certificate-operator-role' +subjects: +- kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' +--- # Source: keptn/charts/metricsOperator/templates/metrics-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding @@ -3072,6 +3279,91 @@ spec: protocol: TCP targetPort: 9443 --- +# Source: keptn/charts/keptn-cert-manager/templates/deployment.yaml +apiVersion: apps/v1 +kind: Deployment +metadata: + name: certificate-operator + namespace: "helmtests" + labels: + app.kubernetes.io/component: keptn-cert-manager + app.kubernetes.io/part-of: keptn + control-plane: certificate-operator + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +spec: + replicas: 1 + selector: + matchLabels: + control-plane: certificate-operator + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/instance: keptn-test + template: + metadata: + labels: + control-plane: certificate-operator + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/instance: keptn-test + annotations: + kubectl.kubernetes.io/default-container: certificate-operator + spec: + containers: + - args: + - --leader-elect + command: + - /manager + env: + - name: NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: LABEL_SELECTOR_KEY + value: "keptn.sh/inject-cert" + - name: LABEL_SELECTOR_VALUE + value: "true" + - name: KUBERNETES_CLUSTER_DOMAIN + value: cluster.local + image: ghcr.io/keptn/certificate-operator:v2.2.2 + imagePullPolicy: IfNotPresent + name: certificate-operator + resources: + limits: + cpu: 25m + memory: 64Mi + requests: + cpu: 5m + memory: 16Mi + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + readOnlyRootFilesystem: true + runAsGroup: 65532 + runAsUser: 65532 + seccompProfile: + type: RuntimeDefault + livenessProbe: + httpGet: + path: /healthz + port: 8081 + initialDelaySeconds: 15 + periodSeconds: 20 + readinessProbe: + httpGet: + path: /readyz + port: 8081 + initialDelaySeconds: 5 + periodSeconds: 10 + + securityContext: + runAsNonRoot: true + serviceAccountName: certificate-operator + terminationGracePeriodSeconds: 10 +--- # Source: keptn/charts/metricsOperator/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment diff --git a/.github/scripts/.helm-tests/metrics-only/result.yaml b/.github/scripts/.helm-tests/metrics-only/result.yaml index 310d4ae0ad..690a06c9d9 100644 --- a/.github/scripts/.helm-tests/metrics-only/result.yaml +++ b/.github/scripts/.helm-tests/metrics-only/result.yaml @@ -1,4 +1,19 @@ --- +# Source: keptn/charts/keptn-cert-manager/templates/service-account.yaml +apiVersion: v1 +kind: ServiceAccount +metadata: + name: certificate-operator + namespace: "helmtests" + labels: + app.kubernetes.io/component: rbac + app.kubernetes.io/part-of: keptn + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +--- # Source: keptn/charts/metricsOperator/templates/metrics-operator-service-account.yaml apiVersion: v1 kind: ServiceAccount @@ -2798,6 +2813,49 @@ spec: subresources: status: {} --- +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + name: certificate-operator-role + namespace: "helmtests" + labels: + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +rules: +- apiGroups: + - admissionregistration.k8s.io + resources: + - mutatingwebhookconfigurations + - validatingwebhookconfigurations + verbs: + - get + - list + - patch + - update + - watch +- apiGroups: + - apiextensions.k8s.io + resources: + - customresourcedefinitions + verbs: + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + resources: + - deployments + verbs: + - get + - list + - watch +--- # Source: keptn/charts/metricsOperator/templates/metrics-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole @@ -2888,6 +2946,30 @@ rules: - list - watch --- +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + name: certificate-operator-rolebinding + namespace: "helmtests" + labels: + app.kubernetes.io/component: rbac + app.kubernetes.io/created-by: certificate-operator + app.kubernetes.io/part-of: keptn + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: 'certificate-operator-role' +subjects: +- kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' +--- # Source: keptn/charts/metricsOperator/templates/metrics-operator-hpa-controller-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding @@ -2951,6 +3033,83 @@ subjects: name: 'metrics-operator' namespace: 'helmtests' --- +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: certificate-operator-leader-election-role + namespace: "helmtests" + labels: + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +rules: +- apiGroups: + - "" + resources: + - configmaps + verbs: + - get + - list + - watch + - create + - update + - patch + - delete +- apiGroups: + - coordination.k8s.io + resources: + - leases + verbs: + - get + - list + - watch + - create + - update + - patch + - delete +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch +--- +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + name: certificate-operator-role + namespace: "helmtests" + labels: + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +rules: +- apiGroups: + - "" + resources: + - secrets + verbs: + - create + - list + - watch +- apiGroups: + - "" + resourceNames: + - keptn-certs + resources: + - secrets + verbs: + - get + - patch + - update +--- # Source: keptn/charts/metricsOperator/templates/metrics-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role @@ -2996,6 +3155,54 @@ rules: - create - patch --- +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: certificate-operator-leader-election-rolebinding + namespace: "helmtests" + labels: + app.kubernetes.io/component: rbac + app.kubernetes.io/created-by: certificate-operator + app.kubernetes.io/part-of: keptn + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: 'certificate-operator-leader-election-role' +subjects: + - kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' +--- +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + name: certificate-operator-role-binding + namespace: "helmtests" + labels: + app.kubernetes.io/component: rbac + app.kubernetes.io/created-by: certificate-operator + app.kubernetes.io/part-of: keptn + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: 'certificate-operator-role' +subjects: +- kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' +--- # Source: keptn/charts/metricsOperator/templates/metrics-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding @@ -3093,6 +3300,91 @@ spec: protocol: TCP targetPort: 9443 --- +# Source: keptn/charts/keptn-cert-manager/templates/deployment.yaml +apiVersion: apps/v1 +kind: Deployment +metadata: + name: certificate-operator + namespace: "helmtests" + labels: + app.kubernetes.io/component: keptn-cert-manager + app.kubernetes.io/part-of: keptn + control-plane: certificate-operator + app.kubernetes.io/instance: keptn-test + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/version: v2.2.2 + helm.sh/chart: keptn-cert-manager-0.2.6 +spec: + replicas: 1 + selector: + matchLabels: + control-plane: certificate-operator + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/instance: keptn-test + template: + metadata: + labels: + control-plane: certificate-operator + app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/instance: keptn-test + annotations: + kubectl.kubernetes.io/default-container: certificate-operator + spec: + containers: + - args: + - --leader-elect + command: + - /manager + env: + - name: NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: LABEL_SELECTOR_KEY + value: "keptn.sh/inject-cert" + - name: LABEL_SELECTOR_VALUE + value: "true" + - name: KUBERNETES_CLUSTER_DOMAIN + value: cluster.local + image: ghcr.io/keptn/certificate-operator:v2.2.2 + imagePullPolicy: IfNotPresent + name: certificate-operator + resources: + limits: + cpu: 25m + memory: 64Mi + requests: + cpu: 5m + memory: 16Mi + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + readOnlyRootFilesystem: true + runAsGroup: 65532 + runAsUser: 65532 + seccompProfile: + type: RuntimeDefault + livenessProbe: + httpGet: + path: /healthz + port: 8081 + initialDelaySeconds: 15 + periodSeconds: 20 + readinessProbe: + httpGet: + path: /readyz + port: 8081 + initialDelaySeconds: 5 + periodSeconds: 10 + + securityContext: + runAsNonRoot: true + serviceAccountName: certificate-operator + terminationGracePeriodSeconds: 10 +--- # Source: keptn/charts/metricsOperator/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment diff --git a/.github/scripts/.helm-tests/metrics-with-certs/result.yaml b/.github/scripts/.helm-tests/metrics-with-certs/result.yaml index be07b7647c..bdb8614c31 100644 --- a/.github/scripts/.helm-tests/metrics-with-certs/result.yaml +++ b/.github/scripts/.helm-tests/metrics-with-certs/result.yaml @@ -1,5 +1,5 @@ --- -# Source: keptn/charts/certManager/templates/service-account.yaml +# Source: keptn/charts/keptn-cert-manager/templates/service-account.yaml apiVersion: v1 kind: ServiceAccount metadata: @@ -10,9 +10,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 --- # Source: keptn/charts/metricsOperator/templates/metrics-operator-service-account.yaml apiVersion: v1 @@ -2813,7 +2813,7 @@ spec: subresources: status: {} --- -# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: @@ -2822,9 +2822,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 rules: - apiGroups: - admissionregistration.k8s.io @@ -2946,7 +2946,7 @@ rules: - list - watch --- -# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: @@ -2958,9 +2958,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -3033,7 +3033,7 @@ subjects: name: 'metrics-operator' namespace: 'helmtests' --- -# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -3042,9 +3042,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 rules: - apiGroups: - "" @@ -3078,7 +3078,7 @@ rules: - create - patch --- -# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -3087,9 +3087,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 rules: - apiGroups: - "" @@ -3155,7 +3155,7 @@ rules: - create - patch --- -# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -3167,19 +3167,19 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: 'certificate-operator-leader-election-role' subjects: -- kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' + - kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' --- -# Source: keptn/charts/certManager/templates/certificate-operator-role-binding-rbac.yaml +# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -3191,9 +3191,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role @@ -3300,7 +3300,7 @@ spec: protocol: TCP targetPort: 9443 --- -# Source: keptn/charts/certManager/templates/deployment.yaml +# Source: keptn/charts/keptn-cert-manager/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: @@ -3312,21 +3312,21 @@ metadata: control-plane: certificate-operator app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: cert-manager-0.2.5 + helm.sh/chart: keptn-cert-manager-0.2.6 spec: replicas: 1 selector: matchLabels: control-plane: certificate-operator - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/instance: keptn-test template: metadata: labels: control-plane: certificate-operator - app.kubernetes.io/name: cert-manager + app.kubernetes.io/name: keptn-cert-manager app.kubernetes.io/instance: keptn-test annotations: kubectl.kubernetes.io/default-container: certificate-operator @@ -3347,7 +3347,7 @@ spec: value: "true" - name: KUBERNETES_CLUSTER_DOMAIN value: cluster.local - image: ghcr.io/keptn/certificate-operator:v0.0.0 + image: ghcr.io/keptn/certificate-operator:v2.2.2 imagePullPolicy: IfNotPresent name: certificate-operator resources: diff --git a/metrics-operator/chart/README.md b/metrics-operator/chart/README.md index 94b89619d1..936cbf0e31 100644 --- a/metrics-operator/chart/README.md +++ b/metrics-operator/chart/README.md @@ -79,7 +79,7 @@ Prometheus, Dynatrace, DataDog and K8s metric server... | `env.analysisControllerLogLevel` | sets the log level of Analysis Controller | `0` | | `image.registry` | specify the container registry for the metrics-operator image | `""` | | `image.repository` | specify registry for manager image | `keptn/metrics-operator` | -| `image.tag` | select tag for manager image | `v1.1.0` | +| `image.tag` | select tag for manager image | `v1.1.1` | | `image.imagePullPolicy` | specify pull policy for the manager image. This overrides global values | `""` | | `livenessProbe` | custom livenessprobe for manager container | | | `readinessProbe` | custom readinessprobe for manager container | | From 4059432be3ccb58d266150b9ae94a2a15cda4275 Mon Sep 17 00:00:00 2001 From: Moritz Wiesinger Date: Thu, 31 Oct 2024 11:12:04 +0100 Subject: [PATCH 3/6] fix chart version Signed-off-by: Moritz Wiesinger --- metrics-operator/chart/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metrics-operator/chart/Chart.yaml b/metrics-operator/chart/Chart.yaml index ff6520b1ec..af78e94626 100644 --- a/metrics-operator/chart/Chart.yaml +++ b/metrics-operator/chart/Chart.yaml @@ -22,8 +22,8 @@ annotations: artifacthub.io/operator: 'true' kubeVersion: '>= 1.24.0-0' type: application -version: 1.1.1 -appVersion: v1.1.0 +version: 0.3.1 +appVersion: v1.1.1 dependencies: - name: common repository: https://charts.lifecycle.keptn.sh From 8d25d01bd4bff54071f6b253f7368a46cb42b721 Mon Sep 17 00:00:00 2001 From: Moritz Wiesinger Date: Thu, 31 Oct 2024 11:15:35 +0100 Subject: [PATCH 4/6] revert chart version bump Signed-off-by: Moritz Wiesinger --- metrics-operator/chart/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics-operator/chart/Chart.yaml b/metrics-operator/chart/Chart.yaml index af78e94626..90c0624df5 100644 --- a/metrics-operator/chart/Chart.yaml +++ b/metrics-operator/chart/Chart.yaml @@ -22,7 +22,7 @@ annotations: artifacthub.io/operator: 'true' kubeVersion: '>= 1.24.0-0' type: application -version: 0.3.1 +version: 0.3.0 appVersion: v1.1.1 dependencies: - name: common From fd825f76eec407114150d1939a9955b5e2b24c58 Mon Sep 17 00:00:00 2001 From: Moritz Wiesinger Date: Thu, 31 Oct 2024 11:18:24 +0100 Subject: [PATCH 5/6] regenerate chart results Signed-off-by: Moritz Wiesinger --- .../scripts/.helm-tests/Openshift/result.yaml | 102 +++--- .../.helm-tests/certificates-only/result.yaml | 60 ++-- .../scripts/.helm-tests/default/result.yaml | 102 +++--- .../.helm-tests/lifecycle-only/result.yaml | 292 --------------- .../lifecycle-with-certs/result.yaml | 60 ++-- .../local-global-precedence/result.yaml | 122 +++---- .../result.yaml | 328 +---------------- .../.helm-tests/metrics-only/result.yaml | 334 ++---------------- .../metrics-with-certs/result.yaml | 102 +++--- 9 files changed, 313 insertions(+), 1189 deletions(-) diff --git a/.github/scripts/.helm-tests/Openshift/result.yaml b/.github/scripts/.helm-tests/Openshift/result.yaml index e2a414c098..77f4d1b6c4 100644 --- a/.github/scripts/.helm-tests/Openshift/result.yaml +++ b/.github/scripts/.helm-tests/Openshift/result.yaml @@ -1,5 +1,5 @@ --- -# Source: keptn/charts/keptn-cert-manager/templates/service-account.yaml +# Source: keptn/charts/certManager/templates/service-account.yaml apiVersion: v1 kind: ServiceAccount metadata: @@ -10,9 +10,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 --- # Source: keptn/charts/lifecycleOperator/templates/deployment.yaml apiVersion: v1 @@ -50,7 +50,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 --- # Source: keptn/charts/lifecycleOperator/templates/lifecycle-manager-config.yaml @@ -114,7 +114,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 data: controller_manager_config.yaml: | @@ -11404,7 +11404,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -11922,7 +11922,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -12953,7 +12953,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -13162,7 +13162,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -13875,7 +13875,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -14150,7 +14150,7 @@ spec: subresources: status: {} --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: @@ -14159,9 +14159,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 rules: - apiGroups: - admissionregistration.k8s.io @@ -14598,7 +14598,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 rules: - apiGroups: @@ -14666,7 +14666,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 rules: - apiGroups: @@ -14678,7 +14678,7 @@ rules: - list - watch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: @@ -14690,9 +14690,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -14754,7 +14754,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -14775,7 +14775,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -14796,7 +14796,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -14807,7 +14807,7 @@ subjects: name: 'metrics-operator' namespace: 'helmtests' --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -14816,9 +14816,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 rules: - apiGroups: - "" @@ -14852,7 +14852,7 @@ rules: - create - patch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -14861,9 +14861,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 rules: - apiGroups: - "" @@ -14987,7 +14987,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 rules: - apiGroups: @@ -15022,7 +15022,7 @@ rules: - create - patch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -15034,19 +15034,19 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: 'certificate-operator-leader-election-role' subjects: - - kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' +- kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-role-binding-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -15058,9 +15058,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role @@ -15164,7 +15164,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -15185,7 +15185,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -15255,7 +15255,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: type: ClusterIP @@ -15286,7 +15286,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: type: ClusterIP @@ -15299,7 +15299,7 @@ spec: protocol: TCP targetPort: 9443 --- -# Source: keptn/charts/keptn-cert-manager/templates/deployment.yaml +# Source: keptn/charts/certManager/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: @@ -15311,21 +15311,21 @@ metadata: control-plane: certificate-operator app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 spec: replicas: 1 selector: matchLabels: control-plane: certificate-operator - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/instance: keptn-test template: metadata: labels: control-plane: certificate-operator - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/instance: keptn-test annotations: kubectl.kubernetes.io/default-container: certificate-operator @@ -15605,7 +15605,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: replicas: 1 @@ -15653,7 +15653,7 @@ spec: value: cluster.local - name: CERT_MANAGER_ENABLED value: "true" - image: ghcr.io/keptn/metrics-operator:v1.1.0 + image: ghcr.io/keptn/metrics-operator:v1.1.1 imagePullPolicy: IfNotPresent name: metrics-operator ports: @@ -15721,7 +15721,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: custom.metrics.k8s.io @@ -15743,7 +15743,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: custom.metrics.k8s.io @@ -15850,7 +15850,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 webhooks: - admissionReviewVersions: diff --git a/.github/scripts/.helm-tests/certificates-only/result.yaml b/.github/scripts/.helm-tests/certificates-only/result.yaml index 9baa00a520..7e89e8e605 100644 --- a/.github/scripts/.helm-tests/certificates-only/result.yaml +++ b/.github/scripts/.helm-tests/certificates-only/result.yaml @@ -1,5 +1,5 @@ --- -# Source: keptn/charts/keptn-cert-manager/templates/service-account.yaml +# Source: keptn/charts/certManager/templates/service-account.yaml apiVersion: v1 kind: ServiceAccount metadata: @@ -10,11 +10,11 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: @@ -23,9 +23,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 rules: - apiGroups: - admissionregistration.k8s.io @@ -57,7 +57,7 @@ rules: - list - watch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: @@ -69,9 +69,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -81,7 +81,7 @@ subjects: name: 'certificate-operator' namespace: 'helmtests' --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -90,9 +90,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 rules: - apiGroups: - "" @@ -126,7 +126,7 @@ rules: - create - patch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -135,9 +135,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 rules: - apiGroups: - "" @@ -158,7 +158,7 @@ rules: - patch - update --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -170,19 +170,19 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: 'certificate-operator-leader-election-role' subjects: - - kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' +- kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-role-binding-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -194,9 +194,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role @@ -206,7 +206,7 @@ subjects: name: 'certificate-operator' namespace: 'helmtests' --- -# Source: keptn/charts/keptn-cert-manager/templates/deployment.yaml +# Source: keptn/charts/certManager/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: @@ -218,21 +218,21 @@ metadata: control-plane: certificate-operator app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 spec: replicas: 1 selector: matchLabels: control-plane: certificate-operator - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/instance: keptn-test template: metadata: labels: control-plane: certificate-operator - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/instance: keptn-test annotations: kubectl.kubernetes.io/default-container: certificate-operator @@ -253,7 +253,7 @@ spec: value: "true" - name: KUBERNETES_CLUSTER_DOMAIN value: cluster.local - image: ghcr.io/keptn/certificate-operator:v2.2.2 + image: ghcr.io/keptn/certificate-operator:v0.0.0 imagePullPolicy: IfNotPresent name: certificate-operator resources: diff --git a/.github/scripts/.helm-tests/default/result.yaml b/.github/scripts/.helm-tests/default/result.yaml index f827bc9091..8137fc2c64 100644 --- a/.github/scripts/.helm-tests/default/result.yaml +++ b/.github/scripts/.helm-tests/default/result.yaml @@ -1,5 +1,5 @@ --- -# Source: keptn/charts/keptn-cert-manager/templates/service-account.yaml +# Source: keptn/charts/certManager/templates/service-account.yaml apiVersion: v1 kind: ServiceAccount metadata: @@ -10,9 +10,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 --- # Source: keptn/charts/lifecycleOperator/templates/deployment.yaml apiVersion: v1 @@ -50,7 +50,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 --- # Source: keptn/charts/lifecycleOperator/templates/lifecycle-manager-config.yaml @@ -114,7 +114,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 data: controller_manager_config.yaml: | @@ -11404,7 +11404,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -11922,7 +11922,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -12953,7 +12953,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -13162,7 +13162,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -13875,7 +13875,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -14150,7 +14150,7 @@ spec: subresources: status: {} --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: @@ -14159,9 +14159,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 rules: - apiGroups: - admissionregistration.k8s.io @@ -14598,7 +14598,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 rules: - apiGroups: @@ -14666,7 +14666,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 rules: - apiGroups: @@ -14678,7 +14678,7 @@ rules: - list - watch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: @@ -14690,9 +14690,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -14754,7 +14754,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -14775,7 +14775,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -14796,7 +14796,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -14807,7 +14807,7 @@ subjects: name: 'metrics-operator' namespace: 'helmtests' --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -14816,9 +14816,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 rules: - apiGroups: - "" @@ -14852,7 +14852,7 @@ rules: - create - patch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -14861,9 +14861,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 rules: - apiGroups: - "" @@ -14987,7 +14987,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 rules: - apiGroups: @@ -15022,7 +15022,7 @@ rules: - create - patch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -15034,19 +15034,19 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: 'certificate-operator-leader-election-role' subjects: - - kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' +- kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-role-binding-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -15058,9 +15058,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role @@ -15164,7 +15164,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -15185,7 +15185,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -15255,7 +15255,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: type: ClusterIP @@ -15286,7 +15286,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: type: ClusterIP @@ -15299,7 +15299,7 @@ spec: protocol: TCP targetPort: 9443 --- -# Source: keptn/charts/keptn-cert-manager/templates/deployment.yaml +# Source: keptn/charts/certManager/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: @@ -15311,21 +15311,21 @@ metadata: control-plane: certificate-operator app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 spec: replicas: 1 selector: matchLabels: control-plane: certificate-operator - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/instance: keptn-test template: metadata: labels: control-plane: certificate-operator - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/instance: keptn-test annotations: kubectl.kubernetes.io/default-container: certificate-operator @@ -15346,7 +15346,7 @@ spec: value: "true" - name: KUBERNETES_CLUSTER_DOMAIN value: cluster.local - image: ghcr.io/keptn/certificate-operator:v2.2.2 + image: ghcr.io/keptn/certificate-operator:v0.0.0 imagePullPolicy: IfNotPresent name: certificate-operator resources: @@ -15610,7 +15610,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: replicas: 1 @@ -15728,7 +15728,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: custom.metrics.k8s.io @@ -15750,7 +15750,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: custom.metrics.k8s.io @@ -15857,7 +15857,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 webhooks: - admissionReviewVersions: diff --git a/.github/scripts/.helm-tests/lifecycle-only/result.yaml b/.github/scripts/.helm-tests/lifecycle-only/result.yaml index a6bffddd4b..aa3c515c7a 100644 --- a/.github/scripts/.helm-tests/lifecycle-only/result.yaml +++ b/.github/scripts/.helm-tests/lifecycle-only/result.yaml @@ -1,19 +1,4 @@ --- -# Source: keptn/charts/keptn-cert-manager/templates/service-account.yaml -apiVersion: v1 -kind: ServiceAccount -metadata: - name: certificate-operator - namespace: "helmtests" - labels: - app.kubernetes.io/component: rbac - app.kubernetes.io/part-of: keptn - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 ---- # Source: keptn/charts/lifecycleOperator/templates/deployment.yaml apiVersion: v1 kind: ServiceAccount @@ -11351,49 +11336,6 @@ spec: subresources: status: {} --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: certificate-operator-role - namespace: "helmtests" - labels: - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -rules: -- apiGroups: - - admissionregistration.k8s.io - resources: - - mutatingwebhookconfigurations - - validatingwebhookconfigurations - verbs: - - get - - list - - patch - - update - - watch -- apiGroups: - - apiextensions.k8s.io - resources: - - customresourcedefinitions - verbs: - - get - - list - - patch - - update - - watch -- apiGroups: - - apps - resources: - - deployments - verbs: - - get - - list - - watch ---- # Source: keptn/charts/lifecycleOperator/templates/keptn-scheduler-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole @@ -11789,30 +11731,6 @@ rules: verbs: - '*' --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: certificate-operator-rolebinding - namespace: "helmtests" - labels: - app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: certificate-operator - app.kubernetes.io/part-of: keptn - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: 'certificate-operator-role' -subjects: -- kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' ---- # Source: keptn/charts/lifecycleOperator/templates/keptn-scheduler-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding @@ -11855,83 +11773,6 @@ subjects: name: 'lifecycle-operator' namespace: 'helmtests' --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - name: certificate-operator-leader-election-role - namespace: "helmtests" - labels: - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -rules: -- apiGroups: - - "" - resources: - - configmaps - verbs: - - get - - list - - watch - - create - - update - - patch - - delete -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - get - - list - - watch - - create - - update - - patch - - delete -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch ---- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - name: certificate-operator-role - namespace: "helmtests" - labels: - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -rules: -- apiGroups: - - "" - resources: - - secrets - verbs: - - create - - list - - watch -- apiGroups: - - "" - resourceNames: - - keptn-certs - resources: - - secrets - verbs: - - get - - patch - - update ---- # Source: keptn/charts/lifecycleOperator/templates/lifecycle-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role @@ -12025,54 +11866,6 @@ rules: - create - patch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: certificate-operator-leader-election-rolebinding - namespace: "helmtests" - labels: - app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: certificate-operator - app.kubernetes.io/part-of: keptn - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: 'certificate-operator-leader-election-role' -subjects: - - kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' ---- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: certificate-operator-role-binding - namespace: "helmtests" - labels: - app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: certificate-operator - app.kubernetes.io/part-of: keptn - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: 'certificate-operator-role' -subjects: -- kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' ---- # Source: keptn/charts/lifecycleOperator/templates/extension-apiserver-authentication-reader-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding @@ -12205,91 +11998,6 @@ spec: protocol: TCP targetPort: 9443 --- -# Source: keptn/charts/keptn-cert-manager/templates/deployment.yaml -apiVersion: apps/v1 -kind: Deployment -metadata: - name: certificate-operator - namespace: "helmtests" - labels: - app.kubernetes.io/component: keptn-cert-manager - app.kubernetes.io/part-of: keptn - control-plane: certificate-operator - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -spec: - replicas: 1 - selector: - matchLabels: - control-plane: certificate-operator - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/instance: keptn-test - template: - metadata: - labels: - control-plane: certificate-operator - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/instance: keptn-test - annotations: - kubectl.kubernetes.io/default-container: certificate-operator - spec: - containers: - - args: - - --leader-elect - command: - - /manager - env: - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: LABEL_SELECTOR_KEY - value: "keptn.sh/inject-cert" - - name: LABEL_SELECTOR_VALUE - value: "true" - - name: KUBERNETES_CLUSTER_DOMAIN - value: cluster.local - image: ghcr.io/keptn/certificate-operator:v2.2.2 - imagePullPolicy: IfNotPresent - name: certificate-operator - resources: - limits: - cpu: 25m - memory: 64Mi - requests: - cpu: 5m - memory: 16Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - ALL - readOnlyRootFilesystem: true - runAsGroup: 65532 - runAsUser: 65532 - seccompProfile: - type: RuntimeDefault - livenessProbe: - httpGet: - path: /healthz - port: 8081 - initialDelaySeconds: 15 - periodSeconds: 20 - readinessProbe: - httpGet: - path: /readyz - port: 8081 - initialDelaySeconds: 5 - periodSeconds: 10 - - securityContext: - runAsNonRoot: true - serviceAccountName: certificate-operator - terminationGracePeriodSeconds: 10 ---- # Source: keptn/charts/lifecycleOperator/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment diff --git a/.github/scripts/.helm-tests/lifecycle-with-certs/result.yaml b/.github/scripts/.helm-tests/lifecycle-with-certs/result.yaml index 02df0a091b..821f8bb1a9 100644 --- a/.github/scripts/.helm-tests/lifecycle-with-certs/result.yaml +++ b/.github/scripts/.helm-tests/lifecycle-with-certs/result.yaml @@ -1,5 +1,5 @@ --- -# Source: keptn/charts/keptn-cert-manager/templates/service-account.yaml +# Source: keptn/charts/certManager/templates/service-account.yaml apiVersion: v1 kind: ServiceAccount metadata: @@ -10,9 +10,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 --- # Source: keptn/charts/lifecycleOperator/templates/deployment.yaml apiVersion: v1 @@ -11351,7 +11351,7 @@ spec: subresources: status: {} --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: @@ -11360,9 +11360,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 rules: - apiGroups: - admissionregistration.k8s.io @@ -11789,7 +11789,7 @@ rules: verbs: - '*' --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: @@ -11801,9 +11801,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -11855,7 +11855,7 @@ subjects: name: 'lifecycle-operator' namespace: 'helmtests' --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -11864,9 +11864,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 rules: - apiGroups: - "" @@ -11900,7 +11900,7 @@ rules: - create - patch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -11909,9 +11909,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 rules: - apiGroups: - "" @@ -12025,7 +12025,7 @@ rules: - create - patch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -12037,19 +12037,19 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: 'certificate-operator-leader-election-role' subjects: - - kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' +- kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-role-binding-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -12061,9 +12061,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role @@ -12205,7 +12205,7 @@ spec: protocol: TCP targetPort: 9443 --- -# Source: keptn/charts/keptn-cert-manager/templates/deployment.yaml +# Source: keptn/charts/certManager/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: @@ -12217,21 +12217,21 @@ metadata: control-plane: certificate-operator app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 spec: replicas: 1 selector: matchLabels: control-plane: certificate-operator - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/instance: keptn-test template: metadata: labels: control-plane: certificate-operator - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/instance: keptn-test annotations: kubectl.kubernetes.io/default-container: certificate-operator @@ -12252,7 +12252,7 @@ spec: value: "true" - name: KUBERNETES_CLUSTER_DOMAIN value: cluster.local - image: ghcr.io/keptn/certificate-operator:v2.2.2 + image: ghcr.io/keptn/certificate-operator:v0.0.0 imagePullPolicy: IfNotPresent name: certificate-operator resources: diff --git a/.github/scripts/.helm-tests/local-global-precedence/result.yaml b/.github/scripts/.helm-tests/local-global-precedence/result.yaml index 7433c8b476..9857fa2244 100644 --- a/.github/scripts/.helm-tests/local-global-precedence/result.yaml +++ b/.github/scripts/.helm-tests/local-global-precedence/result.yaml @@ -1,5 +1,5 @@ --- -# Source: keptn/charts/keptn-cert-manager/templates/service-account.yaml +# Source: keptn/charts/certManager/templates/service-account.yaml apiVersion: v1 kind: ServiceAccount metadata: @@ -8,17 +8,17 @@ metadata: annotations: globalAnnotation1: test1 globalAnnotation2: test2 - test-annotation: global + test-annotation: local labels: app.kubernetes.io/component: rbac app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 globalLabel1: test1 globalLabel2: test2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 --- # Source: keptn/charts/lifecycleOperator/templates/deployment.yaml apiVersion: v1 @@ -71,7 +71,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -153,7 +153,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -11514,7 +11514,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -12038,7 +12038,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -13075,7 +13075,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -13290,7 +13290,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -14009,7 +14009,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -14286,7 +14286,7 @@ spec: subresources: status: {} --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: @@ -14295,15 +14295,15 @@ metadata: annotations: globalAnnotation1: test1 globalAnnotation2: test2 - test-annotation: global + test-annotation: local labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 globalLabel1: test1 globalLabel2: test2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 rules: - apiGroups: - admissionregistration.k8s.io @@ -14762,7 +14762,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -14836,7 +14836,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -14850,7 +14850,7 @@ rules: - list - watch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: @@ -14859,18 +14859,18 @@ metadata: annotations: globalAnnotation1: test1 globalAnnotation2: test2 - test-annotation: global + test-annotation: local labels: app.kubernetes.io/component: rbac app.kubernetes.io/created-by: certificate-operator app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 globalLabel1: test1 globalLabel2: test2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -14948,7 +14948,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -14975,7 +14975,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -15002,7 +15002,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -15015,7 +15015,7 @@ subjects: name: 'metrics-operator' namespace: 'helmtests' --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -15024,15 +15024,15 @@ metadata: annotations: globalAnnotation1: test1 globalAnnotation2: test2 - test-annotation: global + test-annotation: local labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 globalLabel1: test1 globalLabel2: test2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 rules: - apiGroups: - "" @@ -15066,7 +15066,7 @@ rules: - create - patch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -15075,15 +15075,15 @@ metadata: annotations: globalAnnotation1: test1 globalAnnotation2: test2 - test-annotation: global + test-annotation: local labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 globalLabel1: test1 globalLabel2: test2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 rules: - apiGroups: - "" @@ -15223,7 +15223,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -15260,7 +15260,7 @@ rules: - create - patch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -15269,31 +15269,31 @@ metadata: annotations: globalAnnotation1: test1 globalAnnotation2: test2 - test-annotation: global + test-annotation: local labels: app.kubernetes.io/component: rbac app.kubernetes.io/created-by: certificate-operator app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 globalLabel1: test1 globalLabel2: test2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 globalAnnotation1: test1 globalAnnotation2: test2 - test-annotation: global + test-annotation: local roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: 'certificate-operator-leader-election-role' subjects: - - kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' +- kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-role-binding-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -15302,18 +15302,18 @@ metadata: annotations: globalAnnotation1: test1 globalAnnotation2: test2 - test-annotation: global + test-annotation: local labels: app.kubernetes.io/component: rbac app.kubernetes.io/created-by: certificate-operator app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 globalLabel1: test1 globalLabel2: test2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role @@ -15445,7 +15445,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -15472,7 +15472,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -15560,7 +15560,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -15597,7 +15597,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -15612,7 +15612,7 @@ spec: protocol: TCP targetPort: 9443 --- -# Source: keptn/charts/keptn-cert-manager/templates/deployment.yaml +# Source: keptn/charts/certManager/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: @@ -15621,30 +15621,30 @@ metadata: annotations: globalAnnotation1: test1 globalAnnotation2: test2 - test-annotation: global + test-annotation: local labels: app.kubernetes.io/component: keptn-cert-manager app.kubernetes.io/part-of: keptn control-plane: certificate-operator app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 globalLabel1: test1 globalLabel2: test2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 spec: replicas: 1 selector: matchLabels: control-plane: certificate-operator - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/instance: keptn-test template: metadata: labels: control-plane: certificate-operator - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/instance: keptn-test annotations: kubectl.kubernetes.io/default-container: certificate-operator @@ -15665,7 +15665,7 @@ spec: value: "true" - name: KUBERNETES_CLUSTER_DOMAIN value: cluster.local - image: global-registry.io/keptn/certificate-operator:v2.2.2 + image: local-registry.io/keptn/certificate-operator:v2.2.2 imagePullPolicy: Always name: certificate-operator resources: @@ -15949,7 +15949,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -15999,7 +15999,7 @@ spec: value: cluster.local - name: CERT_MANAGER_ENABLED value: "true" - image: local-registry.io/keptn/metrics-operator:v1.1.0 + image: local-registry.io/keptn/metrics-operator:v1.1.1 imagePullPolicy: Never name: metrics-operator ports: @@ -16075,7 +16075,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -16103,7 +16103,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 @@ -16231,7 +16231,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 globalLabel1: test1 globalLabel2: test2 helm.sh/chart: metrics-operator-0.3.0 diff --git a/.github/scripts/.helm-tests/metrics-only-with-apiservice-disabled/result.yaml b/.github/scripts/.helm-tests/metrics-only-with-apiservice-disabled/result.yaml index f0ef7b5334..8d73dec627 100644 --- a/.github/scripts/.helm-tests/metrics-only-with-apiservice-disabled/result.yaml +++ b/.github/scripts/.helm-tests/metrics-only-with-apiservice-disabled/result.yaml @@ -1,19 +1,4 @@ --- -# Source: keptn/charts/keptn-cert-manager/templates/service-account.yaml -apiVersion: v1 -kind: ServiceAccount -metadata: - name: certificate-operator - namespace: "helmtests" - labels: - app.kubernetes.io/component: rbac - app.kubernetes.io/part-of: keptn - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 ---- # Source: keptn/charts/metricsOperator/templates/metrics-operator-service-account.yaml apiVersion: v1 kind: ServiceAccount @@ -24,7 +9,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 --- # Source: keptn/charts/metricsOperator/templates/metrics-manager-config.yaml @@ -37,7 +22,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 data: controller_manager_config.yaml: | @@ -67,7 +52,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -585,7 +570,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -1616,7 +1601,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -1825,7 +1810,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -2538,7 +2523,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -2813,49 +2798,6 @@ spec: subresources: status: {} --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: certificate-operator-role - namespace: "helmtests" - labels: - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -rules: -- apiGroups: - - admissionregistration.k8s.io - resources: - - mutatingwebhookconfigurations - - validatingwebhookconfigurations - verbs: - - get - - list - - patch - - update - - watch -- apiGroups: - - apiextensions.k8s.io - resources: - - customresourcedefinitions - verbs: - - get - - list - - patch - - update - - watch -- apiGroups: - - apps - resources: - - deployments - verbs: - - get - - list - - watch ---- # Source: keptn/charts/metricsOperator/templates/metrics-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole @@ -2866,7 +2808,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 rules: - apiGroups: @@ -2934,7 +2876,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 rules: - apiGroups: @@ -2946,30 +2888,6 @@ rules: - list - watch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: certificate-operator-rolebinding - namespace: "helmtests" - labels: - app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: certificate-operator - app.kubernetes.io/part-of: keptn - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: 'certificate-operator-role' -subjects: -- kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' ---- # Source: keptn/charts/metricsOperator/templates/metrics-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding @@ -2980,7 +2898,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -3001,7 +2919,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -3012,83 +2930,6 @@ subjects: name: 'metrics-operator' namespace: 'helmtests' --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - name: certificate-operator-leader-election-role - namespace: "helmtests" - labels: - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -rules: -- apiGroups: - - "" - resources: - - configmaps - verbs: - - get - - list - - watch - - create - - update - - patch - - delete -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - get - - list - - watch - - create - - update - - patch - - delete -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch ---- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - name: certificate-operator-role - namespace: "helmtests" - labels: - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -rules: -- apiGroups: - - "" - resources: - - secrets - verbs: - - create - - list - - watch -- apiGroups: - - "" - resourceNames: - - keptn-certs - resources: - - secrets - verbs: - - get - - patch - - update ---- # Source: keptn/charts/metricsOperator/templates/metrics-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role @@ -3099,7 +2940,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 rules: - apiGroups: @@ -3134,54 +2975,6 @@ rules: - create - patch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: certificate-operator-leader-election-rolebinding - namespace: "helmtests" - labels: - app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: certificate-operator - app.kubernetes.io/part-of: keptn - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: 'certificate-operator-leader-election-role' -subjects: - - kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' ---- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: certificate-operator-role-binding - namespace: "helmtests" - labels: - app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: certificate-operator - app.kubernetes.io/part-of: keptn - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: 'certificate-operator-role' -subjects: -- kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' ---- # Source: keptn/charts/metricsOperator/templates/metrics-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding @@ -3192,7 +2985,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -3213,7 +3006,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -3235,7 +3028,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: type: ClusterIP @@ -3266,7 +3059,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: type: ClusterIP @@ -3279,91 +3072,6 @@ spec: protocol: TCP targetPort: 9443 --- -# Source: keptn/charts/keptn-cert-manager/templates/deployment.yaml -apiVersion: apps/v1 -kind: Deployment -metadata: - name: certificate-operator - namespace: "helmtests" - labels: - app.kubernetes.io/component: keptn-cert-manager - app.kubernetes.io/part-of: keptn - control-plane: certificate-operator - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -spec: - replicas: 1 - selector: - matchLabels: - control-plane: certificate-operator - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/instance: keptn-test - template: - metadata: - labels: - control-plane: certificate-operator - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/instance: keptn-test - annotations: - kubectl.kubernetes.io/default-container: certificate-operator - spec: - containers: - - args: - - --leader-elect - command: - - /manager - env: - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: LABEL_SELECTOR_KEY - value: "keptn.sh/inject-cert" - - name: LABEL_SELECTOR_VALUE - value: "true" - - name: KUBERNETES_CLUSTER_DOMAIN - value: cluster.local - image: ghcr.io/keptn/certificate-operator:v2.2.2 - imagePullPolicy: IfNotPresent - name: certificate-operator - resources: - limits: - cpu: 25m - memory: 64Mi - requests: - cpu: 5m - memory: 16Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - ALL - readOnlyRootFilesystem: true - runAsGroup: 65532 - runAsUser: 65532 - seccompProfile: - type: RuntimeDefault - livenessProbe: - httpGet: - path: /healthz - port: 8081 - initialDelaySeconds: 15 - periodSeconds: 20 - readinessProbe: - httpGet: - path: /readyz - port: 8081 - initialDelaySeconds: 5 - periodSeconds: 10 - - securityContext: - runAsNonRoot: true - serviceAccountName: certificate-operator - terminationGracePeriodSeconds: 10 ---- # Source: keptn/charts/metricsOperator/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment @@ -3378,7 +3086,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: replicas: 1 @@ -3496,7 +3204,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 webhooks: - admissionReviewVersions: diff --git a/.github/scripts/.helm-tests/metrics-only/result.yaml b/.github/scripts/.helm-tests/metrics-only/result.yaml index 690a06c9d9..94786e20ce 100644 --- a/.github/scripts/.helm-tests/metrics-only/result.yaml +++ b/.github/scripts/.helm-tests/metrics-only/result.yaml @@ -1,19 +1,4 @@ --- -# Source: keptn/charts/keptn-cert-manager/templates/service-account.yaml -apiVersion: v1 -kind: ServiceAccount -metadata: - name: certificate-operator - namespace: "helmtests" - labels: - app.kubernetes.io/component: rbac - app.kubernetes.io/part-of: keptn - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 ---- # Source: keptn/charts/metricsOperator/templates/metrics-operator-service-account.yaml apiVersion: v1 kind: ServiceAccount @@ -24,7 +9,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 --- # Source: keptn/charts/metricsOperator/templates/metrics-manager-config.yaml @@ -37,7 +22,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 data: controller_manager_config.yaml: | @@ -67,7 +52,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -585,7 +570,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -1616,7 +1601,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -1825,7 +1810,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -2538,7 +2523,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -2813,49 +2798,6 @@ spec: subresources: status: {} --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: certificate-operator-role - namespace: "helmtests" - labels: - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -rules: -- apiGroups: - - admissionregistration.k8s.io - resources: - - mutatingwebhookconfigurations - - validatingwebhookconfigurations - verbs: - - get - - list - - patch - - update - - watch -- apiGroups: - - apiextensions.k8s.io - resources: - - customresourcedefinitions - verbs: - - get - - list - - patch - - update - - watch -- apiGroups: - - apps - resources: - - deployments - verbs: - - get - - list - - watch ---- # Source: keptn/charts/metricsOperator/templates/metrics-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole @@ -2866,7 +2808,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 rules: - apiGroups: @@ -2934,7 +2876,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 rules: - apiGroups: @@ -2946,30 +2888,6 @@ rules: - list - watch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: certificate-operator-rolebinding - namespace: "helmtests" - labels: - app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: certificate-operator - app.kubernetes.io/part-of: keptn - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: 'certificate-operator-role' -subjects: -- kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' ---- # Source: keptn/charts/metricsOperator/templates/metrics-operator-hpa-controller-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding @@ -2980,7 +2898,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -3001,7 +2919,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -3022,7 +2940,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -3033,83 +2951,6 @@ subjects: name: 'metrics-operator' namespace: 'helmtests' --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - name: certificate-operator-leader-election-role - namespace: "helmtests" - labels: - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -rules: -- apiGroups: - - "" - resources: - - configmaps - verbs: - - get - - list - - watch - - create - - update - - patch - - delete -- apiGroups: - - coordination.k8s.io - resources: - - leases - verbs: - - get - - list - - watch - - create - - update - - patch - - delete -- apiGroups: - - "" - resources: - - events - verbs: - - create - - patch ---- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - name: certificate-operator-role - namespace: "helmtests" - labels: - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -rules: -- apiGroups: - - "" - resources: - - secrets - verbs: - - create - - list - - watch -- apiGroups: - - "" - resourceNames: - - keptn-certs - resources: - - secrets - verbs: - - get - - patch - - update ---- # Source: keptn/charts/metricsOperator/templates/metrics-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role @@ -3120,7 +2961,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 rules: - apiGroups: @@ -3155,54 +2996,6 @@ rules: - create - patch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: certificate-operator-leader-election-rolebinding - namespace: "helmtests" - labels: - app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: certificate-operator - app.kubernetes.io/part-of: keptn - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: 'certificate-operator-leader-election-role' -subjects: - - kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' ---- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: certificate-operator-role-binding - namespace: "helmtests" - labels: - app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: certificate-operator - app.kubernetes.io/part-of: keptn - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: 'certificate-operator-role' -subjects: -- kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' ---- # Source: keptn/charts/metricsOperator/templates/metrics-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding @@ -3213,7 +3006,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -3234,7 +3027,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -3256,7 +3049,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: type: ClusterIP @@ -3287,7 +3080,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: type: ClusterIP @@ -3300,91 +3093,6 @@ spec: protocol: TCP targetPort: 9443 --- -# Source: keptn/charts/keptn-cert-manager/templates/deployment.yaml -apiVersion: apps/v1 -kind: Deployment -metadata: - name: certificate-operator - namespace: "helmtests" - labels: - app.kubernetes.io/component: keptn-cert-manager - app.kubernetes.io/part-of: keptn - control-plane: certificate-operator - app.kubernetes.io/instance: keptn-test - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 -spec: - replicas: 1 - selector: - matchLabels: - control-plane: certificate-operator - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/instance: keptn-test - template: - metadata: - labels: - control-plane: certificate-operator - app.kubernetes.io/name: keptn-cert-manager - app.kubernetes.io/instance: keptn-test - annotations: - kubectl.kubernetes.io/default-container: certificate-operator - spec: - containers: - - args: - - --leader-elect - command: - - /manager - env: - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: LABEL_SELECTOR_KEY - value: "keptn.sh/inject-cert" - - name: LABEL_SELECTOR_VALUE - value: "true" - - name: KUBERNETES_CLUSTER_DOMAIN - value: cluster.local - image: ghcr.io/keptn/certificate-operator:v2.2.2 - imagePullPolicy: IfNotPresent - name: certificate-operator - resources: - limits: - cpu: 25m - memory: 64Mi - requests: - cpu: 5m - memory: 16Mi - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - ALL - readOnlyRootFilesystem: true - runAsGroup: 65532 - runAsUser: 65532 - seccompProfile: - type: RuntimeDefault - livenessProbe: - httpGet: - path: /healthz - port: 8081 - initialDelaySeconds: 15 - periodSeconds: 20 - readinessProbe: - httpGet: - path: /readyz - port: 8081 - initialDelaySeconds: 5 - periodSeconds: 10 - - securityContext: - runAsNonRoot: true - serviceAccountName: certificate-operator - terminationGracePeriodSeconds: 10 ---- # Source: keptn/charts/metricsOperator/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment @@ -3399,7 +3107,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: replicas: 1 @@ -3517,7 +3225,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: custom.metrics.k8s.io @@ -3539,7 +3247,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: custom.metrics.k8s.io @@ -3561,7 +3269,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 webhooks: - admissionReviewVersions: diff --git a/.github/scripts/.helm-tests/metrics-with-certs/result.yaml b/.github/scripts/.helm-tests/metrics-with-certs/result.yaml index bdb8614c31..9416ed5d01 100644 --- a/.github/scripts/.helm-tests/metrics-with-certs/result.yaml +++ b/.github/scripts/.helm-tests/metrics-with-certs/result.yaml @@ -1,5 +1,5 @@ --- -# Source: keptn/charts/keptn-cert-manager/templates/service-account.yaml +# Source: keptn/charts/certManager/templates/service-account.yaml apiVersion: v1 kind: ServiceAccount metadata: @@ -10,9 +10,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 --- # Source: keptn/charts/metricsOperator/templates/metrics-operator-service-account.yaml apiVersion: v1 @@ -24,7 +24,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 --- # Source: keptn/charts/metricsOperator/templates/metrics-manager-config.yaml @@ -37,7 +37,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 data: controller_manager_config.yaml: | @@ -67,7 +67,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -585,7 +585,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -1616,7 +1616,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -1825,7 +1825,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -2538,7 +2538,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: metrics.keptn.sh @@ -2813,7 +2813,7 @@ spec: subresources: status: {} --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: @@ -2822,9 +2822,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 rules: - apiGroups: - admissionregistration.k8s.io @@ -2866,7 +2866,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 rules: - apiGroups: @@ -2934,7 +2934,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 rules: - apiGroups: @@ -2946,7 +2946,7 @@ rules: - list - watch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: @@ -2958,9 +2958,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -2980,7 +2980,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -3001,7 +3001,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -3022,7 +3022,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -3033,7 +3033,7 @@ subjects: name: 'metrics-operator' namespace: 'helmtests' --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -3042,9 +3042,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 rules: - apiGroups: - "" @@ -3078,7 +3078,7 @@ rules: - create - patch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: @@ -3087,9 +3087,9 @@ metadata: labels: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 rules: - apiGroups: - "" @@ -3120,7 +3120,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 rules: - apiGroups: @@ -3155,7 +3155,7 @@ rules: - create - patch --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-leader-election-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -3167,19 +3167,19 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: 'certificate-operator-leader-election-role' subjects: - - kind: ServiceAccount - name: 'certificate-operator' - namespace: 'helmtests' +- kind: ServiceAccount + name: 'certificate-operator' + namespace: 'helmtests' --- -# Source: keptn/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml +# Source: keptn/charts/certManager/templates/certificate-operator-role-binding-rbac.yaml apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: @@ -3191,9 +3191,9 @@ metadata: app.kubernetes.io/part-of: keptn app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 roleRef: apiGroup: rbac.authorization.k8s.io kind: Role @@ -3213,7 +3213,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -3234,7 +3234,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 roleRef: apiGroup: rbac.authorization.k8s.io @@ -3256,7 +3256,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: type: ClusterIP @@ -3287,7 +3287,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: type: ClusterIP @@ -3300,7 +3300,7 @@ spec: protocol: TCP targetPort: 9443 --- -# Source: keptn/charts/keptn-cert-manager/templates/deployment.yaml +# Source: keptn/charts/certManager/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: @@ -3312,21 +3312,21 @@ metadata: control-plane: certificate-operator app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/version: v2.2.2 - helm.sh/chart: keptn-cert-manager-0.2.6 + helm.sh/chart: cert-manager-0.2.5 spec: replicas: 1 selector: matchLabels: control-plane: certificate-operator - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/instance: keptn-test template: metadata: labels: control-plane: certificate-operator - app.kubernetes.io/name: keptn-cert-manager + app.kubernetes.io/name: cert-manager app.kubernetes.io/instance: keptn-test annotations: kubectl.kubernetes.io/default-container: certificate-operator @@ -3347,7 +3347,7 @@ spec: value: "true" - name: KUBERNETES_CLUSTER_DOMAIN value: cluster.local - image: ghcr.io/keptn/certificate-operator:v2.2.2 + image: ghcr.io/keptn/certificate-operator:v0.0.0 imagePullPolicy: IfNotPresent name: certificate-operator resources: @@ -3399,7 +3399,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: replicas: 1 @@ -3517,7 +3517,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: custom.metrics.k8s.io @@ -3539,7 +3539,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 spec: group: custom.metrics.k8s.io @@ -3561,7 +3561,7 @@ metadata: app.kubernetes.io/instance: keptn-test app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: metrics-operator - app.kubernetes.io/version: v1.1.0 + app.kubernetes.io/version: v1.1.1 helm.sh/chart: metrics-operator-0.3.0 webhooks: - admissionReviewVersions: From 6cbef702f77ec78c7f4204041fe76fefb8a66704 Mon Sep 17 00:00:00 2001 From: Moritz Wiesinger Date: Thu, 31 Oct 2024 11:21:44 +0100 Subject: [PATCH 6/6] revert more things Signed-off-by: Moritz Wiesinger --- metrics-operator/chart/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics-operator/chart/Chart.yaml b/metrics-operator/chart/Chart.yaml index 90c0624df5..3f28e819fe 100644 --- a/metrics-operator/chart/Chart.yaml +++ b/metrics-operator/chart/Chart.yaml @@ -23,7 +23,7 @@ annotations: kubeVersion: '>= 1.24.0-0' type: application version: 0.3.0 -appVersion: v1.1.1 +appVersion: v1.1.1 # x-release-please-version dependencies: - name: common repository: https://charts.lifecycle.keptn.sh