Unverified Commit 14136964 authored by Matthew Fisher's avatar Matthew Fisher Committed by GitHub

Merge pull request #3406 from barkerd427/patch-1

Disambiguate encoding from secrets
parents 6dcb8d00 2a0090c8
......@@ -18,7 +18,7 @@ Helm provides access to files through the `.Files` object. Before we get going w
- [Path helpers](#path-helpers)
- [Glob patterns](#glob-patterns)
- [ConfigMap and Secrets utility functions](#configmap-and-secrets-utility-functions)
- [Secrets](#secrets)
- [Encoding](#encoding)
- [Lines](#lines)
<!-- tocstop -->
......@@ -163,9 +163,9 @@ data:
{{ (.Files.Glob "bar/*").AsSecrets | indent 2 }}
```
## Secrets
## Encoding
When working with a Secret resource, you can import a file and have the template base-64 encode it for you:
You can import a file and have the template base-64 encode it to ensure successful transmission:
```yaml
apiVersion: v1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment