Update kube_addons.pp #165
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
4 errors
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
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
|
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#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
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
Process completed with exit code 1.
|