Skip to content

Commit

Permalink
[ISSUE-197] crd job annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalw82 committed Dec 20, 2023
1 parent a3dd442 commit fc27827
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/csi-baremetal-operator/templates/pre-upgrade-crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ spec:
activeDeadlineSeconds: 300
template:
metadata:
{{- with .Values.preUpgradeCRDsHooks.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
name: "{{.Release.Namespace}}-{{.Release.Name}}-csi-baremetal-pre-crds-job"
spec:
serviceAccountName: "{{.Release.Namespace}}-{{.Release.Name}}-csi-baremetal-pre-crds-sa"
Expand Down
2 changes: 2 additions & 0 deletions charts/csi-baremetal-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ preUpgradeCRDsHooks:
requests:
cpu: 100m
memory: 20Mi

podAnnotations: {}

0 comments on commit fc27827

Please sign in to comment.