File tree 2 files changed +18
-1
lines changed
2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,21 @@ rules:
27
27
- patch
28
28
- update
29
29
- watch
30
-
30
+ {{- if .Values.coder.serviceAccount.enableDeployments }}
31
+ - apiGroups :
32
+ - apps
33
+ resources :
34
+ - deployments
35
+ verbs :
36
+ - create
37
+ - delete
38
+ - deletecollection
39
+ - get
40
+ - list
41
+ - patch
42
+ - update
43
+ - watch
44
+ {{- end }}
31
45
---
32
46
apiVersion : rbac.authorization.k8s.io/v1
33
47
kind : RoleBinding
Original file line number Diff line number Diff line change 73
73
# It is recommended to keep this on if you are using Kubernetes templates
74
74
# within Coder.
75
75
workspacePerms : true
76
+ # coder.serviceAccount.enableDeployments -- Provides the service account permission
77
+ # to manage Kubernetes deployments.
78
+ enableDeployments : false
76
79
# coder.serviceAccount.annotations -- The Coder service account annotations.
77
80
annotations : {}
78
81
# coder.serviceAccount.name -- The service account name
You can’t perform that action at this time.
0 commit comments