The source project of this merge request has been removed.
Mount pages secret/configuration only when Pages is enabled in migrations job
What does this MR do?
When .Values.global.pages is disabled then the pages oauth secret is not generated
The migrations job might not start because of pages accessControl being set to true
though and it will wait for the secret to be created.
This syncs the condition in the migrations job spec to match the one in shared secrets.