Merge pull request #357 from brianredbeard/b64-cli-errata

docs: Clarify use of the base64 utility
This commit is contained in:
johndmulhausen
2016-04-13 13:36:25 -07:00
+5 -3
View File
@@ -124,9 +124,11 @@ $ kubectl create -f ./secret.yaml
secret "mysecret" created
```
**Encoding Note:** 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 (i.e. do not use `-b` option of `base64` which breaks long lines.)
**Encoding Note:** 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/OS X users should avoid
using the `-b` option to split long lines. Conversely Linux users *should* add
the option `-w 0` to `base64` commands.
#### Decoding a Secret