mirror of
https://github.com/mastodon/chart
synced 2025-03-15 05:21:52 +00:00
11 lines
471 B
YAML
11 lines
471 B
YAML
{{- if and .Values.mastodon.hooks.dbPrepare.enabled (not .Values.postgresql.enabled) }}
|
|
{{- include "mastodon.dbMigrateJob" (merge (dict "prepare" true ) .) }}
|
|
{{- if .Values.mastodon.hooks.dbPrepare.nodeSelector }}
|
|
nodeSelector:
|
|
{{- .Values.mastodon.hooks.dbPrepare.nodeSelector | toYaml | nindent 8 }}
|
|
{{- else if .Values.nodeSelector }}
|
|
nodeSelector:
|
|
{{- .Values.nodeSelector | toYaml | nindent 8 }}
|
|
{{- end }}
|
|
{{- end }}
|