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

Update scheduler.yaml to prevent deletion/prune #14

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

soukron
Copy link
Contributor

@soukron soukron commented Oct 7, 2024

OpenShift doesn't allow to delete the scheduler resource, therefore if a user removes a pattern, it will never succeed as argocd won't be able to delete the managed resource (which is indeed something good).

Added delete/prune annotations so it doesn't fails and prevents a successful cascade deletion of all resources when removing a pattern which configures the scheduler.

Maybe the ServerSideApply=true would also help to be less intrusive.

Added delete/prune annotations so it doesn't fails and prevents a successfull cascade deletion of all resources when removing a pattern which configures the scheduler.

Maybe the ServerSideApply=true would also help to be less intrusive.
@mbaldessari mbaldessari merged commit 66ae42a into validatedpatterns:main Oct 7, 2024
4 checks passed
@mbaldessari
Copy link
Contributor

lgtm, thanks!

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