zabbix-community / helm-zabbix

Helm chart for Zabbix
https://artifacthub.io/packages/helm/zabbix-community/zabbix
Apache License 2.0
79 stars 45 forks source link

duplicate imagePullSecrets warning #44

Closed pirateunclejack closed 11 months ago

pirateunclejack commented 12 months ago

When install zabbix with helm command helm install zabbix -n zabbix . A warning printed out:

warnings.go:70] spec.template.spec.imagePullSecrets[1].name: duplicate name ...

https://github.com/zabbix-community/helm-zabbix/blob/5f94e86ddefd12c74e619072c153b2f6292568c9/charts/zabbix/templates/statefulset-postgresql.yaml#L130C1-L136C17 Should this code be? :

      imagePullSecrets:
      {{- range .Values.zabbixserver.image.pullSecrets }}
        - name: {{ . | quote }}
      {{- end }}
      {{- range .Values.postgresql.image.pullSecrets }}
        - name: {{ . | quote }}
      {{- end }}
aeciopires commented 11 months ago

Hi @pirateunclejack!

Sorry by late. Thanks for your report. I fix the problem in the PR https://github.com/zabbix-community/helm-zabbix/pull/46