Fix calico-tigera installation problems #185
Annotations
3 errors
spec/classes/kube_addons_spec.rb#L41
kubernetes::kube_addons with controller => true and schedule_on_controller => true is expected to contain Exec[Install cni network provider] with command => ["kubectl", "create", "-f", "https://foo.test"] and onlyif => ["kubectl get nodes"]
Failure/Error:
expect(subject).to contain_exec('Install cni network provider').with({
command: ['kubectl', 'create', '-f', 'https://foo.test'],
onlyif: ['kubectl get nodes']
})
expected that the catalogue would contain Exec[Install cni network provider] with command set to ["kubectl", "create", "-f", "https://foo.test"] but it is set to ["kubectl", "apply", "-f", "https://foo.test"]
Diff:
@@ -1,6 +1,6 @@
kubectl
-create
+apply
-f
|
spec/classes/kube_addons_spec.rb#L85
kubernetes::kube_addons CNI network provider with flannel is expected to contain Exec[Install cni network provider] with onlyif => ["kubectl get nodes"], command => ["kubectl", "apply", "-f", "https://flannel.test"] and unless => ["kubectl -n kube-flannel get daemonset | egrep \"^kube-flannel\""]
Failure/Error:
expect(subject).to contain_exec('Install cni network provider').with(
{
onlyif: ['kubectl get nodes'],
command: ['kubectl', 'apply', '-f', "https://#{provider}.test"],
unless: ['kubectl -n kube-flannel get daemonset | egrep "^kube-flannel"']
},
)
expected that the catalogue would contain Exec[Install cni network provider] with command set to ["kubectl", "apply", "-f", "https://flannel.test"] but it is set to ["kubectl", "create", "-f", "https://flannel.test"]
Diff:
@@ -1,6 +1,6 @@
kubectl
-apply
+create
-f
|
|
The logs for this run have expired and are no longer available.
Loading