Skip to content

Commit a0e1499

Browse files
authored
fix(helm): role binding annotations (#1494)
**Description of the change** Use the right context for `commonAnnotations` in namespaced role bindings. **Benefits** Fix a bug preventing namespaced role bindings to be created. **Applicable issues** - fixes #1493 Signed-off-by: Alejandro Moreno <[email protected]>
1 parent 23b8c25 commit a0e1499

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

helm/sealed-secrets/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ maintainers:
1414
url: https://github.com/bitnami-labs/sealed-secrets
1515
name: sealed-secrets
1616
type: application
17-
version: 2.15.1
17+
version: 2.15.2
1818
sources:
1919
- https://github.com/bitnami-labs/sealed-secrets

helm/sealed-secrets/templates/role-binding.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ metadata:
6363
{{- include "sealed-secrets.render" ( dict "value" $.Values.rbac.labels "context" $) | nindent 4 }}
6464
{{- end }}
6565
annotations:
66-
{{- if .Values.commonAnnotations }}
67-
{{- include "sealed-secrets.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
66+
{{- if $.Values.commonAnnotations }}
67+
{{- include "sealed-secrets.render" ( dict "value" $.Values.commonAnnotations "context" $ ) | nindent 4 }}
6868
{{- end }}
6969
roleRef:
7070
apiGroup: rbac.authorization.k8s.io

0 commit comments

Comments
 (0)