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

Add /lib/modules mount to kube-proxy #742

Merged
merged 1 commit into from
Nov 9, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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