From 7611f1b08e4f3bbaaaa2069ec77085fd461064dc Mon Sep 17 00:00:00 2001 From: Robert Vasek Date: Wed, 15 Jul 2026 10:32:01 +0200 Subject: [PATCH] helm: konnector: expose hostAliases On-behalf-of: @SAP robert.vasek@sap.com Signed-off-by: Robert Vasek --- deploy/charts/konnector/templates/deployment.yaml | 4 ++++ deploy/charts/konnector/values.yaml | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/deploy/charts/konnector/templates/deployment.yaml b/deploy/charts/konnector/templates/deployment.yaml index 7efc03147..49547a7a9 100644 --- a/deploy/charts/konnector/templates/deployment.yaml +++ b/deploy/charts/konnector/templates/deployment.yaml @@ -27,6 +27,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.hostAliases }} + hostAliases: + {{- toYaml . | nindent 8 }} + {{- end }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: diff --git a/deploy/charts/konnector/values.yaml b/deploy/charts/konnector/values.yaml index 4ac61a70d..5151dfa6e 100644 --- a/deploy/charts/konnector/values.yaml +++ b/deploy/charts/konnector/values.yaml @@ -53,6 +53,14 @@ resources: cpu: 500m memory: 256Mi +# Host aliases injected into /etc/hosts. +# Needed when circumventing local DNS (e.g. local setup). +hostAliases: [] +# Example: +# - ip: "1.2.3.4" +# hostnames: +# - kcp.api.portal.localhost + podAnnotations: {} podLabels: {}