Skip to content

Commit 1955505

Browse files
Fix minor text wrapping nits.
Co-authored-by: Divya Mohan <[email protected]>
1 parent ced82c8 commit 1955505

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ The following example stores two strings in a Secret using the `data` field.
3434
```
3535

3636
{{< note >}}
37-
The serialized JSON and YAML values of Secret data are encoded as base64
38-
strings. Newlines are not valid within these strings and must be omitted. When using the `base64` utility on Darwin/macOS, users should avoid using the `-b` option to split long lines. Conversely, Linux users *should* add the option `-w 0` to `base64` commands or the pipeline `base64 | tr -d '\n'` if the `-w` option is not available. {{< /note >}}
37+
The serialized JSON and YAML values of Secret data are encoded as base64 strings. Newlines are not valid within these strings and must be omitted. When using the `base64` utility on Darwin/macOS, users should avoid using the `-b` option to split long lines. Conversely, Linux users *should* add the option `-w 0` to `base64` commands or the pipeline `base64 | tr -d '\n'` if the `-w` option is not available.
38+
{{< /note >}}
3939

4040
The output is similar to:
4141

@@ -134,7 +134,9 @@ type: Opaque
134134

135135
### Specifying both `data` and `stringData`
136136

137-
If you specify a field in both `data` and `stringData`, the value from `stringData` is used. For example, if you define the following Secret:
137+
If you specify a field in both `data` and `stringData`, the value from `stringData` is used.
138+
139+
For example, if you define the following Secret:
138140

139141
```yaml
140142
apiVersion: v1

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ username: 5 bytes
111111

112112
The commands `kubectl get` and `kubectl describe` avoid showing the contents
113113
of a `Secret` by default. This is to protect the `Secret` from being exposed
114-
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).
114+
accidentally, or from being stored in a terminal log.
115+
116+
To check the actual content of the encoded data, please refer to [Decoding the Secret](#decoding-secret).
115117

116118
## Decoding the Secret {#decoding-secret}
117119

0 commit comments

Comments
 (0)