diff --git a/hooks/persistence-azure-monitor/templates/persistence-provider.yaml b/hooks/persistence-azure-monitor/templates/persistence-provider.yaml index ebb5145053..1e8980c1c7 100644 --- a/hooks/persistence-azure-monitor/templates/persistence-provider.yaml +++ b/hooks/persistence-azure-monitor/templates/persistence-provider.yaml @@ -33,6 +33,10 @@ spec: {{ if .Values.hook.env }} {{- toYaml .Values.hook.env | nindent 4 }} {{ end }} + affinity: + {{- toYaml .Values.hook.affinity | nindent 4 }} + tolerations: + {{- toYaml .Values.hook.tolerations | nindent 4 }} {{- with .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 4 }} diff --git a/hooks/persistence-defectdojo/templates/persistence-provider.yaml b/hooks/persistence-defectdojo/templates/persistence-provider.yaml index 6a92876615..6d77ade1b5 100644 --- a/hooks/persistence-defectdojo/templates/persistence-provider.yaml +++ b/hooks/persistence-defectdojo/templates/persistence-provider.yaml @@ -45,6 +45,10 @@ spec: {{ if .Values.hook.env }} {{- toYaml .Values.hook.env | nindent 4 }} {{ end }} + affinity: + {{- toYaml .Values.hook.affinity | nindent 4 }} + tolerations: + {{- toYaml .Values.hook.tolerations | nindent 4 }} {{- with .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 4 }} diff --git a/hooks/persistence-elastic/templates/persistence-provider.yaml b/hooks/persistence-elastic/templates/persistence-provider.yaml index f157f40bb3..1247da2e33 100644 --- a/hooks/persistence-elastic/templates/persistence-provider.yaml +++ b/hooks/persistence-elastic/templates/persistence-provider.yaml @@ -57,6 +57,10 @@ spec: {{ if .Values.hook.env }} {{- toYaml .Values.hook.env | nindent 4 }} {{ end }} + affinity: + {{- toYaml .Values.hook.affinity | nindent 4 }} + tolerations: + {{- toYaml .Values.hook.tolerations | nindent 4 }} {{- with .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 4 }}