diff --git a/api/repositories/app_repository_test.go b/api/repositories/app_repository_test.go index 0563845c5..068b322df 100644 --- a/api/repositories/app_repository_test.go +++ b/api/repositories/app_repository_test.go @@ -1530,7 +1530,6 @@ func createAppWithGUID(space, guid string) *korifiv1alpha1.CFApp { } Expect(k8sClient.Create(context.Background(), cfApp)).To(Succeed()) - cfApp.Status.Conditions = []metav1.Condition{} Expect(k8sClient.Status().Update(context.Background(), cfApp)).To(Succeed()) return cfApp diff --git a/api/repositories/task_repository_test.go b/api/repositories/task_repository_test.go index b900f025f..455626792 100644 --- a/api/repositories/task_repository_test.go +++ b/api/repositories/task_repository_test.go @@ -36,10 +36,6 @@ var _ = Describe("TaskRepository", func() { setStatusAndUpdate := func(task *korifiv1alpha1.CFTask, conditionTypes ...string) { GinkgoHelper() - if task.Status.Conditions == nil { - task.Status.Conditions = []metav1.Condition{} - } - for _, cond := range conditionTypes { meta.SetStatusCondition(&(task.Status.Conditions), metav1.Condition{ Type: cond, diff --git a/controllers/api/v1alpha1/appworkload_types.go b/controllers/api/v1alpha1/appworkload_types.go index d53b4bb82..12df7ec16 100644 --- a/controllers/api/v1alpha1/appworkload_types.go +++ b/controllers/api/v1alpha1/appworkload_types.go @@ -56,8 +56,8 @@ type AppWorkloadSpec struct { // AppWorkloadStatus defines the observed state of AppWorkload type AppWorkloadStatus struct { - // Conditions capture the current status of the observed generation of the AppWorkload - Conditions []metav1.Condition `json:"conditions"` + //+kubebuilder:validation:Optional + Conditions []metav1.Condition `json:"conditions,omitempty"` // ObservedGeneration captures the latest generation of the AppWorkload that has been reconciled ObservedGeneration int64 `json:"observedGeneration,omitempty"` diff --git a/controllers/api/v1alpha1/builderinfo_types.go b/controllers/api/v1alpha1/builderinfo_types.go index bd48b6afd..9378156bb 100644 --- a/controllers/api/v1alpha1/builderinfo_types.go +++ b/controllers/api/v1alpha1/builderinfo_types.go @@ -27,7 +27,8 @@ type BuilderInfoSpec struct{} type BuilderInfoStatus struct { Stacks []BuilderInfoStatusStack `json:"stacks"` Buildpacks []BuilderInfoStatusBuildpack `json:"buildpacks"` - Conditions []metav1.Condition `json:"conditions"` + //+kubebuilder:validation:Optional + Conditions []metav1.Condition `json:"conditions,omitempty"` // ObservedGeneration captures the latest generation of the BuilderInfo that has been reconciled ObservedGeneration int64 `json:"observedGeneration,omitempty"` diff --git a/controllers/api/v1alpha1/buildworkload_types.go b/controllers/api/v1alpha1/buildworkload_types.go index 2f2c8137a..d0129ee5a 100644 --- a/controllers/api/v1alpha1/buildworkload_types.go +++ b/controllers/api/v1alpha1/buildworkload_types.go @@ -49,9 +49,8 @@ type BuildWorkloadSpec struct { // BuildWorkloadStatus defines the observed state of BuildWorkload type BuildWorkloadStatus struct { - // Conditions capture the current status of the observed generation of the BuildWorkload - // +optional - Conditions []metav1.Condition `json:"conditions"` + //+kubebuilder:validation:Optional + Conditions []metav1.Condition `json:"conditions,omitempty"` Droplet *BuildDropletStatus `json:"droplet,omitempty"` diff --git a/controllers/api/v1alpha1/cfapp_types.go b/controllers/api/v1alpha1/cfapp_types.go index a8161f24c..85c36d191 100644 --- a/controllers/api/v1alpha1/cfapp_types.go +++ b/controllers/api/v1alpha1/cfapp_types.go @@ -51,8 +51,8 @@ type DesiredState string // CFAppStatus defines the observed state of CFApp type CFAppStatus struct { - // Conditions capture the current status of the App - Conditions []metav1.Condition `json:"conditions"` + //+kubebuilder:validation:Optional + Conditions []metav1.Condition `json:"conditions,omitempty"` // Deprecated: No longer used //+kubebuilder:validation:Optional diff --git a/controllers/api/v1alpha1/cfbuild_types.go b/controllers/api/v1alpha1/cfbuild_types.go index 361c12dda..9c5673402 100644 --- a/controllers/api/v1alpha1/cfbuild_types.go +++ b/controllers/api/v1alpha1/cfbuild_types.go @@ -40,8 +40,8 @@ type CFBuildSpec struct { // CFBuildStatus defines the observed state of CFBuild type CFBuildStatus struct { Droplet *BuildDropletStatus `json:"droplet,omitempty"` - // Conditions capture the current status of the Build - Conditions []metav1.Condition `json:"conditions"` + //+kubebuilder:validation:Optional + Conditions []metav1.Condition `json:"conditions,omitempty"` // ObservedGeneration captures the latest generation of the CFBuild that has been reconciled ObservedGeneration int64 `json:"observedGeneration,omitempty"` diff --git a/controllers/api/v1alpha1/cfdomain_types.go b/controllers/api/v1alpha1/cfdomain_types.go index 4e658446f..0b5f08d93 100644 --- a/controllers/api/v1alpha1/cfdomain_types.go +++ b/controllers/api/v1alpha1/cfdomain_types.go @@ -32,7 +32,7 @@ type CFDomainSpec struct { // CFDomainStatus defines the observed state of CFDomain type CFDomainStatus struct { - // Conditions capture the current status of the domain + //+kubebuilder:validation:Optional Conditions []metav1.Condition `json:"conditions,omitempty"` // ObservedGeneration captures the latest generation of the CFDomain that has been reconciled diff --git a/controllers/api/v1alpha1/cforg_types.go b/controllers/api/v1alpha1/cforg_types.go index 723f04617..b0a53ea2e 100644 --- a/controllers/api/v1alpha1/cforg_types.go +++ b/controllers/api/v1alpha1/cforg_types.go @@ -40,7 +40,8 @@ type CFOrgSpec struct { // CFOrgStatus defines the observed state of CFOrg type CFOrgStatus struct { - Conditions []metav1.Condition `json:"conditions"` + //+kubebuilder:validation:Optional + Conditions []metav1.Condition `json:"conditions,omitempty"` GUID string `json:"guid"` diff --git a/controllers/api/v1alpha1/cfpackage_types.go b/controllers/api/v1alpha1/cfpackage_types.go index 8dec12709..de49ce1e8 100644 --- a/controllers/api/v1alpha1/cfpackage_types.go +++ b/controllers/api/v1alpha1/cfpackage_types.go @@ -48,8 +48,8 @@ type PackageSource struct { // CFPackageStatus defines the observed state of CFPackage type CFPackageStatus struct { - // Conditions capture the current status of the Package - Conditions []metav1.Condition `json:"conditions"` + //+kubebuilder:validation:Optional + Conditions []metav1.Condition `json:"conditions,omitempty"` // ObservedGeneration captures the latest generation of the CFPackage that has been reconciled ObservedGeneration int64 `json:"observedGeneration,omitempty"` diff --git a/controllers/api/v1alpha1/cfprocess_types.go b/controllers/api/v1alpha1/cfprocess_types.go index 1f08cfc6a..2a05d4d0c 100644 --- a/controllers/api/v1alpha1/cfprocess_types.go +++ b/controllers/api/v1alpha1/cfprocess_types.go @@ -83,8 +83,8 @@ type HealthCheckData struct { // CFProcessStatus defines the observed state of CFProcess type CFProcessStatus struct { - // Conditions capture the current status of the Process - Conditions []metav1.Condition `json:"conditions"` + //+kubebuilder:validation:Optional + Conditions []metav1.Condition `json:"conditions,omitempty"` // ObservedGeneration captures the latest generation of the CFProcess that has been reconciled ObservedGeneration int64 `json:"observedGeneration,omitempty"` diff --git a/controllers/api/v1alpha1/cfroute_types.go b/controllers/api/v1alpha1/cfroute_types.go index e591f0479..583f6e02c 100644 --- a/controllers/api/v1alpha1/cfroute_types.go +++ b/controllers/api/v1alpha1/cfroute_types.go @@ -78,7 +78,7 @@ type CFRouteStatus struct { // The observed state of the destinations. This is mainly used to record the target port of the underlying service Destinations []Destination `json:"destinations,omitempty"` - // Conditions capture the current status of the route + //+kubebuilder:validation:Optional Conditions []metav1.Condition `json:"conditions,omitempty"` // ObservedGeneration captures the latest generation of the CFRoute that has been reconciled diff --git a/controllers/api/v1alpha1/cfservicebinding_types.go b/controllers/api/v1alpha1/cfservicebinding_types.go index 73d717c91..e0c91b8c1 100644 --- a/controllers/api/v1alpha1/cfservicebinding_types.go +++ b/controllers/api/v1alpha1/cfservicebinding_types.go @@ -42,8 +42,8 @@ type CFServiceBindingStatus struct { // +optional Binding v1.LocalObjectReference `json:"binding"` - // Conditions capture the current status of the CFServiceBinding - Conditions []metav1.Condition `json:"conditions"` + //+kubebuilder:validation:Optional + Conditions []metav1.Condition `json:"conditions,omitempty"` // ObservedGeneration captures the latest generation of the CFServiceBinding that has been reconciled ObservedGeneration int64 `json:"observedGeneration,omitempty"` diff --git a/controllers/api/v1alpha1/cfserviceinstance_types.go b/controllers/api/v1alpha1/cfserviceinstance_types.go index cc3108ef2..14ecf1679 100644 --- a/controllers/api/v1alpha1/cfserviceinstance_types.go +++ b/controllers/api/v1alpha1/cfserviceinstance_types.go @@ -58,8 +58,8 @@ type CFServiceInstanceStatus struct { // +optional Binding corev1.LocalObjectReference `json:"binding"` - // Conditions capture the current status of the CFServiceInstance - Conditions []metav1.Condition `json:"conditions"` + //+kubebuilder:validation:Optional + Conditions []metav1.Condition `json:"conditions,omitempty"` // ObservedGeneration captures the latest generation of the CFServiceInstance that has been reconciled ObservedGeneration int64 `json:"observedGeneration,omitempty"` diff --git a/controllers/api/v1alpha1/cfspace_types.go b/controllers/api/v1alpha1/cfspace_types.go index 0027852c5..01b8c08c4 100644 --- a/controllers/api/v1alpha1/cfspace_types.go +++ b/controllers/api/v1alpha1/cfspace_types.go @@ -39,8 +39,8 @@ type CFSpaceSpec struct { // CFSpaceStatus defines the observed state of CFSpace type CFSpaceStatus struct { - // Conditions capture the current status of the CFSpace - Conditions []metav1.Condition `json:"conditions"` + //+kubebuilder:validation:Optional + Conditions []metav1.Condition `json:"conditions,omitempty"` GUID string `json:"guid"` diff --git a/controllers/api/v1alpha1/cftask_types.go b/controllers/api/v1alpha1/cftask_types.go index ae566bd55..70d623d42 100644 --- a/controllers/api/v1alpha1/cftask_types.go +++ b/controllers/api/v1alpha1/cftask_types.go @@ -42,8 +42,8 @@ type CFTaskSpec struct { // CFTaskStatus defines the observed state of CFTask type CFTaskStatus struct { - // +optional - Conditions []metav1.Condition `json:"conditions"` + //+kubebuilder:validation:Optional + Conditions []metav1.Condition `json:"conditions,omitempty"` // +optional SequenceID int64 `json:"sequenceId"` diff --git a/controllers/api/v1alpha1/runnerinfo_types.go b/controllers/api/v1alpha1/runnerinfo_types.go index 30e3d0c2b..e005f1029 100644 --- a/controllers/api/v1alpha1/runnerinfo_types.go +++ b/controllers/api/v1alpha1/runnerinfo_types.go @@ -30,7 +30,7 @@ type RunnerInfoSpec struct { // RunnerInfoStatus defines the observed state of RunnerInfo type RunnerInfoStatus struct { //+kubebuilder:validation:Optional - Conditions []metav1.Condition `json:"conditions"` + Conditions []metav1.Condition `json:"conditions,omitempty"` Capabilities RunnerInfoCapabilities `json:"capabilities"` diff --git a/controllers/api/v1alpha1/taskworkload_types.go b/controllers/api/v1alpha1/taskworkload_types.go index 4d54f84bb..247318f20 100644 --- a/controllers/api/v1alpha1/taskworkload_types.go +++ b/controllers/api/v1alpha1/taskworkload_types.go @@ -41,8 +41,8 @@ type TaskWorkloadSpec struct { // TaskWorkloadStatus defines the observed state of TaskWorkload type TaskWorkloadStatus struct { - // +optional - Conditions []metav1.Condition `json:"conditions"` + //+kubebuilder:validation:Optional + Conditions []metav1.Condition `json:"conditions,omitempty"` // ObservedGeneration captures the latest generation of the TaskWorkload that has been reconciled ObservedGeneration int64 `json:"observedGeneration,omitempty"` diff --git a/controllers/controllers/workloads/cfapp_controller.go b/controllers/controllers/workloads/cfapp_controller.go index e85540292..077fd7f8b 100644 --- a/controllers/controllers/workloads/cfapp_controller.go +++ b/controllers/controllers/workloads/cfapp_controller.go @@ -133,10 +133,6 @@ func (r *CFAppReconciler) ReconcileResource(ctx context.Context, cfApp *korifiv1 cfApp.Status.VCAPServicesSecretName = secretName - if cfApp.Status.Conditions == nil { - cfApp.Status.Conditions = make([]metav1.Condition, 0) - } - if cfApp.Spec.CurrentDropletRef.Name == "" { meta.SetStatusCondition(&cfApp.Status.Conditions, metav1.Condition{ Type: shared.StatusConditionReady, diff --git a/controllers/controllers/workloads/cfapp_controller_test.go b/controllers/controllers/workloads/cfapp_controller_test.go index 1aac4166d..df2525fed 100644 --- a/controllers/controllers/workloads/cfapp_controller_test.go +++ b/controllers/controllers/workloads/cfapp_controller_test.go @@ -112,7 +112,6 @@ var _ = Describe("CFAppReconciler Integration Tests", func() { } Expect(adminClient.Create(ctx, serviceBinding)).To(Succeed()) Expect(k8s.Patch(ctx, adminClient, serviceBinding, func() { - serviceBinding.Status.Conditions = []metav1.Condition{} serviceBinding.Status.Binding = corev1.LocalObjectReference{ Name: serviceInstanceSecret.Name, } diff --git a/controllers/controllers/workloads/env/env_suite_test.go b/controllers/controllers/workloads/env/env_suite_test.go index bd330b692..39eadc37f 100644 --- a/controllers/controllers/workloads/env/env_suite_test.go +++ b/controllers/controllers/workloads/env/env_suite_test.go @@ -99,7 +99,6 @@ var _ = BeforeEach(func() { ensureCreate(cfOrg) orgNSName := testutils.PrefixedGUID("org") ensurePatch(cfOrg, func(cfOrg *korifiv1alpha1.CFOrg) { - cfOrg.Status.Conditions = []metav1.Condition{} cfOrg.Status.GUID = orgNSName }) createNamespace(cfOrg.Status.GUID) @@ -116,7 +115,6 @@ var _ = BeforeEach(func() { ensureCreate(cfSpace) cfNSName := testutils.PrefixedGUID("space") ensurePatch(cfSpace, func(cfSpace *korifiv1alpha1.CFSpace) { - cfSpace.Status.Conditions = []metav1.Condition{} cfSpace.Status.GUID = cfNSName }) createNamespace(cfSpace.Status.GUID) @@ -138,7 +136,6 @@ var _ = BeforeEach(func() { ensureCreate(cfApp) ensurePatch(cfApp, func(app *korifiv1alpha1.CFApp) { app.Status = korifiv1alpha1.CFAppStatus{ - Conditions: []metav1.Condition{}, VCAPServicesSecretName: "app-guid-vcap-services", VCAPApplicationSecretName: "app-guid-vcap-application", } diff --git a/controllers/controllers/workloads/env/vcap_services_builder_test.go b/controllers/controllers/workloads/env/vcap_services_builder_test.go index c1f2bf567..4d7f4de51 100644 --- a/controllers/controllers/workloads/env/vcap_services_builder_test.go +++ b/controllers/controllers/workloads/env/vcap_services_builder_test.go @@ -69,7 +69,6 @@ var _ = Describe("Builder", func() { ensureCreate(serviceBinding) ensurePatch(serviceBinding, func(sb *korifiv1alpha1.CFServiceBinding) { sb.Status = korifiv1alpha1.CFServiceBindingStatus{ - Conditions: []metav1.Condition{}, Binding: corev1.LocalObjectReference{ Name: "service-binding-secret", }, @@ -118,7 +117,6 @@ var _ = Describe("Builder", func() { ensureCreate(serviceBinding2) ensurePatch(serviceBinding2, func(sb *korifiv1alpha1.CFServiceBinding) { sb.Status = korifiv1alpha1.CFServiceBindingStatus{ - Conditions: []metav1.Condition{}, Binding: corev1.LocalObjectReference{ Name: "service-binding-secret-2", }, diff --git a/controllers/controllers/workloads/suite_test.go b/controllers/controllers/workloads/suite_test.go index faa9162b8..5f50fef8a 100644 --- a/controllers/controllers/workloads/suite_test.go +++ b/controllers/controllers/workloads/suite_test.go @@ -264,7 +264,6 @@ func createBuildWithDroplet(ctx context.Context, k8sClient client.Client, cfBuil k8sClient.Create(ctx, cfBuild), ).To(Succeed()) patchedCFBuild := cfBuild.DeepCopy() - patchedCFBuild.Status.Conditions = []metav1.Condition{} patchedCFBuild.Status.Droplet = droplet Expect( k8sClient.Status().Patch(ctx, patchedCFBuild, client.MergeFrom(cfBuild)), diff --git a/controllers/webhooks/workloads/cftask_defaulter_test.go b/controllers/webhooks/workloads/cftask_defaulter_test.go index 1c7971136..9d8de3965 100644 --- a/controllers/webhooks/workloads/cftask_defaulter_test.go +++ b/controllers/webhooks/workloads/cftask_defaulter_test.go @@ -37,9 +37,7 @@ var _ = Describe("CFTaskMutatingWebhook", func() { JustBeforeEach(func() { Expect(adminClient.Create(context.Background(), cfTask)).To(Succeed()) Expect(k8s.Patch(context.Background(), adminClient, cfTask, func() { - cfTask.Status = korifiv1alpha1.CFTaskStatus{ - Conditions: []metav1.Condition{}, - } + cfTask.Status = korifiv1alpha1.CFTaskStatus{} })).To(Succeed()) }) diff --git a/controllers/webhooks/workloads/cftask_validator_test.go b/controllers/webhooks/workloads/cftask_validator_test.go index eb5068363..1b5337de8 100644 --- a/controllers/webhooks/workloads/cftask_validator_test.go +++ b/controllers/webhooks/workloads/cftask_validator_test.go @@ -88,7 +88,6 @@ var _ = Describe("CFTask Creation", func() { originalCfTask := cfTask.DeepCopy() cfTask.Status = korifiv1alpha1.CFTaskStatus{ - Conditions: []metav1.Condition{}, SequenceID: seqId, } @@ -141,9 +140,7 @@ var _ = Describe("CFTask Update", func() { } Expect(adminClient.Create(context.Background(), cfTask)).To(Succeed()) Expect(k8s.Patch(context.Background(), adminClient, cfTask, func() { - cfTask.Status = korifiv1alpha1.CFTaskStatus{ - Conditions: []metav1.Condition{}, - } + cfTask.Status = korifiv1alpha1.CFTaskStatus{} })).To(Succeed()) }) diff --git a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_appworkloads.yaml b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_appworkloads.yaml index e29ad0d8e..72d7243c3 100644 --- a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_appworkloads.yaml +++ b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_appworkloads.yaml @@ -678,8 +678,6 @@ spec: description: AppWorkloadStatus defines the observed state of AppWorkload properties: conditions: - description: Conditions capture the current status of the observed - generation of the AppWorkload items: description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct @@ -752,8 +750,6 @@ spec: the AppWorkload that has been reconciled format: int64 type: integer - required: - - conditions type: object type: object served: true diff --git a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_builderinfos.yaml b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_builderinfos.yaml index 8b2fbd206..250227023 100644 --- a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_builderinfos.yaml +++ b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_builderinfos.yaml @@ -162,7 +162,6 @@ spec: type: array required: - buildpacks - - conditions - stacks type: object type: object diff --git a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_buildworkloads.yaml b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_buildworkloads.yaml index c8b8742f2..e6ac00caf 100644 --- a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_buildworkloads.yaml +++ b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_buildworkloads.yaml @@ -267,8 +267,6 @@ spec: description: BuildWorkloadStatus defines the observed state of BuildWorkload properties: conditions: - description: Conditions capture the current status of the observed - generation of the BuildWorkload items: description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct diff --git a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfapps.yaml b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfapps.yaml index 6d37fbc11..9c20cf07b 100644 --- a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfapps.yaml +++ b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfapps.yaml @@ -108,7 +108,6 @@ spec: description: CFAppStatus defines the observed state of CFApp properties: conditions: - description: Conditions capture the current status of the App items: description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct @@ -192,8 +191,6 @@ spec: description: VCAPServicesSecretName contains the name of the CFApp's VCAP_SERVICES Secret, which should exist in the same namespace type: string - required: - - conditions type: object type: object served: true diff --git a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfbuilds.yaml b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfbuilds.yaml index c7feec953..629641914 100644 --- a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfbuilds.yaml +++ b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfbuilds.yaml @@ -111,7 +111,6 @@ spec: description: CFBuildStatus defines the observed state of CFBuild properties: conditions: - description: Conditions capture the current status of the Build items: description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct @@ -243,8 +242,6 @@ spec: the CFBuild that has been reconciled format: int64 type: integer - required: - - conditions type: object type: object served: true diff --git a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfdomains.yaml b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfdomains.yaml index 4e9171716..641c7ec28 100644 --- a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfdomains.yaml +++ b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfdomains.yaml @@ -52,7 +52,6 @@ spec: description: CFDomainStatus defines the observed state of CFDomain properties: conditions: - description: Conditions capture the current status of the domain items: description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct diff --git a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cforgs.yaml b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cforgs.yaml index d2d4c8acf..97bfde073 100644 --- a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cforgs.yaml +++ b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cforgs.yaml @@ -128,7 +128,6 @@ spec: format: int64 type: integer required: - - conditions - guid type: object type: object diff --git a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfpackages.yaml b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfpackages.yaml index 5e47c2792..7abf86a48 100644 --- a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfpackages.yaml +++ b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfpackages.yaml @@ -98,7 +98,6 @@ spec: description: CFPackageStatus defines the observed state of CFPackage properties: conditions: - description: Conditions capture the current status of the Package items: description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct @@ -171,8 +170,6 @@ spec: the CFPackage that has been reconciled format: int64 type: integer - required: - - conditions type: object type: object served: true diff --git a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfprocesses.yaml b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfprocesses.yaml index 0e4e16a86..ac29bc88c 100644 --- a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfprocesses.yaml +++ b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfprocesses.yaml @@ -120,7 +120,6 @@ spec: description: CFProcessStatus defines the observed state of CFProcess properties: conditions: - description: Conditions capture the current status of the Process items: description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct @@ -193,8 +192,6 @@ spec: the CFProcess that has been reconciled format: int64 type: integer - required: - - conditions type: object type: object served: true diff --git a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfroutes.yaml b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfroutes.yaml index cea1fd762..fcb9fb539 100644 --- a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfroutes.yaml +++ b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfroutes.yaml @@ -142,7 +142,6 @@ spec: description: CFRouteStatus defines the observed state of CFRoute properties: conditions: - description: Conditions capture the current status of the route items: description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct diff --git a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfservicebindings.yaml b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfservicebindings.yaml index 043a05e60..cb01dea16 100644 --- a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfservicebindings.yaml +++ b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfservicebindings.yaml @@ -111,7 +111,6 @@ spec: type: object x-kubernetes-map-type: atomic conditions: - description: Conditions capture the current status of the CFServiceBinding items: description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct @@ -184,8 +183,6 @@ spec: the CFServiceBinding that has been reconciled format: int64 type: integer - required: - - conditions type: object type: object served: true diff --git a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfserviceinstances.yaml b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfserviceinstances.yaml index ea1485571..095be15c9 100644 --- a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfserviceinstances.yaml +++ b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfserviceinstances.yaml @@ -83,7 +83,6 @@ spec: type: object x-kubernetes-map-type: atomic conditions: - description: Conditions capture the current status of the CFServiceInstance items: description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct @@ -156,8 +155,6 @@ spec: the CFServiceInstance that has been reconciled format: int64 type: integer - required: - - conditions type: object type: object served: true diff --git a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfspaces.yaml b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfspaces.yaml index 7b42f7aa8..abe50fcb2 100644 --- a/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfspaces.yaml +++ b/helm/korifi/controllers/crds/korifi.cloudfoundry.org_cfspaces.yaml @@ -53,7 +53,6 @@ spec: description: CFSpaceStatus defines the observed state of CFSpace properties: conditions: - description: Conditions capture the current status of the CFSpace items: description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct @@ -129,7 +128,6 @@ spec: format: int64 type: integer required: - - conditions - guid type: object type: object