Skip to content

Commit 7611f1b

Browse files
committed
helm: konnector: expose hostAliases
On-behalf-of: @SAP robert.vasek@sap.com Signed-off-by: Robert Vasek <rvasek01@gmail.com>
1 parent d14ec7a commit 7611f1b

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎deploy/charts/konnector/templates/deployment.yaml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ spec:
2727
imagePullSecrets:
2828
{{- toYaml . | nindent 8 }}
2929
{{- end }}
30+
{{- with .Values.hostAliases }}
31+
hostAliases:
32+
{{- toYaml . | nindent 8 }}
33+
{{- end }}
3034
securityContext:
3135
{{- toYaml .Values.podSecurityContext | nindent 8 }}
3236
containers:

‎deploy/charts/konnector/values.yaml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ resources:
5353
cpu: 500m
5454
memory: 256Mi
5555

56+
# Host aliases injected into /etc/hosts.
57+
# Needed when circumventing local DNS (e.g. local setup).
58+
hostAliases: []
59+
# Example:
60+
# - ip: "1.2.3.4"
61+
# hostnames:
62+
# - kcp.api.portal.localhost
63+
5664
podAnnotations: {}
5765
podLabels: {}
5866

0 commit comments

Comments
 (0)