Skip to content

Commit

Permalink
Merge pull request #8419 from johngmyers/automated-cherry-pick-of-#83…
Browse files Browse the repository at this point in the history
…38-upstream-release-1.15

Automated cherry pick of #8338: Don't load nonexistent calico-client cert when CNI is Cilium
  • Loading branch information
k8s-ci-robot authored Jan 27, 2020
2 parents df4d557 + c80faa3 commit 3bbc979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upup/pkg/fi/nodeup/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func (c *NodeUpCommand) Run(out io.Writer) error {
} else {
loader.Builders = append(loader.Builders, &model.KubeRouterBuilder{NodeupModelContext: modelContext})
}
if c.cluster.Spec.Networking.Calico != nil || c.cluster.Spec.Networking.Cilium != nil {
if c.cluster.Spec.Networking.Calico != nil {
loader.Builders = append(loader.Builders, &model.EtcdTLSBuilder{NodeupModelContext: modelContext})
}

Expand Down

0 comments on commit 3bbc979

Please sign in to comment.