Skip to content

Commit

Permalink
Update keptn-cert-manager Helm chart (#110)
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
Co-authored-by: odubajDT <[email protected]>
  • Loading branch information
keptn-bot and odubajDT authored Jan 15, 2024
1 parent 8d358d6 commit 126da42
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 10 deletions.
6 changes: 6 additions & 0 deletions charts/keptn-cert-manager/Chart.lock
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion charts/keptn-cert-manager/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions charts/keptn-cert-manager/templates/certificate-operator-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
- ""
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions charts/keptn-cert-manager/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
7 changes: 5 additions & 2 deletions charts/keptn-cert-manager/templates/service-account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" . ) }}

0 comments on commit 126da42

Please sign in to comment.