Document that UTF-8 is used when exposing configMaps as files

This commit is contained in:
fml2
2020-05-03 15:21:47 +02:00
parent 1ddf6c9934
commit d1ff4e7c12
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.