Skip to content

Commit

Permalink
Helm: Add blacklistConflictingRoutes parameter
Browse files Browse the repository at this point in the history
Add blacklist-conflicting-routes to cilium configmap template.

Signed-off-by: David Donchez <donch@dailymotion.com>
Signed-off-by: Joe Stringer <joe@cilium.io>
  • Loading branch information
David Donchez authored and aanm committed Jun 12, 2020
1 parent 9487b8d commit e5bc626
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
Expand Up @@ -151,6 +151,9 @@ data:
# Only effective when monitor aggregation is set to "medium" or higher.
monitor-aggregation-flags: {{ .Values.global.bpf.monitorFlags }}

# Configure blacklisting of local routes not owned by Cilium.
blacklist-conflicting-routes: "{{ .Values.global.blacklistConflictingRoutes }}"

{{- if or .Values.global.bpf.ctTcpMax .Values.global.bpf.ctAnyMax }}
# bpf-ct-global-*-max specifies the maximum number of connections
# supported across all endpoints, split by protocol: tcp or other. One pair
Expand Down
4 changes: 4 additions & 0 deletions install/kubernetes/cilium/values.yaml
Expand Up @@ -146,6 +146,10 @@ global:
enabled: false
port: 6942

# blacklistConflictingRoutes instructs the cilium-agent whether to blacklist
# IP allocations conflicting with local non-cilium routes.
blacklistConflictingRoutes: true

# enableXTSocketFallback enables the fallback compatibility solution
# when the xt_socket kernel module is missing and it is needed for
# the datapath L7 redirection to work properly. See documentation
Expand Down
3 changes: 3 additions & 0 deletions install/kubernetes/experimental-install.yaml
Expand Up @@ -79,6 +79,9 @@ data:
#
# Only effective when monitor aggregation is set to "medium" or higher.
monitor-aggregation-flags: all

# Configure blacklisting of local routes not owned by Cilium.
blacklist-conflicting-routes: "true"
# bpf-policy-map-max specified the maximum number of entries in endpoint
# policy map (per endpoint)
bpf-policy-map-max: "16384"
Expand Down
3 changes: 3 additions & 0 deletions install/kubernetes/quick-install.yaml
Expand Up @@ -72,6 +72,9 @@ data:
#
# Only effective when monitor aggregation is set to "medium" or higher.
monitor-aggregation-flags: all

# Configure blacklisting of local routes not owned by Cilium.
blacklist-conflicting-routes: "true"
# bpf-policy-map-max specified the maximum number of entries in endpoint
# policy map (per endpoint)
bpf-policy-map-max: "16384"
Expand Down

0 comments on commit e5bc626

Please sign in to comment.