Skip to content

Commit

Permalink
Merge branch 'fix_mount_propagation' into 'master'
Browse files Browse the repository at this point in the history
Change mountProgation for host root mounts to HostToContainer

See merge request nvidia/kubernetes/gpu-operator!303
  • Loading branch information
shivamerla committed Sep 16, 2021
2 parents d4f29ff + 5c5c54c commit 805ab3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/state-container-toolkit/0400_container_toolkit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
volumeMounts:
- name: driver-install-path
mountPath: /run/nvidia/driver
mountPropagation: Bidirectional
mountPropagation: HostToContainer
- name: run-nvidia-validations
mountPath: /run/nvidia/validations
mountPropagation: Bidirectional
Expand Down
1 change: 1 addition & 0 deletions assets/state-mig-manager/0600_daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ spec:
name: mig-parted-config
- mountPath: /host
name: host-root
mountPropagation: HostToContainer
volumes:
- name: host-sys
hostPath:
Expand Down
2 changes: 1 addition & 1 deletion assets/state-operator-validation/0500_daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
volumeMounts:
- name: driver-install-path
mountPath: /run/nvidia/driver
mountPropagation: Bidirectional
mountPropagation: HostToContainer
- name: run-nvidia-validations
mountPath: /run/nvidia/validations
mountPropagation: Bidirectional
Expand Down

0 comments on commit 805ab3f

Please sign in to comment.