Skip to content

Commit 7a2baf6

Browse files
rojosinalmaTim Bannister
andauthored
Update content/en/docs/tasks/manage-kubernetes-objects/kustomization.md
Co-authored-by: Tim Bannister <[email protected]>
1 parent 38371d4 commit 7a2baf6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

content/en/docs/tasks/manage-kubernetes-objects/kustomization.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ metadata:
119119
name: example-configmap-1-8mbdf7882g
120120
```
121121

122-
**Note:** They variables are added as top level keys in the ConfigMap, instead of nested within the name of the file, like the previous example does.
122+
{{< note >}}
123+
Each variable in the `.env` file becomes a separate key in the ConfigMap that you generate. This is different from the previous example which embeds a file named `.properties` (and all its entries) as the value for a single key.
124+
{{< /note >}}
123125

124126
ConfigMaps can also be generated from literal key-value pairs. To generate a ConfigMap from a literal key-value pair, add an entry to the `literals` list in configMapGenerator. Here is an example of generating a ConfigMap with a data item from a key-value pair:
125127

@@ -1010,4 +1012,3 @@ deployment.apps "dev-my-nginx" deleted
10101012
* [Kubectl Command Reference](/docs/reference/generated/kubectl/kubectl-commands/)
10111013
* [Kubernetes API Reference](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/)
10121014

1013-

0 commit comments

Comments
 (0)