aboutsummaryrefslogtreecommitdiffstats
path: root/tools/k8s/app-deployment/helm/charts/mynet.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/k8s/app-deployment/helm/charts/mynet.yaml')
-rw-r--r--tools/k8s/app-deployment/helm/charts/mynet.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/k8s/app-deployment/helm/charts/mynet.yaml b/tools/k8s/app-deployment/helm/charts/mynet.yaml
new file mode 100644
index 00000000..ca3af9a7
--- /dev/null
+++ b/tools/k8s/app-deployment/helm/charts/mynet.yaml
@@ -0,0 +1,20 @@
+apiVersion: "k8s.cni.cncf.io/v1"
+kind: NetworkAttachmentDefinition
+metadata:
+ name: mynet
+spec:
+ config: '{
+ "cniVersion":"0.3.0"
+ "name":"mynet"
+ "plugins":[
+ {
+ "bridge":"kube-bridge",
+ "ipam":{
+ "subnet":10.244.0.0/24",
+ "type":"host-local"
+ },
+ "isDefaultGateway":true,
+ "type":"bridge"
+ }
+ ]
+ }'