From 3e1cea58615188260344fe2fcfad6f9c9281c01c Mon Sep 17 00:00:00 2001 From: chaunceyjiang Date: Fri, 2 Dec 2022 22:23:46 +0800 Subject: [PATCH] Incubation ClusterName field to ClusterResourceSetBinding Signed-off-by: chaunceyjiang --- exp/addons/api/v1beta1/clusterresourcesetbinding_types.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/exp/addons/api/v1beta1/clusterresourcesetbinding_types.go b/exp/addons/api/v1beta1/clusterresourcesetbinding_types.go index 8a88cff993c6..d6ab9b113a75 100644 --- a/exp/addons/api/v1beta1/clusterresourcesetbinding_types.go +++ b/exp/addons/api/v1beta1/clusterresourcesetbinding_types.go @@ -129,6 +129,10 @@ type ClusterResourceSetBindingSpec struct { // Bindings is a list of ClusterResourceSets and their resources. // +optional Bindings []*ResourceSetBinding `json:"bindings,omitempty"` + + // ClusterName use the cluster name to determine which cluster the resource binding applies to. + // +optional + ClusterName string `json:"clusterName,omitempty"` } // ANCHOR_END: ClusterResourceSetBindingSpec