Skip to content

Commit

Permalink
Remove duplicate in image pull secrets (#16529)
Browse files Browse the repository at this point in the history
* Remove duplicate in image pull secrets

Signed-off-by: Quang Ngo <[email protected]>

* Increase version of chart

Signed-off-by: Quang Ngo <[email protected]>

---------

Signed-off-by: Quang Ngo <[email protected]>
  • Loading branch information
qtpngo authored May 12, 2023
1 parent 715d43d commit ddfea70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bitnami/common/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -20,4 +20,4 @@ name: common
sources:
- https://github.com/bitnami/charts
type: library
version: 2.2.6
version: 2.3.0
4 changes: 2 additions & 2 deletions bitnami/common/templates/_images.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit ddfea70

Please sign in to comment.