Skip to content

Commit ced82c8

Browse files
committed
Move stringdata info to its own section to avoid breaking up task flow
1 parent a3dc78a commit ced82c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/en/docs/tasks/configmap-secret/managing-secret-using-config-file.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ The following example stores two strings in a Secret using the `data` field.
7575
To verify that the Secret was created and to decode the Secret data, refer to
7676
[Managing Secrets using kubectl](/docs/tasks/configmap-secret/managing-secret-using-kubectl/#verify-the-secret).
7777
78+
### Specify unencoded data when creating a Secret
79+
7880
For certain scenarios, you may wish to use the `stringData` field instead. This
7981
field allows you to put a non-base64 encoded string directly into the Secret,
8082
and the string will be encoded for you when the Secret is created or updated.

0 commit comments

Comments
 (0)