Skip to content

Commit

Permalink
Adapt the gardener-extension-admission-aws Service
Browse files Browse the repository at this point in the history
  • Loading branch information
ialidzhikov committed May 15, 2023
1 parent 702cfa9 commit d612ead
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ metadata:
namespace: {{ .Release.Namespace }}
annotations:
networking.resources.gardener.cloud/from-all-webhook-targets-allowed-ports: '[{"protocol":"TCP","port":{{ .Values.global.webhookConfig.serverPort }}}]'
{{- if .Values.global.service.topologyAwareRouting.enabled }}
{{- if .Values.global.service.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 }}
{{- end }}
labels:
{{ include "labels" . | indent 4 }}
{{- if .Values.global.service.topologyAwareRouting.enabled }}
Expand Down

0 comments on commit d612ead

Please sign in to comment.