Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to source yamls in yamls #619

Closed
wojtek-t opened this issue Jul 8, 2019 · 4 comments
Closed

Make it possible to source yamls in yamls #619

wojtek-t opened this issue Jul 8, 2019 · 4 comments

Comments

@wojtek-t
Copy link
Member

wojtek-t commented Jul 8, 2019

I'm wondering how much work would it be allow injecting yamls to other yamls.

I've been thinking about it for some time, but #601 is actually a good example.
Would it be possible to define your yaml as:

// here is my yaml
{{ .sourceFrom someFile }}

@mm4tt @krzysied 
@mm4tt
Copy link
Contributor

mm4tt commented Sep 23, 2019

This is already possible, e.g. see -

network-programming-latency.json: {{YamlQuote (IncludeFile "pkg/prometheus/manifests/dashboards/network.json") 4}}

@mm4tt
Copy link
Contributor

mm4tt commented Sep 23, 2019

/close

@k8s-ci-robot
Copy link
Contributor

@mm4tt: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@wojtek-t
Copy link
Member Author

Nice - I didn't know about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants