Skip to content

Commit 2630078

Browse files
authored
Clarify binaryData handling by kubectl create and describe
1 parent 42f7ec3 commit 2630078

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/en/docs/tasks/configure-pod-container/configure-pod-configmap.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ allow.textmode=true
201201
how.nice.to.look=fairlyNice
202202
```
203203

204+
Note that data sources that are not ASCII or UTF-8 will be put in the `binaryData` field of the configmap. Both text and binary data sources can be combined in one configmap, but the `binaryData` field is not displayed (as of kubectl 1.20) by `kubectl describe`. To see the `binaryData` in the configmap, you can use `kubectl get configmap -o json MAP_NAME`.
205+
204206
Use the option `--from-env-file` to create a ConfigMap from an env-file, for example:
205207

206208
```shell

0 commit comments

Comments
 (0)