fix(helm): Move pullSecrets up to pod level
Previously the pullSecrets was defined on container level which is not supported by kubernetes.
This commit is contained in:
parent
a5f0ed0356
commit
cac0ee7f84
|
@ -89,16 +89,16 @@ spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
{{ toYaml .Values.initContainers | indent 8 }}
|
{{ toYaml .Values.initContainers | indent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
|
||||||
- name: emqx
|
|
||||||
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
||||||
{{- if .Values.image.pullSecrets }}
|
{{- if .Values.image.pullSecrets }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
{{- range .Values.image.pullSecrets }}
|
{{- range .Values.image.pullSecrets }}
|
||||||
- name: {{ . }}
|
- name: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
containers:
|
||||||
|
- name: emqx
|
||||||
|
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
|
||||||
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
ports:
|
ports:
|
||||||
- name: mqtt
|
- name: mqtt
|
||||||
containerPort: {{ .Values.emqxConfig.EMQX_LISTENER__TCP__EXTERNAL | default 1883 }}
|
containerPort: {{ .Values.emqxConfig.EMQX_LISTENER__TCP__EXTERNAL | default 1883 }}
|
||||||
|
|
Loading…
Reference in New Issue