diff --git a/helm-chart/templates/deployment.yaml b/helm-chart/templates/deployment.yaml index b79480c..f3cc274 100644 --- a/helm-chart/templates/deployment.yaml +++ b/helm-chart/templates/deployment.yaml @@ -17,6 +17,9 @@ spec: prometheus.io/job: {{ $.Chart.Name }} prometheus.io/scrape: 'true' prometheus.io/port: '9090' + {{- with $.Values.podAnnotations }} + {{- toYaml . | nindent 8 }} + {{- end }} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: diff --git a/helm-chart/values.yaml b/helm-chart/values.yaml index 5c89916..3fe1f64 100644 --- a/helm-chart/values.yaml +++ b/helm-chart/values.yaml @@ -93,3 +93,5 @@ nodeSelector: {} tolerations: [] affinity: {} + +podAnnotations: {}