From 7579d22ec5f4f183cab85f9f919dfbb505f0e228 Mon Sep 17 00:00:00 2001 From: kyma-gopher-bot Date: Thu, 23 May 2024 00:22:24 +0000 Subject: [PATCH] Update module chart and resources to v0.6.4 --- module-chart/chart/Chart.yaml | 4 ++-- module-chart/chart/templates/configmap.yml | 13 ++++++++----- module-chart/chart/templates/secret.yml | 2 ++ module-chart/chart/values.yaml | 3 ++- module-resources/apply/configmap.yml | 13 ++++++++----- module-resources/apply/deployment.yml | 4 ++-- module-resources/apply/secret.yml | 2 ++ module-resources/excluded/to-exclude.yml | 2 +- 8 files changed, 27 insertions(+), 16 deletions(-) diff --git a/module-chart/chart/Chart.yaml b/module-chart/chart/Chart.yaml index 6b3509e0c..01a36fba0 100644 --- a/module-chart/chart/Chart.yaml +++ b/module-chart/chart/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -appVersion: v0.6.3 +appVersion: v0.6.4 description: A Helm chart for SAP BTP Operator for Kubernetes name: sap-btp-operator -version: v0.6.3 +version: v0.6.4 diff --git a/module-chart/chart/templates/configmap.yml b/module-chart/chart/templates/configmap.yml index e40487a05..13fdf428c 100644 --- a/module-chart/chart/templates/configmap.yml +++ b/module-chart/chart/templates/configmap.yml @@ -1,4 +1,10 @@ apiVersion: v1 +kind: ConfigMap +metadata: + name: sap-btp-operator-config + namespace: {{.Release.Namespace}} + labels: + "services.cloud.sap.com/managed-by-sap-btp-operator": "true" data: {{- if .Values.cluster.id }} CLUSTER_ID: {{ .Values.cluster.id }} @@ -16,13 +22,10 @@ data: MANAGEMENT_NAMESPACE: {{.Release.Namespace}} {{- end }} RELEASE_NAMESPACE: {{.Release.Namespace}} + ENABLE_LIMITED_CACHE: {{ .Values.manager.enable_limited_cache | quote }} ALLOW_CLUSTER_ACCESS: {{ .Values.manager.allow_cluster_access | quote }} {{- if not .Values.manager.allow_cluster_access }} {{- if gt (len .Values.manager.allowed_namespaces) 0 }} ALLOWED_NAMESPACES: {{ join "," .Values.manager.allowed_namespaces }} {{- end }} - {{- end }} -kind: ConfigMap -metadata: - name: sap-btp-operator-config - namespace: {{.Release.Namespace}} + {{- end }} \ No newline at end of file diff --git a/module-chart/chart/templates/secret.yml b/module-chart/chart/templates/secret.yml index 5da2dcb88..154270ecd 100644 --- a/module-chart/chart/templates/secret.yml +++ b/module-chart/chart/templates/secret.yml @@ -4,6 +4,8 @@ kind: Secret metadata: name: sap-btp-service-operator namespace: {{ .Release.Namespace }} + labels: + "services.cloud.sap.com/managed-by-sap-btp-operator": "true" type: Opaque data: {{- if .Values.manager.secret.b64encoded }} diff --git a/module-chart/chart/values.yaml b/module-chart/chart/values.yaml index 50601edcb..8f380986c 100644 --- a/module-chart/chart/values.yaml +++ b/module-chart/chart/values.yaml @@ -8,6 +8,7 @@ manager: req_memory_limit: 20Mi req_cpu_limit: 100m allow_cluster_access: true + enable_limited_cache: false allowed_namespaces: [] replica_count: 2 enable_leader_election: true @@ -15,7 +16,7 @@ manager: management_namespace: image: repository: ghcr.io/sap/sap-btp-service-operator/controller - tag: v0.6.3 + tag: v0.6.4 sha: "" secret: b64encoded: false diff --git a/module-resources/apply/configmap.yml b/module-resources/apply/configmap.yml index 72a911c14..cfdaad8b3 100644 --- a/module-resources/apply/configmap.yml +++ b/module-resources/apply/configmap.yml @@ -1,12 +1,15 @@ --- # Source: sap-btp-operator/templates/configmap.yml apiVersion: v1 -data: - CLUSTER_ID: 96397a6d-5099-4c11-957e-2376db99681f - MANAGEMENT_NAMESPACE: kyma-system - RELEASE_NAMESPACE: kyma-system - ALLOW_CLUSTER_ACCESS: "true" kind: ConfigMap metadata: name: sap-btp-operator-config namespace: kyma-system + labels: + "services.cloud.sap.com/managed-by-sap-btp-operator": "true" +data: + CLUSTER_ID: c80ef6ba-014b-4aba-8169-2a9073e1bcd2 + MANAGEMENT_NAMESPACE: kyma-system + RELEASE_NAMESPACE: kyma-system + ENABLE_LIMITED_CACHE: "false" + ALLOW_CLUSTER_ACCESS: "true" diff --git a/module-resources/apply/deployment.yml b/module-resources/apply/deployment.yml index c2da74df3..0b662e818 100644 --- a/module-resources/apply/deployment.yml +++ b/module-resources/apply/deployment.yml @@ -19,7 +19,7 @@ spec: template: metadata: annotations: - checksum/config: 166c56b4fbf139b8bfe09d7ab04931ae1ea0ad40a23f498ff4cdbc9e191f4b5e + checksum/config: e38278354b71f5d00c466c3814ad25775c1b76767186e6d78f40777b95e2b80f sidecar.istio.io/inject: "false" labels: control-plane: controller-manager @@ -52,7 +52,7 @@ spec: - secretRef: name: sap-btp-operator-clusterid optional: true - image: "ghcr.io/sap/sap-btp-service-operator/controller:v0.6.3" + image: "ghcr.io/sap/sap-btp-service-operator/controller:v0.6.4" imagePullPolicy: IfNotPresent name: manager ports: diff --git a/module-resources/apply/secret.yml b/module-resources/apply/secret.yml index f5db9acfb..6d698396f 100644 --- a/module-resources/apply/secret.yml +++ b/module-resources/apply/secret.yml @@ -5,6 +5,8 @@ kind: Secret metadata: name: sap-btp-service-operator namespace: kyma-system + labels: + "services.cloud.sap.com/managed-by-sap-btp-operator": "true" type: Opaque data: clientid: "" diff --git a/module-resources/excluded/to-exclude.yml b/module-resources/excluded/to-exclude.yml index 8f7494ee0..f245ce1ce 100644 --- a/module-resources/excluded/to-exclude.yml +++ b/module-resources/excluded/to-exclude.yml @@ -6,7 +6,7 @@ metadata: name: pre-delete-job namespace: kyma-system labels: - release: v0.6.3 + release: v0.6.4 annotations: "helm.sh/hook": pre-delete "helm.sh/hook-weight": "0"