Skip to content

Commit

Permalink
Copy netctl to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei Tie committed Jan 17, 2018
1 parent 358b9be commit 1cc527f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions install/k8s/contiv/contiv-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,13 @@ spec:
- mountPath: /var/contiv
name: var-contiv
readOnly: false
- name: contiv-netctl
image: contiv/netplugin:latest
command: ["cp", "/contiv/bin/netctl", "/usr/local/sbin/netctl"]
volumeMounts:
- mountPath: /usr/local/sbin/
name: usr-local-sbin
readOnly: false
containers:
- name: contiv-netmaster
image: contiv/netplugin:latest
Expand Down Expand Up @@ -332,6 +339,9 @@ spec:
- name: var-contiv
hostPath:
path: /var/contiv
- name: usr-local-sbin
hostPath:
path: /usr/local/sbin/

---

Expand Down

0 comments on commit 1cc527f

Please sign in to comment.