|
|
@@ -74,12 +74,15 @@ spec:
|
|
|
secret:
|
|
|
secretName: {{ .Values.emqxLicenseSecretName }}
|
|
|
{{- end }}
|
|
|
+ {{- if .Values.extraVolumes }}
|
|
|
+ {{- toYaml .Values.extraVolumes | nindent 8 }}
|
|
|
+ {{- end }}
|
|
|
{{- if .Values.podSecurityContext.enabled }}
|
|
|
securityContext: {{- omit .Values.podSecurityContext "enabled" | toYaml | nindent 8 }}
|
|
|
{{- end }}
|
|
|
{{- if .Values.initContainers }}
|
|
|
initContainers:
|
|
|
-{{ toYaml .Values.initContainers | indent 8 }}
|
|
|
+ {{- toYaml .Values.initContainers | nindent 8 }}
|
|
|
{{- end }}
|
|
|
{{- if .Values.image.pullSecrets }}
|
|
|
imagePullSecrets:
|
|
|
@@ -138,6 +141,9 @@ spec:
|
|
|
subPath: "emqx.lic"
|
|
|
readOnly: true
|
|
|
{{- end }}
|
|
|
+ {{- if .Values.extraVolumeMounts }}
|
|
|
+ {{- toYaml .Values.extraVolumeMounts | nindent 12 }}
|
|
|
+ {{- end }}
|
|
|
readinessProbe:
|
|
|
httpGet:
|
|
|
path: /status
|