diff --git a/charts/csi-baremetal-operator/templates/pre-upgrade-crds.yaml b/charts/csi-baremetal-operator/templates/pre-upgrade-crds.yaml index 7a7fe1b4..941bcefd 100644 --- a/charts/csi-baremetal-operator/templates/pre-upgrade-crds.yaml +++ b/charts/csi-baremetal-operator/templates/pre-upgrade-crds.yaml @@ -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" diff --git a/charts/csi-baremetal-operator/values.yaml b/charts/csi-baremetal-operator/values.yaml index 10d565a4..2ff788f0 100644 --- a/charts/csi-baremetal-operator/values.yaml +++ b/charts/csi-baremetal-operator/values.yaml @@ -40,3 +40,5 @@ preUpgradeCRDsHooks: requests: cpu: 100m memory: 20Mi + + podAnnotations: {} \ No newline at end of file