diff --git a/charts/query-exporter/Chart.yaml b/charts/query-exporter/Chart.yaml index ff28996..5ae7f99 100644 --- a/charts/query-exporter/Chart.yaml +++ b/charts/query-exporter/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "2.7.0" description: A Helm chart for Kubernetes to run query-exporter name: query-exporter -version: 0.1.1 +version: 0.2.0 home: https://github.com/albertodonato/query-exporter icon: https://helm.sh/img/helm-logo.svg keywords: diff --git a/charts/query-exporter/templates/deployment.yaml b/charts/query-exporter/templates/deployment.yaml index b3371ec..616d590 100644 --- a/charts/query-exporter/templates/deployment.yaml +++ b/charts/query-exporter/templates/deployment.yaml @@ -18,14 +18,13 @@ spec: {{- include "query-exporter.selectorLabels" . | nindent 6 }} template: metadata: - {{- with .Values.podAnnotations }} - annotations: - {{- toYaml . | nindent 8 }} - {{- end }} labels: {{- include "query-exporter.selectorLabels" . | nindent 8 }} annotations: checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} + prometheus.io/scrape: 'true' + prometheus.io/port: '9560' + prometheus.io/path: '/metrics' spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: