Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-flock / stx-monitor-armada-app / monitor-helm / 0012-Add-imagePullSecrets.patch
1 From 440cae178989bf161276be0099691e9b7e5d211f Mon Sep 17 00:00:00 2001
2 From: John Kung <john.kung@windriver.com>
3 Date: Tue, 5 Nov 2019 07:42:36 -0500
4 Subject: [PATCH 1/1] Add imagePullSecrets
5
6 ---
7  stable/elasticsearch-curator/templates/serviceaccount.yaml | 2 ++
8  stable/filebeat/templates/serviceaccount.yaml              | 2 ++
9  stable/kibana/templates/serviceaccount.yaml                | 2 ++
10  stable/kube-state-metrics/values.yaml                      | 2 +-
11  stable/metricbeat/templates/serviceaccount.yaml            | 2 ++
12  5 files changed, 9 insertions(+), 1 deletion(-)
13
14 diff --git a/stable/elasticsearch-curator/templates/serviceaccount.yaml b/stable/elasticsearch-curator/templates/serviceaccount.yaml
15 index ad9c5c9..a64b426 100644
16 --- a/stable/elasticsearch-curator/templates/serviceaccount.yaml
17 +++ b/stable/elasticsearch-curator/templates/serviceaccount.yaml
18 @@ -8,5 +8,7 @@ metadata:
19      chart: {{ template "elasticsearch-curator.chart" . }}
20      release: "{{ .Release.Name }}"
21      heritage: "{{ .Release.Service }}"
22 +imagePullSecrets:
23 +  - name: default-registry-key
24  {{- end }}
25  
26 diff --git a/stable/filebeat/templates/serviceaccount.yaml b/stable/filebeat/templates/serviceaccount.yaml
27 index 7de907b..19a4d34 100644
28 --- a/stable/filebeat/templates/serviceaccount.yaml
29 +++ b/stable/filebeat/templates/serviceaccount.yaml
30 @@ -8,4 +8,6 @@ metadata:
31      chart: {{ template "filebeat.chart" . }}
32      release: {{ .Release.Name }}
33      heritage: {{ .Release.Service }}
34 +imagePullSecrets:
35 +  - name: default-registry-key
36  {{- end -}}
37 diff --git a/stable/kibana/templates/serviceaccount.yaml b/stable/kibana/templates/serviceaccount.yaml
38 index 948390a..edc0122 100644
39 --- a/stable/kibana/templates/serviceaccount.yaml
40 +++ b/stable/kibana/templates/serviceaccount.yaml
41 @@ -8,4 +8,6 @@ metadata:
42      chart: {{ .Chart.Name }}-{{ .Chart.Version }}
43      heritage: {{ .Release.Service }}
44      release: {{ .Release.Name }}
45 +imagePullSecrets:
46 +  - name: default-registry-key
47  {{- end -}}
48 diff --git a/stable/kube-state-metrics/values.yaml b/stable/kube-state-metrics/values.yaml
49 index 2bf5b30..bab7a30 100644
50 --- a/stable/kube-state-metrics/values.yaml
51 +++ b/stable/kube-state-metrics/values.yaml
52 @@ -31,7 +31,7 @@ serviceAccount:
53    name:
54    # Reference to one or more secrets to be used when pulling images
55    # ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
56 -  imagePullSecrets: []
57 +  imagePullSecrets: [{"name": "default-registry-key"}]
58  
59  prometheus:
60    monitor:
61 diff --git a/stable/metricbeat/templates/serviceaccount.yaml b/stable/metricbeat/templates/serviceaccount.yaml
62 index c53fc5a..a4c7659 100644
63 --- a/stable/metricbeat/templates/serviceaccount.yaml
64 +++ b/stable/metricbeat/templates/serviceaccount.yaml
65 @@ -8,4 +8,6 @@ metadata:
66      chart: {{ template "metricbeat.chart" . }}
67      release: {{ .Release.Name }}
68      heritage: {{ .Release.Service }}
69 +imagePullSecrets:
70 +  - name: default-registry-key
71  {{- end -}}
72 -- 
73 1.8.3.1
74