Skip to content

Commit

Permalink
share data node affinity and tolerations with security admin job
Browse files Browse the repository at this point in the history
  • Loading branch information
nickytd committed Nov 18, 2023
1 parent a2778c3 commit 6f3b39e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions chart/templates/opensearch/os-securityadmin-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets: {{ toYaml . | nindent 6 }}
{{- end }}
{{- with .Values.data.affinity }}
affinity: {{ toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.data.tolerations }}
tolerations: {{ toYaml . | nindent 8 }}
{{- end }}
initContainers:
- name: init
image: {{ include "init_container.image" . }}
Expand Down

0 comments on commit 6f3b39e

Please sign in to comment.