Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #742 from dghubble/proxy-modprobe
Browse files Browse the repository at this point in the history
Add /lib/modules mount to kube-proxy
  • Loading branch information
dghubble authored Nov 9, 2017
2 parents 1d94dc9 + 8084a34 commit 85d976d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pkg/asset/internal/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,9 @@ spec:
securityContext:
privileged: true
volumeMounts:
- mountPath: /lib/modules
name: lib-modules
readOnly: true
- mountPath: /etc/ssl/certs
name: ssl-certs-host
readOnly: true
Expand All @@ -720,9 +723,12 @@ spec:
operator: Exists
effect: NoSchedule
volumes:
- hostPath:
- name: lib-modules
hostPath:
path: /lib/modules
- name: ssl-certs-host
hostPath:
path: /usr/share/ca-certificates
name: ssl-certs-host
- name: etc-kubernetes
hostPath:
path: /etc/kubernetes
Expand Down

0 comments on commit 85d976d

Please sign in to comment.