Bug 1983 fixed: added the possibility to deploy bundles from the Charm Hub
[osm/N2VC.git] / n2vc / k8s_juju_conn.py
index 5241d96..d9dc607 100644 (file)
@@ -303,6 +303,10 @@ class K8sJujuConnector(K8sConnector):
             raise K8sException("bundle must be set")
 
         if bundle.startswith("cs:"):
+            # For Juju Bundles provided by the Charm Store
+            pass
+        elif bundle.startswith("ch:"):
+            # For Juju Bundles provided by the Charm Hub (this only works for juju version >= 2.9)
             pass
         elif bundle.startswith("http"):
             # Download the file