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

Ignore includeUIDInPath annotation when reviving db #835

Merged
merged 3 commits into from
Jun 20, 2024
Merged

Conversation

roypaulin
Copy link
Collaborator

@roypaulin roypaulin commented Jun 17, 2024

When vertica.com/include-uid-in-path is set to true, the operator will include the VerticaDB's UID in the path. The issue is that when reviving a db, we expect the path to an existing communal storage so that path should not be altered to avoid failure during revivedb. This PR adds a webhook rule that prevents setting the annotation to true when initPolicy is Revive

@roypaulin
Copy link
Collaborator Author

I agree, adding a webhook rule is better.

@roypaulin roypaulin merged commit 1280d4f into main Jun 20, 2024
57 of 59 checks passed
@roypaulin roypaulin deleted the roypaulin/uid branch June 20, 2024 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants