Skip to content

Commit

Permalink
Set FELIX_CHAININSERTMODE default to "append"
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciprian Hacman committed Apr 3, 2020
1 parent ec42233 commit 3e20c5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/kops/create_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func (o *CreateClusterOptions) InitDefaults() {
o.Yes = false
o.Target = cloudup.TargetDirect
o.Models = strings.Join(cloudup.CloudupModels, ",")
o.Networking = "kubenet"
o.Networking = "calico"
o.Channel = api.DefaultChannel
o.Topology = api.TopologyPublic
o.DNSType = string(api.DNSTypePublic)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ spec:
# kops additions
# Controls whether Felix inserts rules to the top of iptables chains, or appends to the bottom
- name: FELIX_CHAININSERTMODE
value: "{{- or .Networking.Canal.ChainInsertMode "insert" }}"
value: "{{- or .Networking.Canal.ChainInsertMode "append" }}"
# Set Felix iptables binary variant, Legacy or NFT
- name: FELIX_IPTABLESBACKEND
value: "{{- or .Networking.Canal.IptablesBackend "Auto" }}"
Expand Down

0 comments on commit 3e20c5d

Please sign in to comment.