diff --git a/charts/jmx-exporter/templates/patch-template.yaml b/charts/jmx-exporter/templates/patch-template.yaml index 6fcb1b6..d89ce9e 100644 --- a/charts/jmx-exporter/templates/patch-template.yaml +++ b/charts/jmx-exporter/templates/patch-template.yaml @@ -17,6 +17,7 @@ spec: {{- if .Values.ubi }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}-ubi" {{- end }} + args: [ "{{ .Values.port }}", "{{ .Values.configFileLocation }}" ] ports: - containerPort: {{ .Values.port }} resources: diff --git a/charts/jmx-exporter/values.yaml b/charts/jmx-exporter/values.yaml index a5c391d..6f22a5b 100644 --- a/charts/jmx-exporter/values.yaml +++ b/charts/jmx-exporter/values.yaml @@ -1,8 +1,8 @@ image: - repository: quay.io/sysdig/promcat-jmx-exporter + repository: bitnami/jmx-exporter pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "v1.0.1" + tag: "0.20.0" resources: # We usually recommend not to specify default resources and to leave this as a conscious @@ -36,3 +36,5 @@ customJMXConfigMapName: "" onlyCreateJMXConfigMap: false onlyCreateSidecarPatch: false + +configFileLocation: /opt/jmx_exporter/config.yaml