Skip to content

Commit

Permalink
Merge pull request ovn-kubernetes#1087 from girishmg/iptables_followup
Browse files Browse the repository at this point in the history
fix chroot's cannot change root directory to '/host' error
  • Loading branch information
dcbw authored Feb 22, 2020
2 parents c5c3d79 + f7e7784 commit a553d21
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions dist/templates/ovnkube-db.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ spec:
name: host-var-log-ovs
- mountPath: /var/log/ovn/
name: host-var-log-ovs
# for the iptables wrapper
- mountPath: /host
name: host-slash
readOnly: true

resources:
requests:
Expand Down Expand Up @@ -145,6 +149,10 @@ spec:
name: host-var-log-ovs
- mountPath: /var/log/ovn/
name: host-var-log-ovs
# for the iptables wrapper
- mountPath: /host
name: host-slash
readOnly: true

resources:
requests:
Expand Down Expand Up @@ -188,5 +196,8 @@ spec:
- name: host-var-log-ovs
hostPath:
path: /var/log/openvswitch
- name: host-slash
hostPath:
path: /
tolerations:
- operator: "Exists"

0 comments on commit a553d21

Please sign in to comment.