File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ kind: {{ $kind }}
13
13
metadata :
14
14
name : {{ template "jsc.serviceAccountName" . }}-{{ $kindSuffix }}
15
15
namespace : {{ include "jsc.namespace" . }}
16
+ labels :
17
+ {{- tpl (toYaml .Values.rbacLabels) . | nindent 4 }}
16
18
{{ tpl .Values.rbacRules . }}
17
19
18
20
---
@@ -28,4 +30,4 @@ subjects:
28
30
roleRef :
29
31
kind : {{ $kind }}
30
32
name : {{ template "jsc.serviceAccountName" . }}-{{ $kindSuffix }}
31
- apiGroup : rbac.authorization.k8s.io
33
+ apiGroup : rbac.authorization.k8s.io
Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ additionalVolumes: []
73
73
# additionalVolumeMounts are the additional volume mounts to add
74
74
additionalVolumeMounts : []
75
75
76
+ # Custom labels to be added to the ClusterRole or Role
77
+ rbacLabels : {}
78
+ # rbac.authorization.k8s.io/aggregate-to-admin: "true"
76
79
# Rules to be applied to ClusterRole or Role
77
80
# Set as a string so that it can be templated to allow further customization
78
81
rbacRules : |
You can’t perform that action at this time.
0 commit comments