3
0
mirror of https://github.com/mastodon/chart synced 2025-04-27 18:53:40 +00:00
mastodon-chart-mirror/templates/job-db-migrate.yaml
Tim Campbell 56e36d266c
Resource-specific nodeSelector (#176)
Co-authored-by: Yann Defretin <yann@defret.in>
2025-04-09 00:41:34 -07:00

8 lines
306 B
YAML

{{- if .Values.mastodon.hooks.dbMigrate.enabled }}
{{- include "mastodon.dbMigrateJob" (merge (dict "preDeploy" false ) .) }}
{{- with coalesce .Values.mastodon.hooks.dbMigrate.nodeSelector .Values.nodeSelector }}
nodeSelector:
{{- . | toYaml | nindent 8 }}
{{- end }}
{{- end }}