diff --git a/charts/buildbuddy-executor/Chart.yaml b/charts/buildbuddy-executor/Chart.yaml index 0f9dd31..1ee3a27 100644 --- a/charts/buildbuddy-executor/Chart.yaml +++ b/charts/buildbuddy-executor/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: BuildBuddy Executor name: buildbuddy-executor -version: 0.0.296 # Chart version +version: 0.0.297 # Chart version appVersion: 2.112.0 # Version of deployed app keywords: - buildbuddy diff --git a/charts/buildbuddy-executor/templates/deployment.yaml b/charts/buildbuddy-executor/templates/deployment.yaml index adc0d2b..daaf842 100644 --- a/charts/buildbuddy-executor/templates/deployment.yaml +++ b/charts/buildbuddy-executor/templates/deployment.yaml @@ -61,6 +61,9 @@ spec: tolerations: {{- toYaml .Values.tolerations | nindent 8 }} {{- end }} + {{- if and .Values.serviceAccount .Values.serviceAccount.name }} + serviceAccountName: {{ .Values.serviceAccount.name }} + {{- end }} containers: {{- if .Values.extraContainers }} {{- toYaml .Values.extraContainers | nindent 8 }} diff --git a/charts/buildbuddy-executor/values.yaml b/charts/buildbuddy-executor/values.yaml index c662cd4..89f1fff 100644 --- a/charts/buildbuddy-executor/values.yaml +++ b/charts/buildbuddy-executor/values.yaml @@ -153,3 +153,11 @@ extraVolumeMounts: [] ## Affinity (optional) could be used to configured 'executor' pods to be deployed ## on nodes with a certain type of storage volume or hardware available. affinity: {} + +## Optionally, set a different service account for the executor pods. Setting +## this is not required for normal 'executor' operation; the `default` SA is +## sufficient. It is available in case you need to grant the pods additional +## permissions via SA. Note that the chart does not create the SA, so you should +## create it on your own. +# serviceAccount: +# name: default