Remove reference to VolumeSubpathEnvExpansion feature gate

This commit is contained in:
Kevin Taylor
2020-04-05 10:05:38 +01:00
committed by zacharysarah
parent 45551e8cba
commit 4ed975af84
@@ -1193,7 +1193,6 @@ spec:
Use the `subPathExpr` field to construct `subPath` directory names from Downward API environment variables.
This feature requires the `VolumeSubpathEnvExpansion` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) to be enabled. It is enabled by default starting with Kubernetes 1.15.
The `subPath` and `subPathExpr` properties are mutually exclusive.
In this example, a Pod uses `subPathExpr` to create a directory `pod1` within the hostPath volume `/var/log/pods`, using the pod name from the Downward API. The host directory `/var/log/pods/pod1` is mounted at `/logs` in the container.