From 59c1146946e085063da0580b3cd8e1083647a8f2 Mon Sep 17 00:00:00 2001 From: Tin Lam Date: Thu, 28 Dec 2017 15:40:03 -0600 Subject: [PATCH] Fix the serviceAccount name This patch set updates the serviceAccount name to match the metadata:name, so it is consistent with the RBAC changes. This addresses comment left in [0]. [0] https://review.gerrithub.io/#/c/393189/1/charts/armada/templates/deployment-api.yaml Change-Id: Ia94a13ef21aa5f2284d0f73819f6cba06311b130 --- charts/armada/templates/deployment-api.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/armada/templates/deployment-api.yaml b/charts/armada/templates/deployment-api.yaml index 2e6a7f2c..f9f226a0 100644 --- a/charts/armada/templates/deployment-api.yaml +++ b/charts/armada/templates/deployment-api.yaml @@ -19,7 +19,7 @@ limitations under the License. {{- $dependencies := .Values.dependencies.api }} {{- $mounts_armada_api := .Values.pod.mounts.armada_api.armada_api }} {{- $mounts_armada_api_init := .Values.pod.mounts.armada_api.init_container }} -{{- $serviceAccountName := "armada" }} +{{- $serviceAccountName := "armada-api" }} {{ tuple $envAll $dependencies $serviceAccountName | include "helm-toolkit.snippets.kubernetes_pod_rbac_serviceaccount" }} --- apiVersion: apps/v1beta1