Skip to content

Commit 338200e

Browse files
committed
feat: add clusterlabels to klusterlet types.
Signed-off-by: ramekris3163 <[email protected]>
1 parent 95a93c7 commit 338200e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

operator/v1/types_klusterlet.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ type RegistrationConfiguration struct {
152152
// +optional
153153
ClusterAnnotations map[string]string `json:"clusterAnnotations,omitempty"`
154154

155+
// ClusterLabels is labels set on ManagedCluster when creating only, other actors can update it afterwards.
156+
// +optional
157+
ClusterLabels map[string]string `json:"clusterLabels,omitempty"`
158+
155159
// KubeAPIQPS indicates the maximum QPS while talking with apiserver on the spoke cluster.
156160
// If it is set empty, use the default value: 50
157161
// +optional

0 commit comments

Comments
 (0)