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

Read templates from and to directories #47

Closed
wants to merge 10 commits into from
Closed

Conversation

tonglil
Copy link
Member

@tonglil tonglil commented Aug 23, 2017

Closes #27.
Closes #29.

Will need to update the changelog.

This change requires developers to put their templates into a folder (default .kube/). As a result, they can create a file for each resource (like deployment.yml, service.yml) if they find one file become too large.

The other change this brings is that instead of rendering the templates to /tmp, this writes them to a folder in the workspace/working directory (default .kube-out/). The goal is to be able to upload them to GCS or somewhere.

I'm not sure if the default should remain as /tmp.

@tonglil
Copy link
Member Author

tonglil commented Oct 5, 2017

I believe this will also be helpful for those with large kubernetes configurations (with multiple resources like configmaps that can span a lot of lines, but are infrequently changed).

@tonglil
Copy link
Member Author

tonglil commented Oct 5, 2017

PTAL @yunzhu-li @balser

@tonglil
Copy link
Member Author

tonglil commented Jan 3, 2018

Closing for now, will review design another time.

@tonglil tonglil closed this Jan 3, 2018
@tonglil tonglil deleted the kube-folder branch January 24, 2018 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant