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
This commit is contained in:
Tin Lam 2017-12-28 15:40:03 -06:00
parent 50467c0f10
commit 59c1146946

View File

@ -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