Remove duplicate in image pull secrets (#16529)

* Remove duplicate in image pull secrets

Signed-off-by: Quang Ngo <qtp.ngo@gmail.com>

* Increase version of chart

Signed-off-by: Quang Ngo <qtp.ngo@gmail.com>

---------

Signed-off-by: Quang Ngo <qtp.ngo@gmail.com>
This commit is contained in:
Quang Ngo
2023-05-12 14:20:34 +02:00
committed by GitHub
parent 715d43d5a8
commit ddfea70831
2 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ annotations:
licenses: Apache-2.0
apiVersion: v2
# Please make sure that version and appVersion are always the same.
appVersion: 2.2.6
appVersion: 2.3.0
description: A Library Helm Chart for grouping common logic between bitnami charts. This chart is not deployable by itself.
home: https://bitnami.com
icon: https://bitnami.com/downloads/logos/bitnami-mark.png
@@ -20,4 +20,4 @@ name: common
sources:
- https://github.com/bitnami/charts
type: library
version: 2.2.6
version: 2.3.0

View File

@@ -45,7 +45,7 @@ Return the proper Docker Image Registry Secret Names (deprecated: use common.ima
{{- if (not (empty $pullSecrets)) }}
imagePullSecrets:
{{- range $pullSecrets }}
{{- range $pullSecrets | uniq }}
- name: {{ . }}
{{- end }}
{{- end }}
@@ -73,7 +73,7 @@ Return the proper Docker Image Registry Secret Names evaluating values as templa
{{- if (not (empty $pullSecrets)) }}
imagePullSecrets:
{{- range $pullSecrets }}
{{- range $pullSecrets | uniq }}
- name: {{ . }}
{{- end }}
{{- end }}