diff --git a/api/v1beta2/appwrapper_types.go b/api/v1beta2/appwrapper_types.go index c25c772..4f4c402 100644 --- a/api/v1beta2/appwrapper_types.go +++ b/api/v1beta2/appwrapper_types.go @@ -100,7 +100,11 @@ type AppWrapperStatus struct { // - DeletingResources: The contained resources are in the process of being deleted from the cluster // //+optional - Conditions []metav1.Condition `json:"conditions,omitempty"` + //+patchMergeKey=type + //+patchStrategy=merge + //+listType=map + //+listMapKey=type + Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` } // AppWrapperPhase is the phase of the appwrapper diff --git a/config/crd/bases/workload.codeflare.dev_appwrappers.yaml b/config/crd/bases/workload.codeflare.dev_appwrappers.yaml index cc1484f..ca331c8 100644 --- a/config/crd/bases/workload.codeflare.dev_appwrappers.yaml +++ b/config/crd/bases/workload.codeflare.dev_appwrappers.yaml @@ -246,6 +246,9 @@ spec: - type type: object type: array + x-kubernetes-list-map-keys: + - type + x-kubernetes-list-type: map phase: description: Phase of the AppWrapper object type: string