Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apis/v1alpha1/membercluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ type MemberClusterSpec struct {
Identity rbacv1.Subject `json:"identity"`

// +kubebuilder:default=60
// +kubebuilder:validation:Minimum:1
// +kubebuilder:validation:Maximum:600
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=600

// How often (in seconds) for the member cluster to send a heartbeat to the hub cluster. Default: 60 seconds. Min: 1 second. Max: 10 minutes.
// +optional
Expand Down
2 changes: 2 additions & 0 deletions config/crd/bases/fleet.azure.com_memberclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ spec:
a heartbeat to the hub cluster. Default: 60 seconds. Min: 1 second.
Max: 10 minutes.'
format: int32
maximum: 600
minimum: 1
type: integer
identity:
description: The identity used by the member cluster to access the
Expand Down