Skip to content

Commit

Permalink
feat: disable topology-aware routing in service deployment (#158)
Browse files Browse the repository at this point in the history
- Add topology-aware routing annotations to the service.yaml file
- Disable topology-aware routing in the values.yaml file

Signed-off-by: Andreas Fritzler <andreas.fritzler@sap.com>
  • Loading branch information
afritzler authored Apr 13, 2023
1 parent 628c167 commit 2b8c91e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ 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 }}
spec:
Expand Down
3 changes: 3 additions & 0 deletions charts/gardener-extension-admission-onmetal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ global:
enabled: false
expirationSeconds: 43200
audience: ""
service:
topologyAwareRouting:
enabled: false

0 comments on commit 2b8c91e

Please sign in to comment.