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

[admission] Restrict manual removal of Templates managed by HMC #329

Open
eromanova opened this issue Sep 17, 2024 · 0 comments · May be fixed by #355
Open

[admission] Restrict manual removal of Templates managed by HMC #329

eromanova opened this issue Sep 17, 2024 · 0 comments · May be fixed by #355
Assignees

Comments

@eromanova
Copy link
Member

eromanova commented Sep 17, 2024

The admission webhook should:

  1. Forbid the removal of ClusterTemplates and ServiceTemplates, managed by the HMC distribution system (with hmc.mirantis.com/managed: true label) or the template is in use by ManagedCluster or template chain.
  2. Forbid the removal of ProviderTemplates enabled in the Management object.
@eromanova eromanova self-assigned this Sep 17, 2024
@eromanova eromanova moved this from Todo to In Progress in Project 2A Sep 19, 2024
@eromanova eromanova changed the title [admission] Restrict manual Templates removal [admission] Restrict the manual removal of Templates managed by HMC Sep 19, 2024
@eromanova eromanova linked a pull request Sep 19, 2024 that will close this issue
@eromanova eromanova changed the title [admission] Restrict the manual removal of Templates managed by HMC [admission] Restrict manual removal of Templates managed by HMC Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant