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

Could do with some examples #2

Open
stribb opened this issue Jul 21, 2019 · 2 comments
Open

Could do with some examples #2

stribb opened this issue Jul 21, 2019 · 2 comments

Comments

@stribb
Copy link

stribb commented Jul 21, 2019

Hey there!

Short of your tests, I'm kinda in the dark about how you use this code.

I'd happily work with you to come up with some examples - perhaps you could share a couple of really simple ones and we can work together to illuminate the features of Weaver from there?

@SVMBrown
Copy link
Owner

SVMBrown commented Jul 21, 2019

Hi!
Yeah, that'd be good. Thanks!

The primary reason I made this library was for working with docker/kubernetes deployment configuration in albatross. The main use case there is for having separate templates which share a common weaver config in order to keep shared data in sync (e.g. referencing a stateful set's name from a service, using a generated docker image tag from a kubernetes stateful set, sharing as much config as possible between dev and prod deployments...).

I use these libraries for primarily closed-source work at my full-time job, but I can pull some stuff in and remove any sensitive data. (I'm busy today, but I'll put something up this week.)

I also think that the pattern of templating data could be useful in many other contexts as well, so I'll include some examples for custom tags as well.

I haven't done much work to make this library accessible, but I'm happy to step it up a bit if people like you find it useful or interesting.

Are there any specific features that you're looking for information on, or any specific things you're trying to accomplish with weaver?

@stribb
Copy link
Author

stribb commented Jul 21, 2019 via email

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

No branches or pull requests

2 participants