Skip to content

Commit

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

Automated cherry pick of #8338: Don't load nonexistent calico-client cert when CNI is Cilium
  • Loading branch information
k8s-ci-robot committed Jan 27, 2020
2 parents a509290 + 77a7156 commit 0a1b3f1
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 0a1b3f1

Please sign in to comment.