{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/2866","labels_url":"https://api.github.com/repos/openshift/origin/issues/2866/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/2866/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/2866/events","html_url":"https://github.com/openshift/origin/pull/2866","id":85584897,"number":2866,"title":"add secrets subcommand to osc","user":{"login":"deads2k","id":8225098,"avatar_url":"https://avatars.githubusercontent.com/u/8225098?v=3","gravatar_id":"","url":"https://api.github.com/users/deads2k","html_url":"https://github.com/deads2k","followers_url":"https://api.github.com/users/deads2k/followers","following_url":"https://api.github.com/users/deads2k/following{/other_user}","gists_url":"https://api.github.com/users/deads2k/gists{/gist_id}","starred_url":"https://api.github.com/users/deads2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deads2k/subscriptions","organizations_url":"https://api.github.com/users/deads2k/orgs","repos_url":"https://api.github.com/users/deads2k/repos","events_url":"https://api.github.com/users/deads2k/events{/privacy}","received_events_url":"https://api.github.com/users/deads2k/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-05T17:14:00Z","updated_at":"2015-06-05T17:40:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/2866","html_url":"https://github.com/openshift/origin/pull/2866","diff_url":"https://github.com/openshift/origin/pull/2866.diff","patch_url":"https://github.com/openshift/origin/pull/2866.patch"},"body":"Adds \r\n 1. `osc secrets new` - same arguments as the existing bundle command, but it creates the secret instead of simply displaying it.\r\n 1. `osc secrets new-dockercfg` - takes flags to create a valid dockercfg secret.\r\n\r\n@fabianofranz ptal\r\n@smarterclayton command names and are there others we should have (I'll make TODOs)"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/109374246","html_url":"https://github.com/openshift/origin/pull/2866#issuecomment-109374246","issue_url":"https://api.github.com/repos/openshift/origin/issues/2866","id":109374246,"user":{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T17:40:44Z","updated_at":"2015-06-05T17:40:44Z","body":"-o yaml\n\n----- Original Message -----\n> I still think the ability to easily write a secret is useful.  For example, I\n> think it will be more common to check a secret into source control than to\n> create it on the fly direct to server.  Can we preserve an option that lets\n> me bundle a secret locally instead of always writing to server.  I think of\n> it similar to osc process and then piping into osc create.\n> \n> Sent from my iPhone\n> \n> > On Jun 5, 2015, at 1:14 PM, David Eads <notifications@github.com> wrote:\n> > \n> > Adds\n> > \n> > osc secrets new - same arguments as the existing bundle command, but it\n> > creates the secret instead of simply displaying it.\n> > osc secrets new-dockercfg - takes flags to create a valid dockercfg secret.\n> > @fabianofranz ptal\n> > @smarterclayton command names and are there others we should have (I'll\n> > make TODOs)\n> > \n> > You can view, comment on, or merge this pull request online at:\n> > \n> >   https://github.com/openshift/origin/pull/2866\n> > \n> > Commit Summary\n> > \n> > UPSTREAM: kube: update describer for dockercfg secrets\n> > add secrets subcommand to osc\n> > File Changes\n> > \n> > M\n> > Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/kubectl/describe.go\n> > (3)\n> > M hack/test-cmd.sh (10)\n> > M pkg/cmd/admin/admin.go (2)\n> > M pkg/cmd/admin/policy/policy.go (2)\n> > M pkg/cmd/cli/cli.go (4)\n> > M pkg/cmd/cli/policy/policy.go (13)\n> > R pkg/cmd/cli/secrets/bsFixtures/dir/symbolic (0)\n> > R pkg/cmd/cli/secrets/bsFixtures/dir/www.testing.com (0)\n> > R pkg/cmd/cli/secrets/bsFixtures/dirNoSubdir/www.testing.com (0)\n> > R pkg/cmd/cli/secrets/bsFixtures/invalid/invalid-DNS (0)\n> > R pkg/cmd/cli/secrets/bsFixtures/leadingdot/.dockercfg (0)\n> > R pkg/cmd/cli/secrets/bsFixtures/multiple/www.google.com (0)\n> > R pkg/cmd/cli/secrets/bsFixtures/www.google.com (0)\n> > R pkg/cmd/cli/secrets/bundle_secret_test.go (18)\n> > A pkg/cmd/cli/secrets/dockercfg.go (157)\n> > R pkg/cmd/cli/secrets/known_secret_types.go (2)\n> > R pkg/cmd/cli/secrets/new.go (81)\n> > A pkg/cmd/cli/secrets/subcommand.go (27)\n> > M pkg/cmd/openshift/openshift.go (2)\n> > Patch Links:\n> > \n> > https://github.com/openshift/origin/pull/2866.patch\n> > https://github.com/openshift/origin/pull/2866.diff\n> > —\n> > Reply to this email directly or view it on GitHub.\n> > \n> \n> \n> ---\n> Reply to this email directly or view it on GitHub:\n> https://github.com/openshift/origin/pull/2866#issuecomment-109371753\n"}}