-
Notifications
You must be signed in to change notification settings - Fork 438
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
promote ServiceCIDR and IPAddress to GA
Kubernetes-commit: eeae7b3fc8fdad06e9991d71a6ff349ac71b6408
- Loading branch information
1 parent
3bed258
commit bf4b72f
Showing
3 changed files
with
167 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
Copyright 2023 The Kubernetes Authors. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
|
||
package v1 | ||
|
||
const ( | ||
|
||
// TODO: Use IPFamily as field with a field selector,And the value is set based on | ||
// the name at create time and immutable. | ||
// LabelIPAddressFamily is used to indicate the IP family of a Kubernetes IPAddress. | ||
// This label simplify dual-stack client operations allowing to obtain the list of | ||
// IP addresses filtered by family. | ||
LabelIPAddressFamily = "ipaddress.kubernetes.io/ip-family" | ||
// LabelManagedBy is used to indicate the controller or entity that manages | ||
// an IPAddress. This label aims to enable different IPAddress | ||
// objects to be managed by different controllers or entities within the | ||
// same cluster. It is highly recommended to configure this label for all | ||
// IPAddress objects. | ||
LabelManagedBy = "ipaddress.kubernetes.io/managed-by" | ||
) |