Adding endpointslice.kubernetes.io/skip-mirror label

This commit is contained in:
Rob Scott 2020-06-23 15:35:12 -07:00
parent 07586f67d9
commit 91bc902e20
No known key found for this signature in database
GPG Key ID: 90C19B2D4A99C91B

View File

@ -25,4 +25,8 @@ const (
// same cluster. It is highly recommended to configure this label for all
// EndpointSlices.
LabelManagedBy = "endpointslice.kubernetes.io/managed-by"
// LabelSkipMirror can be set to true on an Endpoints resource to indicate
// that the EndpointSliceMirroring controller should not mirror this
// resource with EndpointSlices.
LabelSkipMirror = "endpointslice.kubernetes.io/skip-mirror"
)