Skip to content

Commit

Permalink
Merge pull request #884 from Gacko/patch-1
Browse files Browse the repository at this point in the history
Documentation/Manifests: Improve YMLs.
  • Loading branch information
tomdee committed Nov 24, 2017
2 parents 1b1461a + a5a422e commit 83c984f
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 5 deletions.
9 changes: 7 additions & 2 deletions Documentation/k8s-manifests/kube-flannel-legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ data:
"name": "cbr0",
"type": "flannel",
"delegate": {
"hairpinMode": true,
"isDefaultGateway": true
}
}
Expand Down Expand Up @@ -52,7 +53,11 @@ spec:
containers:
- name: kube-flannel
image: quay.io/coreos/flannel:v0.9.1-amd64
command: [ "/opt/bin/flanneld", "--ip-masq", "--kube-subnet-mgr" ]
command:
- /opt/bin/flanneld
args:
- --ip-masq
- --kube-subnet-mgr
securityContext:
privileged: true
env:
Expand Down Expand Up @@ -86,4 +91,4 @@ spec:
path: /etc/cni/net.d
- name: flannel-cfg
configMap:
name: kube-flannel-cfg
name: kube-flannel-cfg
7 changes: 6 additions & 1 deletion Documentation/kube-flannel-aliyun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ data:
"name": "cbr0",
"type": "flannel",
"delegate": {
"hairpinMode": true,
"isDefaultGateway": true
}
}
Expand Down Expand Up @@ -108,7 +109,11 @@ spec:
containers:
- name: kube-flannel
image: registry.cn-hangzhou.aliyuncs.com/google-containers/flannel:v0.9.0
command: [ "/opt/bin/flanneld", "--ip-masq", "--kube-subnet-mgr" ]
command:
- /opt/bin/flanneld
args:
- --ip-masq
- --kube-subnet-mgr
securityContext:
privileged: true
env:
Expand Down
6 changes: 5 additions & 1 deletion Documentation/kube-flannel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,11 @@ spec:
containers:
- name: kube-flannel
image: quay.io/coreos/flannel:v0.9.1-amd64
command: [ "/opt/bin/flanneld", "--ip-masq", "--kube-subnet-mgr" ]
command:
- /opt/bin/flanneld
args:
- --ip-masq
- --kube-subnet-mgr
securityContext:
privileged: true
env:
Expand Down
7 changes: 6 additions & 1 deletion Documentation/minikube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ data:
"name": "cbr0",
"type": "flannel",
"delegate": {
"hairpinMode": true,
"isDefaultGateway": true
}
}
Expand Down Expand Up @@ -53,7 +54,11 @@ spec:
- name: kube-flannel
image: flannel/minikube
imagePullPolicy: Never
command: [ "/opt/bin/flanneld", "--ip-masq", "--kube-subnet-mgr" ]
command:
- /opt/bin/flanneld
args:
- --ip-masq
- --kube-subnet-mgr
securityContext:
privileged: true
env:
Expand Down

0 comments on commit 83c984f

Please sign in to comment.