Added example and docu for hostPort ranges

This commit is contained in:
Jakob Karalus 2017-03-17 15:55:13 +01:00
parent e889494348
commit 172a9add67
2 changed files with 9 additions and 0 deletions

View File

@ -111,6 +111,9 @@ to the volume sources that are defined when creating a volume:
The recommended minimum set of allowed volumes for new PSPs are
configMap, downwardAPI, emptyDir, persistentVolumeClaim, and secret.
### Host Network
- *HostPorts*, default `empty`. List of `HostPortRange`, defined by `min`(inclusive) and `max`(inclusive), which define the allowed host ports.
## Admission
_Admission control_ with `PodSecurityPolicy` allows for control over the creation of resources

View File

@ -17,6 +17,12 @@
"fsGroup": {
"rule": "RunAsAny"
},
"HostPorts": [
{
"min": 8000,
"max": 8080
}
],
"volumes": ["*"]
}
}