Skip to content

Commit

Permalink
Merge pull request #164 from carllhw/feature-pre-install-initdb-toler…
Browse files Browse the repository at this point in the history
…ations

feat: pre-install-initdb support affinity,tolerations
  • Loading branch information
wojiushixiaobai authored Nov 25, 2024
2 parents 3027e41 + 133566e commit f9aaf78
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions charts/jumpserver/templates/pre-install-initdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,12 @@ spec:
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}

0 comments on commit f9aaf78

Please sign in to comment.