chore(argo-cd): add nodeselector and tolerations to redis-secret-init job (#2708)
chore(argo-cd): add nodeselector and tolerations to redis-secret-init-job Signed-off-by: Pavan <borntofight090@gmail.com> Co-authored-by: Pavan <pavan.hn@vida.id>
This commit is contained in:
parent
fcee9a6046
commit
f431e9b2be
4 changed files with 20 additions and 5 deletions
|
|
@ -50,5 +50,13 @@ spec:
|
|||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
restartPolicy: OnFailure
|
||||
{{- with .Values.redisSecretInit.nodeSelector | default .Values.global.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.redisSecretInit.tolerations | default .Values.global.tolerations }}
|
||||
tolerations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ include "argo-cd.redisSecretInit.serviceAccountName" . }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue