From 4ec8a638bb85bed91d2ea3ed19421365abfbad55 Mon Sep 17 00:00:00 2001 From: hamza3202 Date: Tue, 23 Apr 2019 13:12:13 +0500 Subject: [PATCH] [stable/kube-state-metrics ] Fix option to specify service account name (#13160) * Fix configmap of keycloak Signed-off-by: kahootali * Fix option to specify service account name. Signed-off-by: Muhammad Hamza Zaib * [stable/kube-state-metrics] Update chart version to 1.0.1 Signed-off-by: Muhammad Hamza Zaib * Update _helpers.tpl to follow guidelines Signed-off-by: Muhammad Hamza Zaib * Update chart kube-state-metrics version to 1.1.0 Signed-off-by: Muhammad Hamza Zaib --- stable/kube-state-metrics/Chart.yaml | 2 +- stable/kube-state-metrics/templates/deployment.yaml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/stable/kube-state-metrics/Chart.yaml b/stable/kube-state-metrics/Chart.yaml index 6f550899f8..4711dbaa42 100644 --- a/stable/kube-state-metrics/Chart.yaml +++ b/stable/kube-state-metrics/Chart.yaml @@ -5,7 +5,7 @@ keywords: - metric - monitoring - prometheus -version: 1.0.1 +version: 1.1.0 appVersion: 1.5.0 home: https://github.com/kubernetes/kube-state-metrics/ sources: diff --git a/stable/kube-state-metrics/templates/deployment.yaml b/stable/kube-state-metrics/templates/deployment.yaml index b251758f1b..2afd8523ff 100644 --- a/stable/kube-state-metrics/templates/deployment.yaml +++ b/stable/kube-state-metrics/templates/deployment.yaml @@ -19,9 +19,7 @@ spec: {{ toYaml .Values.podAnnotations | indent 8 }} {{- end }} spec: -{{ if .Values.rbac.create }} serviceAccountName: {{ template "kube-state-metrics.serviceAccountName" . }} -{{ end }} {{- if .Values.securityContext.enabled }} securityContext: fsGroup: {{ .Values.securityContext.fsGroup }}