Skip to content

Commit e625f6c

Browse files
authored
Merge pull request #35562 from windsonsea/secconfen
Fix some errors in “Managing Secrets using Configuration File”
2 parents 86a38e8 + 6fc8a25 commit e625f6c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ stringData:
108108
username: <user>
109109
password: <password>
110110
```
111+
111112
When you retrieve the Secret data, the command returns the encoded values,
112113
and not the plaintext values you provided in `stringData`.
113114

@@ -133,7 +134,7 @@ metadata:
133134
type: Opaque
134135
```
135136

136-
### Specifying both `data` and `stringData`
137+
### Specify both `data` and `stringData`
137138

138139
If you specify a field in both `data` and `stringData`, the value from `stringData` is used.
139140

@@ -169,7 +170,7 @@ type: Opaque
169170

170171
`YWRtaW5pc3RyYXRvcg==` decodes to `administrator`.
171172

172-
## Clean Up
173+
## Clean up
173174

174175
To delete the Secret you have created:
175176

@@ -180,6 +181,6 @@ kubectl delete secret mysecret
180181
## {{% heading "whatsnext" %}}
181182

182183
- Read more about the [Secret concept](/docs/concepts/configuration/secret/)
183-
- Learn how to [manage Secrets with the `kubectl` command](/docs/tasks/configmap-secret/managing-secret-using-kubectl/)
184+
- Learn how to [manage Secrets using kubectl](/docs/tasks/configmap-secret/managing-secret-using-kubectl/)
184185
- Learn how to [manage Secrets using kustomize](/docs/tasks/configmap-secret/managing-secret-using-kustomize/)
185186

0 commit comments

Comments
 (0)