Skip to content

Commit

Permalink
[BUG] Put annotations on the job not the template
Browse files Browse the repository at this point in the history
  • Loading branch information
beggers committed May 2, 2024
1 parent 0de748a commit 1b79648
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions k8s/distributed-chroma/templates/log-migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ kind: Job
metadata:
name: logservice-migration
namespace: {{ .Values.namespace }}
annotations:
{{ range .Values.sysdbMigration.annotations }}
{{ .name }}: {{ .value }}
{{ end }}
spec:
template:
metadata:
labels:
app: logservice-migration
annotations:
{{ range .Values.sysdbMigration.annotations }}
{{ .name }}: {{ .value }}
{{ end }}
spec:
restartPolicy: OnFailure
containers:
Expand Down
8 changes: 4 additions & 4 deletions k8s/distributed-chroma/templates/sysdb-migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ kind: Job
metadata:
name: sysdb-migration
namespace: {{ .Values.namespace }}
annotations:
{{ range .Values.sysdbMigration.annotations }}
{{ .name }}: {{ .value }}
{{ end }}
spec:
template:
metadata:
labels:
app: sysdb-migration
annotations:
{{ range .Values.sysdbMigration.annotations }}
{{ .name }}: {{ .value }}
{{ end }}
spec:
restartPolicy: OnFailure
containers:
Expand Down

0 comments on commit 1b79648

Please sign in to comment.