File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 94
94
# coder.serviceAccount.enableDeployments -- Provides the service account permission
95
95
# to manage Kubernetes deployments.
96
96
enableDeployments : true
97
+ # coder.serviceAccount.enableServices -- Provides the service account permission
98
+ # to manage Kubernetes services.
99
+ enableServices : false
97
100
# coder.serviceAccount.annotations -- The Coder service account annotations.
98
101
annotations : {}
99
102
# coder.serviceAccount.name -- The service account name
Original file line number Diff line number Diff line change @@ -43,6 +43,19 @@ rules:
43
43
- update
44
44
- watch
45
45
{{- end }}
46
+ {{- if .Values.coder.serviceAccount.enableServices }}
47
+ - apiGroups : [""]
48
+ resources : ["services"]
49
+ verbs :
50
+ - create
51
+ - delete
52
+ - deletecollection
53
+ - get
54
+ - list
55
+ - patch
56
+ - update
57
+ - watch
58
+ {{- end }}
46
59
---
47
60
apiVersion : rbac.authorization.k8s.io/v1
48
61
kind : RoleBinding
You can’t perform that action at this time.
0 commit comments