You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apis/placement/v1beta1/commons.go
+25-25Lines changed: 25 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -58,32 +58,32 @@ const (
58
58
)
59
59
60
60
const (
61
-
// fleetPrefix is the prefix used for official fleet labels/annotations.
61
+
// FleetPrefix is the prefix used for official fleet labels/annotations.
62
62
// Unprefixed labels/annotations are reserved for end-users
63
63
// See https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#label-selector-and-annotation-conventions
64
-
fleetPrefix="kubernetes-fleet.io/"
64
+
FleetPrefix="kubernetes-fleet.io/"
65
65
66
66
// MemberClusterFinalizer is used to make sure that we handle gc of all the member cluster resources on the hub cluster.
// FirstWorkNameFmt is the format of the name of the work generated with the first resource snapshot.
89
89
// The name of the first work is {crpName}-work.
@@ -105,59 +105,59 @@ const (
105
105
WorkNameWithEnvelopeCRFmt="%s-envelope-%s"
106
106
107
107
// ParentClusterResourceOverrideSnapshotHashAnnotation is the annotation to work that contains the hash of the parent cluster resource override snapshot list.
// ParentResourceSnapshotNameAnnotation is the annotation applied to work that contains the name of the master resource snapshot that generates the work.
// EnvelopeConfigMapAnnotation indicates the configmap is an envelope configmap containing resources we need to apply to the member cluster instead of the configMap itself.
// NextResourceSnapshotCandidateDetectionTimeAnnotation is the annotation to store the time of next resourceSnapshot candidate detected by the controller.
// shouldDenyLabelModification returns true if any labels (besides kubernetes-fleet.io/* labels) are being modified and denyModifyMemberClusterLabels is true.
0 commit comments