Skip to content

Commit

Permalink
Merge pull request #8 from realHarter/master
Browse files Browse the repository at this point in the history
fix imagePullSecrets helper func
  • Loading branch information
ploxiln authored Aug 10, 2022
2 parents 9489d30 + 64210b9 commit b4a37d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/nsq/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: nsq
description: A realtime distributed messaging platform
type: application
version: 0.0.4
version: 0.0.5
appVersion: 1.2.1
home: https://github.com/nsqio/helm-chart/tree/master/charts/nsq
icon: https://nsq.io/static/img/nsq_blue.png
Expand Down
4 changes: 2 additions & 2 deletions charts/nsq/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ Return the proper Docker Image Registry Secret Names
{{- $pullSecrets := list }}

{{- range .Values.imagePullSecrets -}}
{{- $pullSecrets = append $pullSecrets . -}}
{{- $pullSecrets = append $pullSecrets .name -}}
{{- end -}}

{{- range .Values.metrics.image.pullSecrets -}}
{{- $pullSecrets = append $pullSecrets . -}}
{{- $pullSecrets = append $pullSecrets .name -}}
{{- end -}}
{{- if (not (empty $pullSecrets)) }}
imagePullSecrets:
Expand Down

0 comments on commit b4a37d2

Please sign in to comment.