Merge pull request #2890 from krallistic/master
PSP: Added example and docu for hostPort ranges
This commit is contained in:
@@ -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
|
The recommended minimum set of allowed volumes for new PSPs are
|
||||||
configMap, downwardAPI, emptyDir, persistentVolumeClaim, and secret.
|
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
|
||||||
|
|
||||||
_Admission control_ with `PodSecurityPolicy` allows for control over the creation of resources
|
_Admission control_ with `PodSecurityPolicy` allows for control over the creation of resources
|
||||||
|
|||||||
@@ -17,6 +17,12 @@
|
|||||||
"fsGroup": {
|
"fsGroup": {
|
||||||
"rule": "RunAsAny"
|
"rule": "RunAsAny"
|
||||||
},
|
},
|
||||||
|
"HostPorts": [
|
||||||
|
{
|
||||||
|
"min": 8000,
|
||||||
|
"max": 8080
|
||||||
|
}
|
||||||
|
],
|
||||||
"volumes": ["*"]
|
"volumes": ["*"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user