diff --git a/install/helm/agones/templates/serviceaccounts/sdk.yaml b/install/helm/agones/templates/serviceaccounts/sdk.yaml index 13a4a1b46e..c4c330da21 100644 --- a/install/helm/agones/templates/serviceaccounts/sdk.yaml +++ b/install/helm/agones/templates/serviceaccounts/sdk.yaml @@ -23,6 +23,10 @@ metadata: chart: {{ template "agones.chart" $ }} release: {{ $.Release.Name }} heritage: {{ $.Release.Service }} +{{- if hasKey $.Values.agones.serviceaccount.sdk.annotations . }} + annotations: +{{- get $.Values.agones.serviceaccount.sdk.annotations . | toYaml | nindent 4 }} +{{- end }} --- {{- end }} {{- if .Values.agones.rbacEnabled }} diff --git a/install/helm/agones/values.yaml b/install/helm/agones/values.yaml index c19bdda81b..d010f81b1a 100644 --- a/install/helm/agones/values.yaml +++ b/install/helm/agones/values.yaml @@ -38,6 +38,7 @@ agones: annotations: {} sdk: name: agones-sdk + annotations: {} createPriorityClass: true priorityClassName: agones-system controller: diff --git a/site/content/en/docs/Installation/Install Agones/helm.md b/site/content/en/docs/Installation/Install Agones/helm.md index b90f338a8a..ada121ab54 100644 --- a/site/content/en/docs/Installation/Install Agones/helm.md +++ b/site/content/en/docs/Installation/Install Agones/helm.md @@ -197,6 +197,7 @@ The following tables lists the configurable parameters of the Agones chart and t | Parameter | Description | Default | | --------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ---------------------- | +| `agones.serviceaccount.sdk.annotations` | A map of namespaces to maps of [Annotations][annotations] added to the Agones SDK service account for the specified namespaces | `{}` | | | | | {{% /feature %}}