set default value of name to "k8s-pod-network" (#8813)

Signed-off-by: cyclinder qifeng.guo@daocloud.io
This commit is contained in:
Cyclinder 2022-05-12 23:29:14 +08:00 committed by GitHub
parent 5684610a55
commit 3eb0a4071a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 1 deletions

View file

@ -1,5 +1,9 @@
---
# see roles/network_plugin/calico/defaults/main.yml
# the default value of name
calico_cni_name: k8s-pod-network
## With calico it is possible to distributed routes with border routers of the datacenter.
## Warning : enabling router peering will disable calico's default behavior ('node mesh').
## The subnets of each nodes will be distributed by the datacenter router

View file

@ -1,4 +1,7 @@
---
# the default value of name
calico_cni_name: k8s-pod-network
# Enables Internet connectivity from containers
nat_outgoing: true

View file

@ -1,5 +1,5 @@
{
"name": "cni0",
"name": "{{ calico_cni_name }}",
"cniVersion":"0.3.1",
"plugins":[
{