Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a manual database migration trigger #1295

Open
AndersBennedsgaard opened this issue Jul 1, 2024 · 1 comment
Open

Create a manual database migration trigger #1295

AndersBennedsgaard opened this issue Jul 1, 2024 · 1 comment
Labels

Comments

@AndersBennedsgaard
Copy link

Is your feature request related to a problem? Please describe.

I changed the Pulp resource to use an external PostgreSQL database from the operator-managed instance, which didn't trigger the migration step, so all Pulp services complained about missing migrations which never happened.

Describe the solution you'd like

Create a way to manually trigger the migration job. This could be adding a .spec.migration_job.triggerNonce field, which accepts any random string and runs the job whenever it changes. As an alternative, the migration Job spec could be added to the documentation such that you could manually trigger it with kubectl or similar

@mikedep333
Copy link
Member

Hi @AndersBennedsgaard

We agree this is an important feature request. We're not sure how exactly to trigger the manual migration, but we see the need. Unfortunately, we cannot commit to anytime for fixing it.

-Mike

git-hyagi added a commit to git-hyagi/pulp-operator that referenced this issue Jul 18, 2024
git-hyagi added a commit that referenced this issue Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants