Create a manual database migration trigger
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 88
- Forks
- 66
- Avg merge
- 53m
- Merged PRs (30d)
- 1
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing how the operator creates and triggers the Pulp migration Job, then inspect the documented resource configuration and the external PostgreSQL transition described here. The work is complete when users can reliably trigger migrations after changing database configuration, either through a triggerNonce field or a documented kubectl procedure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes, postgresql
- Domain
- databases, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100