diff --git a/charts/opensearch-cluster/templates/cluster.yaml b/charts/opensearch-cluster/templates/cluster.yaml index 882d0f05..f62a310e 100644 --- a/charts/opensearch-cluster/templates/cluster.yaml +++ b/charts/opensearch-cluster/templates/cluster.yaml @@ -17,12 +17,12 @@ spec: {{- end }} {{- with .Values.cluster.dashboards }} dashboards: - {{- . | toYaml | nindent 4 }} + {{- omit . "image" | toYaml | nindent 4 }} image: {{ .image }}:{{ .version }} {{- end }} {{- with .Values.cluster.general }} general: - {{- . | toYaml | nindent 4 }} + {{- omit . "image" "serviceName" | toYaml | nindent 4 }} image: {{ .image }}:{{ .version }} serviceName: {{ .serviceName | default $clusterName }} {{- end }}