Merge "Check that nodes have not failed commissioning"
[joid.git] / ci / config_tpl / juju2 / bundlek8_tpl / easyrsa.yaml
index 27c0e87..ea46e42 100644 (file)
@@ -1,6 +1,14 @@
     easyrsa:
       charm: "cs:~containers/easyrsa"
       num_units: 1
+{% if os.service.bindings %}
+      bindings:
+        "": internal-api
+{% endif %}
       to:
-        - "lxd:nodes/0"
+{% if k8.network.controller == 'ovn' %}
+        - "nodes/1"
+{% else %}
+         - "lxd:nodes/0"
+{% endif %}