From 126da4258bd38d092223ef51cc13747e36c37dc0 Mon Sep 17 00:00:00 2001 From: keptn-bot <86361500+keptn-bot@users.noreply.github.com> Date: Mon, 15 Jan 2024 10:42:03 +0100 Subject: [PATCH] Update keptn-cert-manager Helm chart (#110) Signed-off-by: GitHub Co-authored-by: odubajDT --- charts/keptn-cert-manager/Chart.lock | 6 ++++++ charts/keptn-cert-manager/Chart.yaml | 2 +- .../certificate-operator-leader-election-rbac.yaml | 6 +++++- .../templates/certificate-operator-rbac.yaml | 13 +++++++++++-- .../certificate-operator-role-binding-rbac.yaml | 7 +++++-- charts/keptn-cert-manager/templates/deployment.yaml | 7 +++++-- .../templates/service-account.yaml | 7 +++++-- 7 files changed, 38 insertions(+), 10 deletions(-) create mode 100644 charts/keptn-cert-manager/Chart.lock diff --git a/charts/keptn-cert-manager/Chart.lock b/charts/keptn-cert-manager/Chart.lock new file mode 100644 index 0000000..6348ea7 --- /dev/null +++ b/charts/keptn-cert-manager/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: common + repository: https://charts.lifecycle.keptn.sh + version: 0.1.1 +digest: sha256:e23ec46850d32494b1956923b8cf43dd06187dfe49a7be033778be9938f092d1 +generated: "2024-01-08T11:50:19.146981+01:00" diff --git a/charts/keptn-cert-manager/Chart.yaml b/charts/keptn-cert-manager/Chart.yaml index 9d7b8db..a3f09a9 100644 --- a/charts/keptn-cert-manager/Chart.yaml +++ b/charts/keptn-cert-manager/Chart.yaml @@ -41,4 +41,4 @@ appVersion: "v1.2.0" # x-release-please-version dependencies: - name: common repository: "https://charts.lifecycle.keptn.sh" - version: 0.1.0 + version: 0.1.1 diff --git a/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml b/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml index 59b0dc1..9dfc9d7 100644 --- a/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml +++ b/charts/keptn-cert-manager/templates/certificate-operator-leader-election-rbac.yaml @@ -3,10 +3,14 @@ kind: RoleBinding metadata: name: certificate-operator-leader-election-rolebinding namespace: {{ .Release.Namespace | quote }} + {{- $annotations := include "common.annotations" (dict "context" .) }} + {{- with $annotations }} + annotations: {{- . }} + {{- end }} labels: app.kubernetes.io/component: rbac app.kubernetes.io/created-by: certificate-operator - app.kubernetes.io/part-of: keptn-lifecycle-toolkit + app.kubernetes.io/part-of: keptn {{- include "common.labels.standard" (dict "context" .) | nindent 4 }} {{- include "common.annotations" ( dict "context" . ) }} roleRef: diff --git a/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml b/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml index 2eb36ff..d5d99c9 100644 --- a/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml +++ b/charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml @@ -3,9 +3,12 @@ kind: Role metadata: name: certificate-operator-role namespace: {{ .Release.Namespace | quote }} + {{- $annotations := include "common.annotations" (dict "context" .) }} + {{- with $annotations }} + annotations: {{- . -}} + {{- end }} labels: {{- include "common.labels.standard" (dict "context" . ) | nindent 4 }} - {{- include "common.annotations" ( dict "context" . ) }} rules: - apiGroups: - "" @@ -31,6 +34,9 @@ kind: ClusterRole metadata: name: certificate-operator-role namespace: {{ .Release.Namespace | quote }} + {{- with $annotations }} + annotations: {{- . -}} + {{- end }} labels: {{- include "common.labels.standard" (dict "context" .) | nindent 4 }} rules: @@ -78,10 +84,13 @@ kind: ClusterRoleBinding metadata: name: certificate-operator-rolebinding namespace: {{ .Release.Namespace | quote }} + {{- with $annotations }} + annotations: {{- . -}} + {{- end }} labels: app.kubernetes.io/component: rbac app.kubernetes.io/created-by: certificate-operator - app.kubernetes.io/part-of: keptn-lifecycle-toolkit + app.kubernetes.io/part-of: keptn {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" . ) | nindent 4 }} roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml b/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml index 2597f8d..4fce329 100644 --- a/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml +++ b/charts/keptn-cert-manager/templates/certificate-operator-role-binding-rbac.yaml @@ -3,12 +3,15 @@ kind: RoleBinding metadata: name: certificate-operator-role-binding namespace: {{ .Release.Namespace | quote }} + {{- $annotations := include "common.annotations" (dict "context" .) }} + {{- with $annotations }} + annotations: {{- . -}} + {{- end }} labels: app.kubernetes.io/component: rbac app.kubernetes.io/created-by: certificate-operator - app.kubernetes.io/part-of: keptn-lifecycle-toolkit + app.kubernetes.io/part-of: keptn {{- include "common.labels.standard" ( dict "context" . ) | nindent 4 }} - {{- include "common.annotations" ( dict "context" . ) }} roleRef: apiGroup: rbac.authorization.k8s.io kind: Role diff --git a/charts/keptn-cert-manager/templates/deployment.yaml b/charts/keptn-cert-manager/templates/deployment.yaml index 9454ce2..0aa2249 100644 --- a/charts/keptn-cert-manager/templates/deployment.yaml +++ b/charts/keptn-cert-manager/templates/deployment.yaml @@ -4,12 +4,15 @@ kind: Deployment metadata: name: certificate-operator namespace: {{ .Release.Namespace | quote }} + {{- $annotations := include "common.annotations" (dict "context" .) }} + {{- with $annotations }} + annotations: {{- . -}} + {{- end }} labels: app.kubernetes.io/component: keptn-cert-manager - app.kubernetes.io/part-of: keptn-lifecycle-toolkit + app.kubernetes.io/part-of: keptn control-plane: certificate-operator {{- include "common.labels.standard" ( dict "context" . ) | nindent 4 }} - {{- include "common.annotations" ( dict "context" . ) }} spec: replicas: {{ .Values.replicas }} selector: diff --git a/charts/keptn-cert-manager/templates/service-account.yaml b/charts/keptn-cert-manager/templates/service-account.yaml index e465673..1bd4001 100644 --- a/charts/keptn-cert-manager/templates/service-account.yaml +++ b/charts/keptn-cert-manager/templates/service-account.yaml @@ -3,8 +3,11 @@ kind: ServiceAccount metadata: name: certificate-operator namespace: {{ .Release.Namespace | quote }} + {{- $annotations := include "common.annotations" (dict "context" .) }} + {{- with $annotations }} + annotations: {{- . -}} + {{- end }} labels: app.kubernetes.io/component: rbac - app.kubernetes.io/part-of: keptn-lifecycle-toolkit + app.kubernetes.io/part-of: keptn {{- include "common.labels.standard" ( dict "context" $ ) | nindent 4 }} - {{- include "common.annotations" ( dict "context" . ) }}