Skip to content

Commit

Permalink
This PR adds the cni version to the cni-conf.yaml inside the kube-fla…
Browse files Browse the repository at this point in the history
…nnel-cfg configmap

This PR fixes an issue we latest multus version.
Multus is unable to call the cni delete function because the cni version is not configured.

Because of this issue pod addresses are not released
  • Loading branch information
SchSeba committed May 28, 2019
1 parent ba49cd4 commit 0106d23
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/k8s-manifests/kube-flannel-legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ data:
cni-conf.json: |
{
"name": "cbr0",
"cniVersion": "0.3.1",
"type": "flannel",
"delegate": {
"hairpinMode": true,
Expand Down
1 change: 1 addition & 0 deletions Documentation/kube-flannel-aliyun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ data:
cni-conf.json: |
{
"name": "cbr0",
"cniVersion": "0.3.1",
"type": "flannel",
"delegate": {
"hairpinMode": true,
Expand Down
1 change: 1 addition & 0 deletions Documentation/kube-flannel-old.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ data:
cni-conf.json: |
{
"name": "cbr0",
"cniVersion": "0.3.1",
"plugins": [
{
"type": "flannel",
Expand Down
1 change: 1 addition & 0 deletions Documentation/kube-flannel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ data:
cni-conf.json: |
{
"name": "cbr0",
"cniVersion": "0.3.1",
"plugins": [
{
"type": "flannel",
Expand Down
1 change: 1 addition & 0 deletions Documentation/minikube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ data:
cni-conf.json: |
{
"name": "cbr0",
"cniVersion": "0.3.1",
"type": "flannel",
"delegate": {
"hairpinMode": true,
Expand Down

0 comments on commit 0106d23

Please sign in to comment.