diff --git a/deployments/kubernetes/chart/reloader/Chart.yaml b/deployments/kubernetes/chart/reloader/Chart.yaml index 28a09223b..13e8c2d73 100644 --- a/deployments/kubernetes/chart/reloader/Chart.yaml +++ b/deployments/kubernetes/chart/reloader/Chart.yaml @@ -3,7 +3,7 @@ apiVersion: v1 name: reloader description: Reloader chart that runs on kubernetes -version: 1.2.0 +version: 1.2.1 appVersion: v1.2.0 keywords: - Reloader diff --git a/deployments/kubernetes/chart/reloader/templates/deployment.yaml b/deployments/kubernetes/chart/reloader/templates/deployment.yaml index 188c85832..9af6eb7d1 100644 --- a/deployments/kubernetes/chart/reloader/templates/deployment.yaml +++ b/deployments/kubernetes/chart/reloader/templates/deployment.yaml @@ -45,7 +45,7 @@ spec: {{ toYaml .Values.reloader.matchLabels | indent 8 }} {{- end }} spec: - {{- with .Values.reloader.deployment.imagePullSecrets }} + {{- with .Values.global.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} @@ -73,8 +73,8 @@ spec: priorityClassName: {{ .Values.reloader.deployment.priorityClassName }} {{- end }} containers: - {{- if $.Values.global.imageRegistry }} - - image: "{{ $.Values.global.imageRegistry }}/{{ .Values.reloader.deployment.image.base }}:{{ .Values.reloader.deployment.image.tag }}" + {{- if .Values.global.imageRegistry }} + - image: "{{ .Values.global.imageRegistry }}/{{ .Values.reloader.deployment.image.base }}:{{ .Values.reloader.deployment.image.tag }}" {{- else }} - image: "{{ .Values.reloader.deployment.image.name }}:{{ .Values.reloader.deployment.image.tag }}" {{- end }} diff --git a/deployments/kubernetes/chart/reloader/values.yaml b/deployments/kubernetes/chart/reloader/values.yaml index 523e87dec..9e9be805e 100644 --- a/deployments/kubernetes/chart/reloader/values.yaml +++ b/deployments/kubernetes/chart/reloader/values.yaml @@ -5,6 +5,8 @@ global: ## imageRegistry: "" imagePullSecrets: [] + #imagePullSecrets: + # - name: my-pull-secret kubernetes: host: https://kubernetes.default