Skip to content

Commit 9d9f3cb

Browse files
Merge pull request #91 from webdevops/bugfix/imagePullSecrets
fix[all charts]: fix support for imagePullSecrets
2 parents db626c5 + c036462 commit 9d9f3cb

File tree

39 files changed

+55
-78
lines changed

39 files changed

+55
-78
lines changed

charts/azure-janitor/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: azure-janitor
33
type: application
44
description: A Helm chart for azure-janitor
55
home: https://github.com/webdevops/azure-janitor
6-
version: 1.0.12
6+
version: 1.0.13
77
# renovate: image=webdevops/azure-janitor
88
appVersion: 24.9.0
99
keywords:

charts/azure-janitor/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,6 @@ spec:
8787
{{- with .Values.tolerations }}
8888
tolerations: {{ toYaml . | nindent 8 }}
8989
{{- end }}
90+
{{- if .Values.imagePullSecrets }}
91+
imagePullSecrets: {{ toYaml .Values.imagePullSecrets | nindent 8 }}
92+
{{- end }}

charts/azure-janitor/templates/serviceaccount.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,4 @@ metadata:
1212
{{- if .Values.serviceAccount.annotations }}
1313
annotations: {{ toYaml .Values.serviceAccount.annotations | nindent 4 }}
1414
{{- end }}
15-
{{- if .Values.global.imagePullSecrets }}
16-
imagePullSecrets:
17-
{{ include "azure-janitor.imagePullSecrets" . | trim | indent 2 }}
18-
{{- end }}
1915
{{- end }}

charts/azure-janitor/values.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ containerSecurityContext:
104104

105105
# -- registry secret names as an array
106106
imagePullSecrets: []
107+
# - name: pull-secret-name
107108

108109
service:
109110
type: ClusterIP
@@ -173,6 +174,3 @@ prometheus:
173174
## Per-scrape limit on length of labels value that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
174175
##
175176
labelValueLengthLimit: 0
176-
177-
global:
178-
imagePullSecrets: []

charts/azure-keyvault-exporter/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: azure-keyvault-exporter
33
type: application
44
description: A Helm chart for azure-keyvault-exporter
55
home: https://github.com/webdevops/azure-keyvault-exporter
6-
version: 1.0.11
6+
version: 1.0.12
77
# renovate: image=webdevops/azure-keyvault-exporter
88
appVersion: 24.9.1
99
keywords:

charts/azure-keyvault-exporter/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,6 @@ spec:
8989
{{- with .Values.tolerations }}
9090
tolerations: {{ toYaml . | nindent 8 }}
9191
{{- end }}
92+
{{- if .Values.imagePullSecrets }}
93+
imagePullSecrets: {{ toYaml .Values.imagePullSecrets | nindent 8 }}
94+
{{- end }}

charts/azure-keyvault-exporter/templates/serviceaccount.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,4 @@ metadata:
1212
{{- if .Values.serviceAccount.annotations }}
1313
annotations: {{ toYaml .Values.serviceAccount.annotations | nindent 4 }}
1414
{{- end }}
15-
{{- if .Values.global.imagePullSecrets }}
16-
imagePullSecrets:
17-
{{ include "azure-keyvault-exporter.imagePullSecrets" . | trim | indent 2 }}
18-
{{- end }}
1915
{{- end }}

charts/azure-keyvault-exporter/values.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ containerSecurityContext:
101101

102102
# -- registry secret names as an array
103103
imagePullSecrets: []
104+
# - name: pull-secret-name
104105

105106
service:
106107
type: ClusterIP
@@ -170,6 +171,3 @@ prometheus:
170171
## Per-scrape limit on length of labels value that will be accepted for a sample. Only valid in Prometheus versions 2.27.0 and newer.
171172
##
172173
labelValueLengthLimit: 0
173-
174-
global:
175-
imagePullSecrets: []

charts/azure-loganalytics-exporter/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: azure-loganalytics-exporter
33
type: application
44
description: A Helm chart for azure-loganalytics-exporter
55
home: https://github.com/webdevops/azure-loganalytics-exporter
6-
version: 1.0.11
6+
version: 1.0.12
77
# renovate: image=webdevops/azure-loganalytics-exporter
88
appVersion: 25.5.0
99
keywords:

charts/azure-loganalytics-exporter/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ A Helm chart for azure-loganalytics-exporter
3030
| extraVolumeMounts | list | `[]` | |
3131
| extraVolumes | list | `[]` | |
3232
| fullnameOverride | string | `""` | String to fully override azure-loganalytics-exporter.fullname template |
33-
| global.imagePullSecrets | list | `[]` | registry secret names as an array |
33+
| imagePullSecrets | list | `[]` | registry secret names as an array |
3434
| image.pullPolicy | string | `"IfNotPresent"` | |
3535
| image.registry | string | `"docker.io"` | image registry |
3636
| image.repository | string | `"webdevops/azure-loganalytics-exporter"` | image repository |

0 commit comments

Comments
 (0)