feat(helm): add setting to disable service account creation (#14817)

Add a setting to disable service account creation
This commit is contained in:
MaxTNielsen
2024-10-23 14:25:57 +02:00
committed by GitHub
parent b828412edd
commit cd92220ab8
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -1,5 +1,7 @@
---
{{- if not .Values.coder.serviceAccount.disableCreate }}
{{ include "libcoder.serviceaccount" (list . "coder.serviceaccount") }}
{{- end }}
---
{{ include "libcoder.deployment" (list . "coder.deployment") }}
+2
View File
@@ -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