Skip to content

Commit

Permalink
Merge pull request #204 from libujacob/master
Browse files Browse the repository at this point in the history
Fix cniVersion(#201) and selector validation(#203) issues in genie manifest file
  • Loading branch information
sushanthakumar authored May 7, 2020
2 parents e116214 + 489d0f0 commit 34839c0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions conf/1.8/genie-complete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ data:
{
"name": "k8s-pod-network",
"type": "genie",
"cniVersion": "0.2.0",
"log_level": "info",
"datastore_type": "kubernetes",
"hostname": "__KUBERNETES_NODE_NAME__",
Expand Down Expand Up @@ -214,7 +215,12 @@ apiVersion: apps/v1
metadata:
name: genie-network-admission-controller
namespace: kube-system
labels:
role: genie-network-admission-controller
spec:
selector:
matchLabels:
role: genie-network-admission-controller
template:
metadata:
labels:
Expand Down
6 changes: 6 additions & 0 deletions conf/1.8/genie-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ data:
{
"name": "k8s-pod-network",
"type": "genie",
"cniVersion": "0.2.0",
"log_level": "info",
"datastore_type": "kubernetes",
"hostname": "__KUBERNETES_NODE_NAME__",
Expand Down Expand Up @@ -171,7 +172,12 @@ apiVersion: apps/v1
metadata:
name: genie-network-admission-controller
namespace: kube-system
labels:
role: genie-network-admission-controller
spec:
selector:
matchLabels:
role: genie-network-admission-controller
template:
metadata:
labels:
Expand Down
2 changes: 1 addition & 1 deletion e2e/scripts/kube-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ kubectl taint nodes --all node-role.kubernetes.io/master-

kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml

kubectl apply -f https://raw.githubusercontent.com/cni-genie/CNI-Genie/master/conf/1.8/genie-complete.yaml
kubectl apply -f conf/1.8/genie-complete.yaml


0 comments on commit 34839c0

Please sign in to comment.