mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-02 17:57:33 +00:00
Add support for enforcing read only host paths in PSPs.
This commit is contained in:
8
api/openapi-spec/swagger.json
generated
8
api/openapi-spec/swagger.json
generated
@@ -81304,6 +81304,10 @@
|
||||
"pathPrefix": {
|
||||
"description": "pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`",
|
||||
"type": "string"
|
||||
},
|
||||
"readOnly": {
|
||||
"description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.",
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -82848,6 +82852,10 @@
|
||||
"pathPrefix": {
|
||||
"description": "pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`",
|
||||
"type": "string"
|
||||
},
|
||||
"readOnly": {
|
||||
"description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.",
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user