Fix calico-tigera installation problems #185
Annotations
6 errors
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
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 / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
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
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2)
Process completed with exit code 1.
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
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 / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
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
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
Process completed with exit code 1.
|