Skip to content

Commit fbbecf0

Browse files
helm: add sa annotations (#4640)
* helm: add sa annotations * rm: test annotation * fix: labels bracket Co-authored-by: Dean Sheather <dean@deansheather.com> Co-authored-by: Dean Sheather <dean@deansheather.com>
1 parent d49d57e commit fbbecf0

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

helm/templates/coder.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ apiVersion: v1
44
kind: ServiceAccount
55
metadata:
66
name: coder
7+
annotations: {{ toYaml .Values.coder.serviceAccount.annotations | nindent 4 }}
8+
labels:
9+
{{- include "coder.labels" . | nindent 4 }}
710

811
---
912
apiVersion: apps/v1

helm/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ coder:
3333
# It is recommended to keep this on if you are using Kubernetes templates
3434
# within Coder.
3535
workspacePerms: true
36+
# coder.serviceAccount.annotations -- The Coder service account annotations.
37+
annotations: {}
3638

3739
# coder.env -- The environment variables to set for Coder. These can be used
3840
# to configure all aspects of `coder server`. Please see `coder server --help`

0 commit comments

Comments
 (0)