You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/e2e/data/infrastructure-metal3/bases/clusterclass-centos-kubeadm-config/clusterclass-centos-kubeadm-config.yaml
// Ensuring a CNI file is defined in the config and register a FileTransformation to inject the referenced file as in place of the CNI_RESOURCES envSubst variable.
186
186
Expect(config.Variables).To(HaveKey(capi_e2e.CNIPath), "Missing %s variable in the config", capi_e2e.CNIPath)
187
187
cniPath:=config.GetVariable(capi_e2e.CNIPath)
188
-
ifosType=="centos" {
189
-
updateCalico(config, cniPath, "eth1")
190
-
} else {
191
-
updateCalico(config, cniPath, "enp2s0")
192
-
}
188
+
updateCalico(config, cniPath, "enp2s0")
189
+
193
190
Expect(cniPath).To(BeAnExistingFile(), "The %s variable should resolve to an existing file", capi_e2e.CNIPath)
0 commit comments