Skip to content

Commit

Permalink
Make the gardener-extension-admission-openstack Service topology-aw…
Browse files Browse the repository at this point in the history
…are (#599)
  • Loading branch information
ialidzhikov authored Apr 11, 2023
1 parent f236186 commit 5c10109
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,15 @@ kind: Service
metadata:
name: {{ include "name" . }}
namespace: {{ .Release.Namespace }}
{{- if .Values.global.service.topologyAwareRouting.enabled }}
annotations:
service.kubernetes.io/topology-aware-hints: "auto"
{{- end }}
labels:
{{ include "labels" . | indent 4 }}
{{- if .Values.global.service.topologyAwareRouting.enabled }}
endpoint-slice-hints.resources.gardener.cloud/consider: "true"
{{- end }}
spec:
type: ClusterIP
selector:
Expand Down
3 changes: 3 additions & 0 deletions charts/gardener-extension-admission-openstack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ global:
enabled: false
expirationSeconds: 43200
audience: ""
service:
topologyAwareRouting:
enabled: false

0 comments on commit 5c10109

Please sign in to comment.