Commit 3fdf72c
refactor(pluginpreset): create a dedicated PluginSpec
Some fields (ClusterName, WaitFor) of the PluginSpec are not used by the PluginPreset
With the upcoming changes of moving expression evaluation to the PluginPreset controller this will also effect the PluginOptionValues.
This change brings a dedicated PluginSpec for PluginPresets and prepares the types for PluginOptionValues. The usage of the new PluginPresetPluginOptionValue will be implemented separately.
Fields such as ClusterName, WaitFor are removed, both from types and webhook validation.
Signed-off-by: Ivo Gosemann <ivo.gosemann@sap.com>
Signed-off-by: Klaudiusz Fabryczny <klaudiusz.fabryczny@sap.com>1 parent 25506d7 commit 3fdf72c
3 files changed
Lines changed: 1 addition & 6 deletions
File tree
- charts/manager/crds
- internal/controller/plugin
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | 1 | | |
5 | 2 | | |
6 | 3 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | 1 | | |
5 | 2 | | |
6 | 3 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
| 505 | + | |
505 | 506 | | |
506 | 507 | | |
507 | 508 | | |
| |||
0 commit comments