Add helm chart for cFW CNF
[multicloud/k8s.git] / starlingx / demo / firewall-host-netdevice / templates / protected-private-net.yaml
diff --git a/starlingx/demo/firewall-host-netdevice/templates/protected-private-net.yaml b/starlingx/demo/firewall-host-netdevice/templates/protected-private-net.yaml
new file mode 100644 (file)
index 0000000..590d3f6
--- /dev/null
@@ -0,0 +1,23 @@
+apiVersion: "k8s.cni.cncf.io/v1"
+kind: NetworkAttachmentDefinition
+metadata:
+  name: host-device-{{ .Values.global.protectedNetPortVfw }}
+spec:
+  config: '{
+      "cniVersion": "0.3.0",
+      "type": "host-device",
+      "device": "{{ .Values.global.protectedNetPortVfw }}"
+    }'
+
+---
+  
+apiVersion: "k8s.cni.cncf.io/v1"
+kind: NetworkAttachmentDefinition
+metadata:
+  name: host-device-{{ .Values.global.protectedNetPortVsn }}
+spec:
+  config: '{
+      "cniVersion": "0.3.0",
+      "type": "host-device",
+      "device": "{{ .Values.global.protectedNetPortVsn }}"
+    }'