Skip to content

Commit

Permalink
Merge pull request kubernetes#127920 from saschagrunert/mount-hostpat…
Browse files Browse the repository at this point in the history
…h-docs

CRI: clarify `Mount.host_path` docs
  • Loading branch information
k8s-ci-robot authored Oct 13, 2024
2 parents 1bda3ef + ce9351c commit e9f0ea6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions staging/src/k8s.io/cri-api/pkg/apis/runtime/v1/api.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions staging/src/k8s.io/cri-api/pkg/apis/runtime/v1/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,10 @@ enum MountPropagation {
message Mount {
// Path of the mount within the container.
string container_path = 1;
// Path of the mount on the host. If the hostPath doesn't exist, then runtimes
// should report error. If the hostpath is a symbolic link, runtimes should
// Path of the mount on the host. Has to be empty if the image field below
// is provided, because those fields are mutually exclusive. If the image
// field below is nil and the host path doesn't exist, then runtimes should
// report an error. If the hostpath is a symbolic link, runtimes should
// follow the symlink and mount the real destination to container.
string host_path = 2;
// If set, the mount is read-only.
Expand Down

0 comments on commit e9f0ea6

Please sign in to comment.