Skip to content

Commit 48fbc0d

Browse files
authored
Inject Pod Labels (#39)
1 parent efc248e commit 48fbc0d

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

kstreams-app-version-checker/helm/templates/job.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ spec:
1818
labels:
1919
app: {{ $jobName }}
2020
release: {{ .Release.Name }}
21+
{{- with .Values.podLabels}}
22+
{{- toYaml . | nindent 8 }}
23+
{{- end }}
2124
spec:
2225
{{- with .Values.podSecurityContext }}
2326
securityContext:

kstreams-app-version-checker/helm/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,5 @@ workloads: []
4141

4242
resources: {}
4343
containerSecurityContext: {}
44-
podSecurityContext: {}
44+
podSecurityContext: {}
45+
podLabels: {}

0 commit comments

Comments
 (0)