diff --git a/api/v1/runtime_types.go b/api/v1/runtime_types.go index dbbc7c83..b1fb7619 100644 --- a/api/v1/runtime_types.go +++ b/api/v1/runtime_types.go @@ -164,7 +164,7 @@ type Kubernetes struct { } type APIServer struct { - OidcConfig gardener.OIDCConfig `json:"oidcConfig"` + OidcConfig gardener.OIDCConfig `json:"oidcConfig,omitempty"` AdditionalOidcConfig *[]gardener.OIDCConfig `json:"additionalOidcConfig,omitempty"` } diff --git a/config/crd/bases/infrastructuremanager.kyma-project.io_runtimes.yaml b/config/crd/bases/infrastructuremanager.kyma-project.io_runtimes.yaml index 034516ab..f3743ca0 100644 --- a/config/crd/bases/infrastructuremanager.kyma-project.io_runtimes.yaml +++ b/config/crd/bases/infrastructuremanager.kyma-project.io_runtimes.yaml @@ -279,8 +279,6 @@ spec: the value '-'. type: string type: object - required: - - oidcConfig type: object version: type: string