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 ...@@ -18,7 +18,7 @@ Helm provides access to files through the `.Files` object. Before we get going w
- [Path helpers](#path-helpers) - [Path helpers](#path-helpers)
- [Glob patterns](#glob-patterns) - [Glob patterns](#glob-patterns)
- [ConfigMap and Secrets utility functions](#configmap-and-secrets-utility-functions) - [ConfigMap and Secrets utility functions](#configmap-and-secrets-utility-functions)
- [Secrets](#secrets) - [Encoding](#encoding)
- [Lines](#lines) - [Lines](#lines)
<!-- tocstop --> <!-- tocstop -->
...@@ -163,9 +163,9 @@ data: ...@@ -163,9 +163,9 @@ data:
{{ (.Files.Glob "bar/*").AsSecrets | indent 2 }} {{ (.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 ```yaml
apiVersion: v1 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