Skip to content

Commit

Permalink
adding explicit --kubeconfig param in example daemonset manifests
Browse files Browse the repository at this point in the history
We removed implicit fallback to use /var/lib/kube-router/kubeconfig with the commit ccbba72

So kube-router takes explicit --master or --kubeconfig argument or implicitly try to use incluster configuration
  • Loading branch information
Murali Reddy committed Aug 1, 2017
1 parent b77c28f commit 3b1257c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ spec:
- "--run-router=true"
- "--run-firewall=true"
- "--run-service-proxy=true"
- "--kubeconfig=/var/lib/kube-router/kubeconfig"
- "--advertise-cluster-ip=true"
- "--cluster-asn=64512"
- "--peer-router=192.168.1.99"
Expand Down
2 changes: 1 addition & 1 deletion daemonset/kube-router-all-service-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
containers:
- name: kube-router
image: cloudnativelabs/kube-router
args: ["--run-router=true", "--run-firewall=true", "--run-service-proxy=true"]
args: ["--run-router=true", "--run-firewall=true", "--run-service-proxy=true", "--kubeconfig=/var/lib/kube-router/kubeconfig"]
securityContext:
privileged: true
imagePullPolicy: Always
Expand Down
2 changes: 1 addition & 1 deletion daemonset/kube-router-firewall-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
containers:
- name: kube-router
image: cloudnativelabs/kube-router
args: ["--run-router=false", "--run-firewall=true", "--run-service-proxy=false"]
args: ["--run-router=false", "--run-firewall=true", "--run-service-proxy=false", "--kubeconfig=/var/lib/kube-router/kubeconfig"]
securityContext:
privileged: true
imagePullPolicy: Always
Expand Down
2 changes: 1 addition & 1 deletion daemonset/kube-router-proxy-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
containers:
- name: kube-router
image: cloudnativelabs/kube-router
args: ["--run-router=false", "--run-firewall=false", "--run-service-proxy=true"]
args: ["--run-router=false", "--run-firewall=false", "--run-service-proxy=true", "--kubeconfig=/var/lib/kube-router/kubeconfig"]
securityContext:
privileged: true
imagePullPolicy: Always
Expand Down

0 comments on commit 3b1257c

Please sign in to comment.