|
|
@ -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:
|
|
|
|
{{ (.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
|
|
|
|