grafana / tanka

Flexible, reusable and concise configuration for Kubernetes
https://tanka.dev
Apache License 2.0
2.38k stars 167 forks source link

feature request: Storing the value tanka export --format inside of Tanka #800

Open mathewpeterson opened 1 year ago

mathewpeterson commented 1 year ago

Hello,

I've recently came across Tanka after developing a custom solution to handle our k8s workloads. One of the things we do with our internal tooling is export our manifests to the filesystem and run the exported manifests through kubectl-slice in order to generate files on local disk which then get committed to a repository to be used by other teams / automated processes. The kubectl-slice works pretty much the same way as the tanka export when using the --format flag.

A feature that would benefit us would be the ability to set the value of the format argument in tanka export --format="this value" ... inside of Tanka (perhaps in a Tanka Environment manifest) so that we do not have to store the value out of band.

zerok commented 4 months ago

So far environment specs only specify the target up from the Kubernetes API server. Would creating a custom wrapper script be easier and quicker?