diff --git a/test/files/tosca_k8s.yml b/test/files/tosca_k8s.yml index 691b64be..5422e5c2 100644 --- a/test/files/tosca_k8s.yml +++ b/test/files/tosca_k8s.yml @@ -6,6 +6,7 @@ imports: description: TOSCA test for K8s metadata: + # Enable to set the K8s namespace for this deployment namespace: some_namespace infra_name: some_infra @@ -45,7 +46,6 @@ topology_template: my_image: file: grycap/im type: tosca.artifacts.Deployment.Image.Container.Docker - repository: docker_hub # The properties of the runtime to host the container im_runtime: diff --git a/test/unit/Tosca.py b/test/unit/Tosca.py index 63854b4d..7639b322 100755 --- a/test/unit/Tosca.py +++ b/test/unit/Tosca.py @@ -449,7 +449,7 @@ def test_tosca_k8s(self): self.assertEqual(conf.recipes, None) node = radl.get_system_by_name('im_container') - self.assertEqual(node.getValue("disk.0.image.url"), "docker://docker.io/grycap/im") + self.assertEqual(node.getValue("disk.0.image.url"), "docker://grycap/im") net = radl.get_network_by_id('im_container_pub') self.assertEqual(net.getValue("outports"), '30880/tcp-8800/tcp') self.assertEqual(net.getValue("outbound"), 'yes')