Calico charm generates an invalid CNI configuration file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Calico Charm |
Fix Released
|
Medium
|
Mateo Florido |
Bug Description
The charm generates a `10-calico.
```
{
"name": "k8s-pod-network",
"cniVersion": "0.3.1",
"plugins": [
{
"type": "calico",
"log_level": "info",
"
"
"
"
"
"mtu": 0,
"ipam": {
"type": "calico-ipam",
},
"policy": {
"type": "k8s"
},
"kubernetes": {
}
},
{
"type": "portmap",
"snat": true,
"
}
},
{
"type": "bandwidth",
"
}
}
]
}
```
Also, when attempting to update other configurations in the file (e.g. MTU value), the charm persists in setting the value to 0.
Changed in charm-calico: | |
status: | Fix Committed → Fix Released |
[PR](https:/ /github. com/charmed- kubernetes/ charm-calico/ pull/103)