Skip to content

Commit

Permalink
helm: add possibility to configure native-routing-cidr
Browse files Browse the repository at this point in the history
Signed-off-by: Rene Zbinden <rene.zbinden@postfinance.ch>
  • Loading branch information
zbindenren authored and aanm committed Apr 27, 2020
1 parent eeb182b commit 606736c
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 @@ -295,6 +295,9 @@ data:
enable-xt-socket-fallback: {{ .Values.global.enableXTSocketFallback | quote }}
install-iptables-rules: {{ .Values.global.installIptablesRules | quote }}
auto-direct-node-routes: {{ .Values.global.autoDirectNodeRoutes | quote }}
{{- if .Values.global.nativeRoutingCIDR }}
native-routing-cidr: {{ .Values.global.nativeRoutingCIDR }}
{{- end }}

{{- if .Values.global.kubeProxyReplacement }}
kube-proxy-replacement: {{ .Values.global.kubeProxyReplacement | quote }}
Expand Down
4 changes: 4 additions & 0 deletions install/kubernetes/cilium/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ global:
# nodes if worker nodes share a common L2 network segment.
autoDirectNodeRoutes: false

# nativeRoutingCIDR allows to explicitly specify the CIDR for native routing. This
# value corresponds to the configured cluster-cidr.
nativeRoutingCIDR: ""

# endpointRoutes enables use of per endpoint routes instead of routing vis
# the cilium_host interface
endpointRoutes:
Expand Down

0 comments on commit 606736c

Please sign in to comment.