Skip to content

Commit

Permalink
add pod annotations to promex (#75)
Browse files Browse the repository at this point in the history
* add pod annotations to promex

* update chart version to add pod annotations promex

* Update spacelift-promex/templates/deployment.yaml

Co-authored-by: Elie CHARRA <[email protected]>

---------

Co-authored-by: Elie CHARRA <[email protected]>
  • Loading branch information
akmal-spacelift and eliecharra authored Aug 30, 2024
1 parent 2f8fc8a commit 1525632
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion spacelift-promex/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 4 additions & 0 deletions spacelift-promex/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions spacelift-promex/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down

0 comments on commit 1525632

Please sign in to comment.