diff --git a/helm/templates/coder.yaml b/helm/templates/coder.yaml index 02badc277d81f..9cb272b04319a 100644 --- a/helm/templates/coder.yaml +++ b/helm/templates/coder.yaml @@ -4,6 +4,9 @@ apiVersion: v1 kind: ServiceAccount metadata: name: coder + annotations: {{ toYaml .Values.coder.serviceAccount.annotations | nindent 4 }} + labels: + {{- include "coder.labels" . | nindent 4 }} --- apiVersion: apps/v1 diff --git a/helm/values.yaml b/helm/values.yaml index 392a53c187492..0e2a27894868e 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -33,6 +33,8 @@ coder: # It is recommended to keep this on if you are using Kubernetes templates # within Coder. workspacePerms: true + # coder.serviceAccount.annotations -- The Coder service account annotations. + annotations: {} # coder.env -- The environment variables to set for Coder. These can be used # to configure all aspects of `coder server`. Please see `coder server --help`