Skip to content

Commit

Permalink
Adapt the gardener-extension-provider-aws Service
Browse files Browse the repository at this point in the history
  • Loading branch information
ialidzhikov committed May 15, 2023
1 parent bcfadb2 commit 702cfa9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/gardener-extension-provider-aws/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}]'
Expand Down

0 comments on commit 702cfa9

Please sign in to comment.