From 1f506385234b0f1ef088afdecb6002b3e9c84305 Mon Sep 17 00:00:00 2001 From: Angie Wang Date: Thu, 23 Jan 2020 14:37:40 -0500 Subject: [PATCH 1/1] Add imagePullSecrets Add imagePullSecrets for the missing chart. --- stable/metricbeat/templates/serviceaccount.yaml | 2 ++ stable/metricbeat/values.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/stable/metricbeat/templates/serviceaccount.yaml b/stable/metricbeat/templates/serviceaccount.yaml index c53fc5a..c2378ec 100644 --- a/stable/metricbeat/templates/serviceaccount.yaml +++ b/stable/metricbeat/templates/serviceaccount.yaml @@ -8,4 +8,6 @@ metadata: chart: {{ template "metricbeat.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} +imagePullSecrets: +{{ toYaml .Values.serviceAccount.imagePullSecrets | indent 2 }} {{- end -}} diff --git a/stable/metricbeat/values.yaml b/stable/metricbeat/values.yaml index b59c428..a784e7a 100644 --- a/stable/metricbeat/values.yaml +++ b/stable/metricbeat/values.yaml @@ -167,3 +167,5 @@ serviceAccount: # The name of the ServiceAccount to use. # If not set and create is true, a name is generated using the fullname template name: + # Reference to one or more secrets to be used when pulling images + imagePullSecrets: [] -- 1.8.3.1