mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
feat(helm): add setting to disable service account creation (#14817)
Add a setting to disable service account creation
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
---
|
||||
{{- if not .Values.coder.serviceAccount.disableCreate }}
|
||||
{{ include "libcoder.serviceaccount" (list . "coder.serviceaccount") }}
|
||||
{{- end }}
|
||||
|
||||
---
|
||||
{{ include "libcoder.deployment" (list . "coder.deployment") }}
|
||||
|
||||
@@ -113,6 +113,8 @@ coder:
|
||||
annotations: {}
|
||||
# coder.serviceAccount.name -- The service account name
|
||||
name: coder
|
||||
# coder.serviceAccount.name -- Whether to create the service account or use existing service account
|
||||
disableCreate: true
|
||||
|
||||
# coder.securityContext -- Fields related to the container's security
|
||||
# context (as opposed to the pod). Some fields are also present in the pod
|
||||
|
||||
Reference in New Issue
Block a user