Skip to content

Commit

Permalink
Merge pull request #35 from opf/fix/custom-seeder-annotations
Browse files Browse the repository at this point in the history
Add seeder annotations
  • Loading branch information
machisuji authored Nov 13, 2023
2 parents 1999e5d + df2ea6a commit 89076c9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/openproject/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ home: "https://www.openproject.org/"
icon: "https://www.openproject.org/assets/images/press/openproject-icon-original-color-41055eb6.png"
type: "application"
appVersion: "13"
version: "2.5.0"
version: "2.5.1"
maintainers:
- name: OpenProject
url: https://github.com/opf/helm-charts
Expand Down
4 changes: 4 additions & 0 deletions charts/openproject/templates/seeder-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ metadata:
name: {{ include "common.names.fullname" . }}-seeder-{{ now | date "20060102150405" }}
labels:
{{- include "common.labels.standard" . | nindent 4 }}
{{- with .Values.seederJob.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
ttlSecondsAfterFinished: 6000
template:
Expand Down
6 changes: 6 additions & 0 deletions charts/openproject/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,12 @@ serviceAccount:
#
annotations: {}

# Options for the seeder job
seederJob:
## Define custom seeder job annotations.
#
annotations: {}

## Tolerations for pod assignment.
##
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
Expand Down

0 comments on commit 89076c9

Please sign in to comment.