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:
Oliver Bähler
2024-05-01 11:00:09 +02:00
committed by GitHub
parent 9a3a8b0cac
commit c0d5d6fcb2
5 changed files with 2317 additions and 2307 deletions

View File

@@ -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"`
}

File diff suppressed because it is too large Load Diff

View File

@@ -1188,6 +1188,7 @@ spec:
type: string
type: object
cordoned:
default: false
description: Toggling the Tenant resources cordoning, when enable
resources cannot be deleted.
type: boolean
@@ -2046,6 +2047,7 @@ spec:
type: object
type: object
preventDeletion:
default: false
description: Prevent accidental deletion of the Tenant. When enabled,
the deletion request will be declined.
type: boolean

View File

@@ -1341,6 +1341,7 @@ spec:
type: string
type: object
cordoned:
default: false
description: Toggling the Tenant resources cordoning, when enable resources cannot be deleted.
type: boolean
imagePullPolicies:
@@ -1873,6 +1874,7 @@ spec:
type: object
type: object
preventDeletion:
default: false
description: Prevent accidental deletion of the Tenant. When enabled, the deletion request will be declined.
type: boolean
priorityClasses:

View File

@@ -1361,6 +1361,8 @@ TenantSpec defines the desired state of Tenant.
<td>boolean</td>
<td>
Toggling the Tenant resources cordoning, when enable resources cannot be deleted.<br/>
<br/>
<i>Default</i>: false<br/>
</td>
<td>false</td>
</tr><tr>
@@ -1417,6 +1419,8 @@ TenantSpec defines the desired state of Tenant.
<td>boolean</td>
<td>
Prevent accidental deletion of the Tenant. When enabled, the deletion request will be declined.<br/>
<br/>
<i>Default</i>: false<br/>
</td>
<td>false</td>
</tr><tr>