Skip to content

Commit

Permalink
fix: do not create route table when using flannel (Azure#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkosieradzki authored and Justin Hackett committed Mar 14, 2019
1 parent cbe60ff commit 59d2ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@ func (o *OrchestratorProfile) IsAzureCNI() bool {
func (o *OrchestratorProfile) RequireRouteTable() bool {
switch o.OrchestratorType {
case Kubernetes:
if o.IsAzureCNI() || "cilium" == o.KubernetesConfig.NetworkPolicy {
if o.IsAzureCNI() || "cilium" == o.KubernetesConfig.NetworkPolicy || "flannel" == o.KubernetesConfig.NetworkPlugin {
return false
}
return true
Expand Down

0 comments on commit 59d2ff3

Please sign in to comment.