diff --git a/spacelift-promex/Chart.yaml b/spacelift-promex/Chart.yaml index 8c6acd8..409edb1 100644 --- a/spacelift-promex/Chart.yaml +++ b/spacelift-promex/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: spacelift-promex description: A Helm chart for deploying the Spacelift Prometheus exporter. type: application -version: 0.0.1 +version: 0.0.2 appVersion: "v0.3.1" diff --git a/spacelift-promex/templates/deployment.yaml b/spacelift-promex/templates/deployment.yaml index b99b94a..b12de11 100644 --- a/spacelift-promex/templates/deployment.yaml +++ b/spacelift-promex/templates/deployment.yaml @@ -20,6 +20,10 @@ spec: metadata: labels: {{- include "spacelift-promex.selectorLabels" . | nindent 8 }} + {{- with .Values.podAnnotations }} + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: diff --git a/spacelift-promex/values.yaml b/spacelift-promex/values.yaml index 10f29e7..c3efb83 100644 --- a/spacelift-promex/values.yaml +++ b/spacelift-promex/values.yaml @@ -17,6 +17,10 @@ labels: annotations: app.spacelift.io/example: spacelift-promx +# Annotations to add to the pod +# podAnnotations: +# app.spacelift.io/example: spacelift-promx + ## Your api endpoint, must be provided #apiEndpoint: https://{myaccount}.app.spacelift.io #