diff --git a/charts/prometheus-artifactory-exporter/Chart.yaml b/charts/prometheus-artifactory-exporter/Chart.yaml index c975137..6043a03 100644 --- a/charts/prometheus-artifactory-exporter/Chart.yaml +++ b/charts/prometheus-artifactory-exporter/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "1.9.1" description: A Helm chart for the Prometheus Artifactory Exporter name: prometheus-artifactory-exporter -version: 0.1.2 +version: 0.1.3 keywords: - metrics - artifactory diff --git a/charts/prometheus-artifactory-exporter/templates/deployment.yaml b/charts/prometheus-artifactory-exporter/templates/deployment.yaml index 34fb622..4dcba4f 100644 --- a/charts/prometheus-artifactory-exporter/templates/deployment.yaml +++ b/charts/prometheus-artifactory-exporter/templates/deployment.yaml @@ -18,6 +18,10 @@ spec: labels: app: {{ template "prometheus-artifactory-exporter.name" . }} release: {{ .Release.Name }} + {{- if .Values.podAnnotations }} + annotations: + {{ toYaml .Values.statefulSet.annotations | nindent 8 }} + {{- end }} spec: serviceAccountName: {{ template "prometheus-artifactory-exporter.serviceAccountName" . }} {{- with .Values.initContainers }} diff --git a/charts/prometheus-artifactory-exporter/values.yaml b/charts/prometheus-artifactory-exporter/values.yaml index c7527b8..d201ef9 100644 --- a/charts/prometheus-artifactory-exporter/values.yaml +++ b/charts/prometheus-artifactory-exporter/values.yaml @@ -24,6 +24,8 @@ image: nameOverride: "" fullnameOverride: "" +podAnnotations: {} + # Add your artifactory server details here # user/pass or accessToken with admin permission hast to be set # or set the existingSecret