{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kops/issues/5108","repository_url":"https://api.github.com/repos/kubernetes/kops","labels_url":"https://api.github.com/repos/kubernetes/kops/issues/5108/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kops/issues/5108/comments","events_url":"https://api.github.com/repos/kubernetes/kops/issues/5108/events","html_url":"https://github.com/kubernetes/kops/pull/5108","id":320492515,"number":5108,"title":"Adds ability to set template context values on command line ","user":{"login":"gwkunze","id":196545,"avatar_url":"https://avatars0.githubusercontent.com/u/196545?v=4","gravatar_id":"","url":"https://api.github.com/users/gwkunze","html_url":"https://github.com/gwkunze","followers_url":"https://api.github.com/users/gwkunze/followers","following_url":"https://api.github.com/users/gwkunze/following{/other_user}","gists_url":"https://api.github.com/users/gwkunze/gists{/gist_id}","starred_url":"https://api.github.com/users/gwkunze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwkunze/subscriptions","organizations_url":"https://api.github.com/users/gwkunze/orgs","repos_url":"https://api.github.com/users/gwkunze/repos","events_url":"https://api.github.com/users/gwkunze/events{/privacy}","received_events_url":"https://api.github.com/users/gwkunze/received_events","type":"User","site_admin":false},"labels":[{"id":485059302,"url":"https://api.github.com/repos/kubernetes/kops/labels/cncf-cla:%20yes","name":"cncf-cla: yes","color":"bfe5bf","default":false},{"id":583153471,"url":"https://api.github.com/repos/kubernetes/kops/labels/needs-ok-to-test","name":"needs-ok-to-test","color":"b60205","default":false},{"id":676563299,"url":"https://api.github.com/repos/kubernetes/kops/labels/size/XXL","name":"size/XXL","color":"ee0000","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-05T08:56:15Z","updated_at":"2018-05-07T14:03:29Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/kubernetes/kops/pulls/5108","html_url":"https://github.com/kubernetes/kops/pull/5108","diff_url":"https://github.com/kubernetes/kops/pull/5108.diff","patch_url":"https://github.com/kubernetes/kops/pull/5108.patch"},"body":"Following up from #4668, Adapted from helm (a couple lines copied/altered) allows you to specify template context values on the command line.\r\n\r\nFor example:\r\n```\r\n$ kops toolbox template --set foo=bar,baz=3 --set-string ban=4 mytemplate.yml\r\n```\r\n\r\nWould be equivalent to:\r\n```\r\n$ kops toolbox template --values values.yml mytemplate.yml\r\n```\r\n\r\nif `values.yml` contains:\r\n```\r\n---\r\nfoo: bar\r\nbaz: 3\r\nban: \"4\"\r\n```"},"comment":{"url":"https://api.github.com/repos/kubernetes/kops/issues/comments/387074873","html_url":"https://github.com/kubernetes/kops/pull/5108#issuecomment-387074873","issue_url":"https://api.github.com/repos/kubernetes/kops/issues/5108","id":387074873,"user":{"login":"gwkunze","id":196545,"avatar_url":"https://avatars0.githubusercontent.com/u/196545?v=4","gravatar_id":"","url":"https://api.github.com/users/gwkunze","html_url":"https://github.com/gwkunze","followers_url":"https://api.github.com/users/gwkunze/followers","following_url":"https://api.github.com/users/gwkunze/following{/other_user}","gists_url":"https://api.github.com/users/gwkunze/gists{/gist_id}","starred_url":"https://api.github.com/users/gwkunze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwkunze/subscriptions","organizations_url":"https://api.github.com/users/gwkunze/orgs","repos_url":"https://api.github.com/users/gwkunze/repos","events_url":"https://api.github.com/users/gwkunze/events{/privacy}","received_events_url":"https://api.github.com/users/gwkunze/received_events","type":"User","site_admin":false},"created_at":"2018-05-07T14:03:29Z","updated_at":"2018-05-07T14:03:29Z","author_association":"CONTRIBUTOR","body":"I haven't really dived in to the whole bazel thing, but I don't really understand why a simple `dep ensure -add k8s.io/helm/pkg/strvals` would replace all the `BUILD.bazel` files with different `BUILD` files, is there maybe some command I need to run besides `./hack/update-bazel.sh`?"}}
{"actor":{"display_login":"gwkunze"}}