Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k8s: use core/v1 consts for topology-aware hints annotation/label #23538

Merged
merged 1 commit into from Feb 21, 2023

Conversation

tklauser
Copy link
Member

@tklauser tklauser commented Feb 2, 2023

No need to duplicate these in Cilium's k8s package, they are defined in k8s.io/api/core/v1 already, see:

// AnnotationTopologyAwareHints can be used to enable or disable Topology
// Aware Hints for a Service. This may be set to "Auto" or "Disabled". Any
// other value is treated as "Disabled".
AnnotationTopologyAwareHints = "service.kubernetes.io/topology-aware-hints"
LabelTopologyZone = "topology.kubernetes.io/zone"

@tklauser tklauser added kind/cleanup This includes no functional changes. sig/k8s Impacts the kubernetes API, or kubernetes -> cilium internals translation layers. release-note/misc This PR makes changes that have no direct user impact. labels Feb 2, 2023
@tklauser tklauser requested a review from a team as a code owner February 2, 2023 15:17
@tklauser
Copy link
Member Author

tklauser commented Feb 2, 2023

/test

@tklauser
Copy link
Member Author

tklauser commented Feb 2, 2023

@tklauser tklauser added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Feb 21, 2023
@pchaigno pchaigno merged commit 4bff537 into master Feb 21, 2023
@pchaigno pchaigno deleted the pr/tklauser/k8s-consts branch February 21, 2023 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup This includes no functional changes. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact. sig/k8s Impacts the kubernetes API, or kubernetes -> cilium internals translation layers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants