Skip to content

Commit 2489f52

Browse files
add pod annotations to promex
1 parent 2f8fc8a commit 2489f52

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

spacelift-promex/templates/deployment.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ spec:
2020
metadata:
2121
labels:
2222
{{- include "spacelift-promex.selectorLabels" . | nindent 8 }}
23+
{{- with .Values.podAnnotations }}
24+
annotations:
25+
{{- toYaml . | nindent 4 }}
26+
{{- end }}
2327
spec:
2428
{{- with .Values.imagePullSecrets }}
2529
imagePullSecrets:

spacelift-promex/values.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ labels:
1717
annotations:
1818
app.spacelift.io/example: spacelift-promx
1919

20+
# Annotations to add to the pod
21+
# podAnnotations:
22+
# app.spacelift.io/example: spacelift-promx
23+
2024
## Your api endpoint, must be provided
2125
#apiEndpoint: https://{myaccount}.app.spacelift.io
2226
#

0 commit comments

Comments
 (0)