diff --git a/charts/amoro/templates/_pod.tpl b/charts/amoro/templates/_pod.tpl index 7fe844be31..7218603061 100644 --- a/charts/amoro/templates/_pod.tpl +++ b/charts/amoro/templates/_pod.tpl @@ -120,7 +120,7 @@ spark distribution package will be installed to here*/ -}} {{- if .Values.plugin.metricReporters }} {{- if .Values.plugin.metricReporters.prometheusExporter.enabled }} - name: prometheus - containerPort: {{ .Values.plugin.metricReporters.prometheusExporter.port }} + containerPort: {{ .Values.plugin.metricReporters.prometheusExporter.properties.port }} {{- end -}} {{- end -}} {{- end -}} diff --git a/charts/amoro/values.yaml b/charts/amoro/values.yaml index 74e71e6fe4..acb4fc1146 100644 --- a/charts/amoro/values.yaml +++ b/charts/amoro/values.yaml @@ -282,12 +282,12 @@ plugin: # ## @param Enable or disable the Prometheus exporter # ## # enabled: true -# ## @param Prometheus port -# ## -# port: 7001 # ## @param Properties for the Prometheus exporter # ## -# properties: ~ +# properties: +# ## @param Prometheus port +# ## +# port: 7001 ## Configure the ingress resource that allows you to access the ## Amoro installation. Set up the URL