mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-02-14 09:59:57 +00:00
fix(controller): add boolean defaults (#1056)
* fix(controller): add boolean defaults Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * fix(helm): add boolean defaults Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * fix(docs): add boolean defaults Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * fix(installer): add boolean defaults Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> --------- Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
This commit is contained in:
@@ -50,9 +50,11 @@ type TenantSpec struct {
|
||||
// Optional.
|
||||
PriorityClasses *api.DefaultAllowedListSpec `json:"priorityClasses,omitempty"`
|
||||
// Toggling the Tenant resources cordoning, when enable resources cannot be deleted.
|
||||
//+kubebuilder:default:=false
|
||||
Cordoned bool `json:"cordoned,omitempty"`
|
||||
// Prevent accidental deletion of the Tenant.
|
||||
// When enabled, the deletion request will be declined.
|
||||
//+kubebuilder:default:=false
|
||||
PreventDeletion bool `json:"preventDeletion,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user