Update kube_addons.pp #165
Annotations
2 errors
spec/classes/kube_addons_spec.rb#L74
kubernetes::kube_addons CNI network provider with calico-tigera is expected to contain Exec[Install cni network (preinstall)] with command => ["kubectl", "apply", "-f", "https://foo.test/tigera-operator"] and onlyif => "kubectl get nodes"
Failure/Error:
expect(subject).to contain_exec('Install cni network (preinstall)').with({
command: ['kubectl', 'apply', '-f', 'https://foo.test/tigera-operator'],
onlyif: 'kubectl get nodes'
})
expected that the catalogue would contain Exec[Install cni network (preinstall)] with command set to ["kubectl", "apply", "-f", "https://foo.test/tigera-operator"] but it is set to ["kubectl", "create", "-f", "https://foo.test/tigera-operator"]
Diff:
@@ -1,6 +1,6 @@
kubectl
-apply
+create
-f
|
|
The logs for this run have expired and are no longer available.
Loading