diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index c7a05ea1b1d..0d69c037599 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -53319,6 +53319,13 @@ "type": "string" } }, + "allowedHostPaths": { + "description": "AllowedHostPaths is a white list of allowed host path prefixes. Empty indicates that all host paths may be used.", + "type": "array", + "items": { + "type": "string" + } + }, "defaultAddCapabilities": { "description": "DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capabiility in both DefaultAddCapabilities and RequiredDropCapabilities.", "type": "array", diff --git a/api/swagger-spec/extensions_v1beta1.json b/api/swagger-spec/extensions_v1beta1.json index d779f674e54..1c890b0c032 100644 --- a/api/swagger-spec/extensions_v1beta1.json +++ b/api/swagger-spec/extensions_v1beta1.json @@ -9984,6 +9984,13 @@ "readOnlyRootFilesystem": { "type": "boolean", "description": "ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to." + }, + "allowedHostPaths": { + "type": "array", + "items": { + "type": "string" + }, + "description": "AllowedHostPaths is a white list of allowed host path prefixes. Empty indicates that all host paths may be used." } } }, diff --git a/docs/api-reference/extensions/v1beta1/definitions.html b/docs/api-reference/extensions/v1beta1/definitions.html index 9072ebc4fde..7ee46f4475f 100755 --- a/docs/api-reference/extensions/v1beta1/definitions.html +++ b/docs/api-reference/extensions/v1beta1/definitions.html @@ -7655,6 +7655,13 @@ Both these may change in the future. Incoming requests are matched against the h
boolean
false
allowedHostPaths
AllowedHostPaths is a white list of allowed host path prefixes. Empty indicates that all host paths may be used.
false
string array