Skip to content

Commit 60991c8

Browse files
committed
Mark all remaining ClusterResourceSet and ClusterResourceSetBinding array fields as atomic
Signed-off-by: Stefan Büringer buringerst@vmware.com
1 parent 208f68d commit 60991c8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

api/addons/v1beta2/clusterresourceset_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ type ClusterResourceSetSpec struct {
6464

6565
// resources is a list of Secrets/ConfigMaps where each contains 1 or more resources to be applied to remote clusters.
6666
// +optional
67+
// +listType=atomic
6768
// +kubebuilder:validation:MaxItems=100
6869
Resources []ResourceRef `json:"resources,omitempty"`
6970

api/addons/v1beta2/clusterresourcesetbinding_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ type ResourceSetBinding struct {
5757

5858
// resources is a list of resources that the ClusterResourceSet has.
5959
// +optional
60+
// +listType=atomic
6061
// +kubebuilder:validation:MaxItems=100
6162
Resources []ResourceBinding `json:"resources,omitempty"`
6263
}
@@ -137,6 +138,7 @@ type ClusterResourceSetBinding struct {
137138
type ClusterResourceSetBindingSpec struct {
138139
// bindings is a list of ClusterResourceSets and their resources.
139140
// +optional
141+
// +listType=atomic
140142
// +kubebuilder:validation:MaxItems=100
141143
Bindings []*ResourceSetBinding `json:"bindings,omitempty"`
142144

0 commit comments

Comments
 (0)