monitor-armada-app/monitor-helm/debian/deb_folder/patches/0012-Add-imagePullSecrets.patch
Yue Tao b2add48f64 monitor-helm: remove dl_hook
Use debian method to apply local patches instead of patching in rules.

Add "dl_path" and "src_files" in meta_data.yaml to download tarball and
copy local files.

No need dl_hook

Test Plan:

Pass: successfully build monitor-helm.
Pass: No difference comparing with the result of dl_hook

Story: 2009101
Task: 43838

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Change-Id: I441540b54e27f63d8a84d3a83f65679dc6dfaf4b
2022-01-13 10:42:14 +08:00

36 lines
1.3 KiB
Diff

From 1f506385234b0f1ef088afdecb6002b3e9c84305 Mon Sep 17 00:00:00 2001
From: Angie Wang <angie.wang@windriver.com>
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