diff --git a/apis/quay/v1/quayregistry_types.go b/apis/quay/v1/quayregistry_types.go index bde0d8db9..e65b8b31a 100644 --- a/apis/quay/v1/quayregistry_types.go +++ b/apis/quay/v1/quayregistry_types.go @@ -136,12 +136,13 @@ type Component struct { // Override describes configuration overrides for the given managed component type Override struct { - VolumeSize *resource.Quantity `json:"volumeSize,omitempty"` - Env []corev1.EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` - Replicas *int32 `json:"replicas,omitempty"` - Affinity *corev1.Affinity `json:"affinity,omitempty"` - Labels map[string]string `json:"labels,omitempty"` - Annotations map[string]string `json:"annotations,omitempty"` + VolumeSize *resource.Quantity `json:"volumeSize,omitempty"` + Env []corev1.EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"` + // +nullable + Replicas *int32 `json:"replicas,omitempty"` + Affinity *corev1.Affinity `json:"affinity,omitempty"` + Labels map[string]string `json:"labels,omitempty"` + Annotations map[string]string `json:"annotations,omitempty"` } type ConditionType string diff --git a/bundle/manifests/quayregistries.crd.yaml b/bundle/manifests/quayregistries.crd.yaml index d5c711355..f955110ad 100644 --- a/bundle/manifests/quayregistries.crd.yaml +++ b/bundle/manifests/quayregistries.crd.yaml @@ -1103,6 +1103,7 @@ spec: type: object replicas: format: int32 + nullable: true type: integer volumeSize: anyOf: diff --git a/config/crd/bases/quay.redhat.com_quayregistries.yaml b/config/crd/bases/quay.redhat.com_quayregistries.yaml index d5c711355..f955110ad 100644 --- a/config/crd/bases/quay.redhat.com_quayregistries.yaml +++ b/config/crd/bases/quay.redhat.com_quayregistries.yaml @@ -1103,6 +1103,7 @@ spec: type: object replicas: format: int32 + nullable: true type: integer volumeSize: anyOf: