Call config file a manifest and remove a 'please'

Co-authored-by: Tim Bannister <tim+kubernetes@scalefactory.com>
This commit is contained in:
Shannon Kularathna 2022-07-27 17:54:31 -04:00
parent 1955505a1d
commit 4c897e1cc1
2 changed files with 5 additions and 4 deletions

View File

@ -13,9 +13,10 @@ description: Creating Secret objects using resource configuration file.
<!-- steps -->
## Create the Config file
## Create the Secret {#create-the-config-file}
You can define the `Secret` object in a file first, in JSON or YAML format, and then create that object. The
You can define the `Secret` object in a manifest first, in JSON or YAML format,
and then create that object. The
[Secret](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#secret-v1-core)
resource contains two maps: `data` and `stringData`.
The `data` field is used to store arbitrary data, encoded using base64. The
@ -44,7 +45,7 @@ The following example stores two strings in a Secret using the `data` field.
MWYyZDFlMmU2N2Rm
```
1. Create the configuration file:
1. Create the manifest:
```yaml
apiVersion: v1

View File

@ -113,7 +113,7 @@ The commands `kubectl get` and `kubectl describe` avoid showing the contents
of a `Secret` by default. This is to protect the `Secret` from being exposed
accidentally, or from being stored in a terminal log.
To check the actual content of the encoded data, please refer to [Decoding the Secret](#decoding-secret).
To check the actual content of the encoded data, refer to [Decoding the Secret](#decoding-secret).
## Decoding the Secret {#decoding-secret}