diff options
author | shreyagupta30 <shreyagupta3011@gmail.com> | 2021-09-27 14:35:36 +0530 |
---|---|---|
committer | shreyagupta30 <shreyagupta3011@gmail.com> | 2021-10-11 23:16:53 +0530 |
commit | eef9fef1141c6295b824b884ad86d645cd1c094f (patch) | |
tree | 1d1b6a8b08015eb190bb6cfbd56536ac4f10ad2d /tools/k8s/app-deployment/helm/charts/mynet.yaml | |
parent | 17e20bfa70d1a9ce5e6ee6687245e3e22f3633a8 (diff) |
Automated deployment of helm charts with python
This patch adds demo helm charts and a python script that automatically deploys any helm chart of user's choice and print all the useful information about the chart.
Signed-off-by: Shreya Gupta <shreyagupta3011@gmail.com>
Change-Id: I06e3a8012602e09f601f70def386ef267c870e94
Diffstat (limited to 'tools/k8s/app-deployment/helm/charts/mynet.yaml')
-rw-r--r-- | tools/k8s/app-deployment/helm/charts/mynet.yaml | 20 |
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" + } + ] + }' |