-
Notifications
You must be signed in to change notification settings - Fork 1
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
🐛 [BUG] - Resources gets created when plugin is disabled #556
Comments
Good catch. Was running in this too, when testing this scenario:
Not sure if the latter is even possible, but the disabled plugin shows as disabled correctly, however all resources are deployed. |
I found the original commit that introduced the There are two parts to this:
|
@IvoGoman Thank you for giving the insights. Do you think it also makes sense to add a condition to the statusConditions:
conditions:
- lastTransitionTime: "2024-08-26T17:06:42Z"
message: "Plugin is disabled successfully"
status: "True|false"
type: PluginDisabled
- lastTransitionTime: "2024-09-04T13:08:48Z"
message: Helm Chart Test is successful
status: "True"
type: NoHelmChartTestFailures |
I am not sure we should actually implement this, or deprecate and remove the field. It looks like there was no real use-case for it since the field was added 1,5 years ago. The scenario which @viennaa is describing sounds like a feature for the PluginPreset, as to use a 'clusterSelector' but also provide a blocklist to remove clusters by name? |
okay, cool. Shall we discuss this topic in the next Greenhouse weekly meeting? |
Priority
(Medium) I'm annoyed but I'll live
Description
The resources defined in the PluginDefinition helm chart gets created in the remote cluster even when the
plugin.spec.disabled
is set totrue
.Reproduction steps
Manifests
Screenshots
![DESCRIPTION](LINK.png)
The text was updated successfully, but these errors were encountered: