Configure `caas_oam` as flannel interface
[ta/caas-danm.git] / ansible / roles / flannel / templates / flannel-ds.yaml
index 901679c..73881e6 100644 (file)
@@ -1,3 +1,4 @@
+#jinja2: lstrip_blocks: True
 {#
 Copyright 2019 Nokia
 
@@ -50,7 +51,9 @@ spec:
         args:
         - --ip-masq
         - --kube-subnet-mgr
-        - --iface={{ networking.infra_internal.interface }}
+        {% for interface in flannel_interfaces | default([]) %}
+        - --iface={{ interface }}
+        {% endfor %}
         securityContext:
           privileged: true
         env: