-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
topology-aware routing: Adapt to the upstream annotation change in K8…
…s 1.27 (#750) * Adapt the `csi-snapshot-validation` Service * Adapt the `gardener-extension-provider-aws` Service * Adapt the `gardener-extension-admission-aws` Service
- Loading branch information
1 parent
386773b
commit c5c9386
Showing
4 changed files
with
15 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,12 @@ metadata: | |
resources.gardener.cloud/ignore: "true" | ||
{{- end }} | ||
{{- if .Values.gardener.seed.spec.settings.topologyAwareRouting.enabled }} | ||
{{- if semverCompare ">= 1.27-0" .Capabilities.KubeVersion.GitVersion }} | ||
service.kubernetes.io/topology-mode: "auto" | ||
{{- else }} | ||
service.kubernetes.io/topology-aware-hints: "auto" | ||
{{- end }} | ||
{{- end }} | ||
# TODO: This label approach is deprecated and no longer needed in the future. Remove them as soon as gardener/[email protected] has been released. | ||
networking.resources.gardener.cloud/from-policy-pod-label-selector: all-seed-scrape-targets | ||
networking.resources.gardener.cloud/from-policy-allowed-ports: '[{"port":{{ .Values.metricsPort }},"protocol":"TCP"}]' | ||
|
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