8000 fix(tools): Change to dashed parameter by justinrlee · Pull Request #6 · armory/spinnaker-tools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(tools): Change to dashed parameter #6

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

Merged
merged 1 commit into from
Jun 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/create_kubeconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func init() {
createKubeconfig.PersistentFlags().StringVarP(&destKubeconfig, "output", "o", "", "kubeconfig to output to")
createKubeconfig.PersistentFlags().StringVarP(&context, "context", "c", "", "kubectl context to use")
createKubeconfig.PersistentFlags().StringVarP(&namespace, "namespace", "n", "", "namespace to create service account in")
createKubeconfig.PersistentFlags().StringVarP(&serviceAccountName, "serviceAccountName", "s", "", "service account name")
createKubeconfig.PersistentFlags().StringVarP(&serviceAccountName, "service-account-name", "s", "", "service account name")
createKubeconfig.PersistentFlags().BoolVarP(&verbose, "verbose", "v", false, "verbose output")

}
2 changes: 1 addition & 1 deletion cmd/create_service_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func init() {
createServiceAccount.PersistentFlags().StringVarP(&destKubeconfig, "output", "o", "", "kubeconfig to output to")
createServiceAccount.PersistentFlags().StringVarP(&context, "context", "c", "", "kubectl context to use")
createServiceAccount.PersistentFlags().StringVarP(&namespace, "namespace", "n", "", "namespace to create service account in")
createServiceAccount.PersistentFlags().StringVarP(&serviceAccountName, "serviceAccountName", "s", "", "service account name")
createServiceAccount.PersistentFlags().StringVarP(&serviceAccountName, "service-account-name", "s", "", "service account name")
// createServiceAccount.PersistentFlags().BoolVarP(&notAdmin, "select-namespaces", "T", false, "don't create service account as cluster-admin")
createServiceAccount.PersistentFlags().StringVarP(&targetNamespaces, "target-namespaces", "t", "", "comma-separated list of namespaces to deploy to")
createServiceAccount.PersistentFlags().BoolVarP(&verbose, "verbose", "v", false, "verbose output")
Expand Down
0