-
Today:
```
#@ load("@ytt:struct", "struct")
#@ def labels():
foo: bar
#@ end
#@ env = struct.encode({"labels": labels()})
v: #@ env
```
results in ...
```
- (p) unknown type *yaml…
-
**Describe the problem/challenge you have**
I have a schema file, and data values file, and some ytt templates. I want to run a command to validate that my data values adhere to my schema.
**Descr…
-
**Is your feature request related to a problem? Please describe.**
I'd like to have a helm chart, so I can easily install and manage pinniped, especially using gitops
**Describe the solution y…
cwrau updated
3 months ago
-
**Describe the problem/challenge you have**
We would like to use the ytt Go module but we'd like to protect against bad templates that may take down the system (e.g. a template that defines an infi…
-
**Describe the problem/challenge you have**
Carvel tool users have to learn filtering capabilities in some of the tools in the suite. The most prominent one is `ytt` where users have to learn filteri…
-
**What steps did you take:**
I wrote this snippet into a new file `xyz.yaml`:
```yaml
#@ load("@ytt:data", "data")
#@ foo = data.values.foo or "bar"
```
**What happened:**
When runnin…
-
originally @patricknelson added as a comment to related issue: https://github.com/k14s/ytt/issues/14#issuecomment-542965903:
It's not always essential for the resulting YAML to have comments for me…
-
When combining ytt to kapp for installing some templates I want to be able to give the end user some information about what was installed. An example would be credentials or URL access like what happe…
-
**Describe the problem/challenge you have**
# TL;DR
`ytt` works fine if I have all my data files as real files in the file system:
```bash
generateSecrets > secrets.yaml
ytt -f values.yaml …
-
**What steps did you take:**
With these files...
```yaml
#@data/values-schema
---
gotta_have_this_key: true
```
```yaml
#@data/values
---
```
```yaml
#@ load("@ytt:data", "data")
--…