diff --git a/api/v1beta1/keycloakrealm_types.go b/api/v1beta1/keycloakrealm_types.go index 336221d1..89aff6cd 100644 --- a/api/v1beta1/keycloakrealm_types.go +++ b/api/v1beta1/keycloakrealm_types.go @@ -62,6 +62,11 @@ type KeycloakRealmSpec struct { // +optional Interval *metav1.Duration `json:"interval,omitempty"` + // Timeout + // +optional + // +deprecated + Timeout *metav1.Duration `json:"timeout,omitempty"` + // Suspend reconciliation // +optional Suspend bool `json:"suspend,omitempty"` diff --git a/api/v1beta1/zz_generated.deepcopy.go b/api/v1beta1/zz_generated.deepcopy.go index 63e0c936..004749a9 100644 --- a/api/v1beta1/zz_generated.deepcopy.go +++ b/api/v1beta1/zz_generated.deepcopy.go @@ -1275,6 +1275,11 @@ func (in *KeycloakRealmSpec) DeepCopyInto(out *KeycloakRealmSpec) { *out = new(v1.Duration) **out = **in } + if in.Timeout != nil { + in, out := &in.Timeout, &out.Timeout + *out = new(v1.Duration) + **out = **in + } if in.ReconcilerTemplate != nil { in, out := &in.ReconcilerTemplate, &out.ReconcilerTemplate *out = new(ReconcilerTemplate) diff --git a/chart/keycloak-controller/crds/keycloak.infra.doodle.com_keycloakrealms.yaml b/chart/keycloak-controller/crds/keycloak.infra.doodle.com_keycloakrealms.yaml index 69899813..44d35477 100644 --- a/chart/keycloak-controller/crds/keycloak.infra.doodle.com_keycloakrealms.yaml +++ b/chart/keycloak-controller/crds/keycloak.infra.doodle.com_keycloakrealms.yaml @@ -9475,6 +9475,9 @@ spec: suspend: description: Suspend reconciliation type: boolean + timeout: + description: Timeout + type: string version: description: Version is the keycloak version type: string diff --git a/config/base/crd/bases/keycloak.infra.doodle.com_keycloakrealms.yaml b/config/base/crd/bases/keycloak.infra.doodle.com_keycloakrealms.yaml index 69899813..44d35477 100644 --- a/config/base/crd/bases/keycloak.infra.doodle.com_keycloakrealms.yaml +++ b/config/base/crd/bases/keycloak.infra.doodle.com_keycloakrealms.yaml @@ -9475,6 +9475,9 @@ spec: suspend: description: Suspend reconciliation type: boolean + timeout: + description: Timeout + type: string version: description: Version is the keycloak version type: string