Skip to content

Commit

Permalink
Introduce ClusterName field to ClusterResourceSetBinding
Browse files Browse the repository at this point in the history
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
  • Loading branch information
chaunceyjiang committed Dec 2, 2022
1 parent 40b6090 commit 2d20f30
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 14 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 23 additions & 7 deletions exp/addons/api/v1alpha3/zz_generated.conversion.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 23 additions & 7 deletions exp/addons/api/v1alpha4/zz_generated.conversion.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions exp/addons/api/v1beta1/clusterresourcesetbinding_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d20f30

Please sign in to comment.