aboutsummaryrefslogtreecommitdiffstats
path: root/starlingx/demo/firewall-host-netdevice/templates/protected-private-net.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'starlingx/demo/firewall-host-netdevice/templates/protected-private-net.yaml')
-rw-r--r--starlingx/demo/firewall-host-netdevice/templates/protected-private-net.yaml23
1 files changed, 23 insertions, 0 deletions
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
index 00000000..590d3f69
--- /dev/null
+++ b/starlingx/demo/firewall-host-netdevice/templates/protected-private-net.yaml
@@ -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 }}"
+ }'