-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
MVP of templating #3040
MVP of templating #3040
Conversation
Hi @mad01. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with I understand the commands that are listed here. 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. I understand the commands that are listed here. |
…ed to kubernetes#2404 rename command templating to template
/ok-to-test |
/assign @zmerlynn |
Hey, sorry, I thought I could get to this today but haven't had a chance. |
So I would have said that templating is probably out of scope, but the toolbox is where we do things that we think might be out of scope - it doesn't have the same guarantees that we'll continue to support it and doesn't have the same implication that things are core - although in practice things tend to wither rather than being removed :-) I am wondering if we should force people to specify the style of templating they want to use. i.e. either pass a /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: justinsb, mad01 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue |
👍 |
Automatic merge from submit-queue. Add kops toolbox template docs Document the template format of new command `kops toolbox template` (#3040)
MVP implementation of templating to generate cluster.yaml file: related to #2404 implementation is using the
text/template
running the templating command
output
apiVersion: kops/v1alpha2 kind: InstanceGroup metadata: labels: kops.k8s.io/cluster: eu1.k8s.example.com name: nodes spec: image: coreos.com/CoreOS-stable-1409.6.0-hvm machineType: m4.large maxPrice: "0.5" maxSize: 2 minSize: 15 role: Node rootVolumeSize: 100 subnets: - eu-west-1a - eu-west-1b - eu-west-1c