Skip to content

Commit 13284ab

Browse files
authored
fix(nexus3): implementation of config.job.annotations to correctly annotate the job and not the job pod (#1234)
1 parent 24d7db9 commit 13284ab

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

charts/nexus3/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515

1616
## [UNRELEASED]
1717

18+
### Fixed
19+
20+
- Fix implementation of `config.job.annotations` to correctly annotate the job and not the job pod. ([#1234](https://github.com/stevehipwell/helm-charts/pull/1234)) _@falltrades_
21+
1822
## [v5.13.0] - 2025-08-14
1923

2024
### Added

charts/nexus3/templates/job-config.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ metadata:
66
namespace: {{ .Release.Namespace }}
77
labels:
88
{{- include "nexus3.labels" . | nindent 4 }}
9+
{{- with .Values.config.job.annotations }}
10+
annotations:
11+
{{- toYaml . | nindent 4 }}
12+
{{- end }}
913
spec:
1014
template:
1115
metadata:
@@ -15,9 +19,6 @@ spec:
1519
annotations:
1620
checksum/config: {{ include (print $.Template.BasePath "/configmap-config.yaml") . | sha256sum }}
1721
checksum/scripts: {{ include (print $.Template.BasePath "/configmap-scripts.yaml") . | sha256sum }}
18-
{{- with .Values.config.job.annotations }}
19-
{{- toYaml . | nindent 8 }}
20-
{{- end }}
2122
spec:
2223
restartPolicy: Never
2324
containers:

0 commit comments

Comments
 (0)