From 0289042eda16f5ca5ce4fb22cdcf9ab12e34d511 Mon Sep 17 00:00:00 2001
From: Tin Lam <tin@irrational.io>
Date: Fri, 22 Dec 2017 14:37:04 -0600
Subject: [PATCH] RBAC: fix chart to be consistent with others

This patch set does a minor correction so it is consistent with the
RBAC code in other charts.

Change-Id: I8c28af48a1d5a540fbc67b2dbcf4873081fc04bd
implements: bp/rbac-refactor
---
 prometheus-alertmanager/templates/statefulset.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/prometheus-alertmanager/templates/statefulset.yaml b/prometheus-alertmanager/templates/statefulset.yaml
index 8a19d464e..f6474c7fb 100644
--- a/prometheus-alertmanager/templates/statefulset.yaml
+++ b/prometheus-alertmanager/templates/statefulset.yaml
@@ -43,7 +43,7 @@ spec:
         configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
         configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
     spec:
-      serviceAccount: alertmanager
+      serviceAccountName: {{ $serviceAccountName }}
       affinity:
 {{ tuple $envAll "alertmanager" "server" | include "helm-toolkit.snippets.kubernetes_pod_anti_affinity" | indent 8 }}
       nodeSelector: