Browse Source

Merge pull request #4489 from rhcarvalho/image-availability-no-tls

Merged by openshift-bot
OpenShift Bot 7 years ago
parent
commit
dfd8232ec9

+ 1 - 1
roles/openshift_health_checker/openshift_checks/docker_image_availability.py

@@ -169,7 +169,7 @@ class DockerImageAvailability(DockerHostMixin, OpenShiftCheck):
             registries = [registry]
 
         for registry in registries:
-            args = {"_raw_params": "skopeo inspect docker://{}/{}".format(registry, image)}
+            args = {"_raw_params": "skopeo inspect --tls-verify=false docker://{}/{}".format(registry, image)}
             result = self.execute_module("command", args, task_vars=task_vars)
             if result.get("rc", 0) == 0 and not result.get("failed"):
                 return True