Merge pull request #20738 from fml2/feature/Document-char-encoding-in-mapped-volumes

Document char encoding in mapped volumes
This commit is contained in:
Kubernetes Prow Robot
2020-05-08 19:37:51 -07:00
committed by GitHub
2 changed files with 9 additions and 0 deletions
@@ -305,6 +305,11 @@ A Container using a ConfigMap as a [subPath](#using-subpath) volume mount will n
receive ConfigMap updates.
{{< /note >}}
{{< note >}}
Text data is exposed as files using the UTF-8 character encoding. To use some other character encoding, use binaryData.
{{< /note >}}
### downwardAPI {#downwardapi}
A `downwardAPI` volume is used to make downward API data available to applications.
@@ -588,6 +588,10 @@ SPECIAL_TYPE
If there are some files in the `/etc/config/` directory, they will be deleted.
{{< /caution >}}
{{< note >}}
Text data is exposed as files using the UTF-8 character encoding. To use some other character encoding, use binaryData.
{{< /note >}}
### Add ConfigMap data to a specific path in the Volume
Use the `path` field to specify the desired file path for specific ConfigMap items.