Skip to content

Commit cd92220

Browse files
authored
feat(helm): add setting to disable service account creation (coder#14817)
Add a setting to disable service account creation
1 parent b828412 commit cd92220

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

helm/coder/templates/coder.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
2+
{{- if not .Values.coder.serviceAccount.disableCreate }}
23
{{ include "libcoder.serviceaccount" (list . "coder.serviceaccount") }}
4+
{{- end }}
35

46
---
57
{{ include "libcoder.deployment" (list . "coder.deployment") }}

helm/coder/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ coder:
113113
annotations: {}
114114
# coder.serviceAccount.name -- The service account name
115115
name: coder
116+
# coder.serviceAccount.name -- Whether to create the service account or use existing service account
117+
disableCreate: true
116118

117119
# coder.securityContext -- Fields related to the container's security
118120
# context (as opposed to the pod). Some fields are also present in the pod

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy