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

operator-sdk up local does not allow pass through command flags #255

Closed
shawn-hurley opened this issue May 16, 2018 · 1 comment
Closed
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@shawn-hurley
Copy link
Member

As an operator author I would like the ability to use flags/command line args to my operator and use the operator-sdk up local command

Results:

operator-sdk up local --kubeconfig ~/.kube/config --namespace test

Error: unknown flag: --namespace
Usage:
  operator-sdk up local [flags]

Flags:
  -h, --help                help for local
      --kubeconfig string   The file path to kubernetes configuration file; defaults to $HOME/.kube/config

unknown flag: --namespace

Expected Results:

some method to pass arguments through

@fanminshi
Copy link
Contributor

@shawn-hurley good use case. Would you like to figure out how to enable this?

@fanminshi fanminshi added the kind/feature Categorizes issue or PR as related to a new feature. label May 17, 2018
shawn-hurley pushed a commit to shawn-hurley/operator-sdk that referenced this issue May 17, 2018
extra-flags gives the ability to pass flags to the local operator.

Fixes operator-framework#255
shawn-hurley pushed a commit to shawn-hurley/operator-sdk that referenced this issue May 18, 2018
extra-flags gives the ability to pass flags to the local operator.

Fixes operator-framework#255
shawn-hurley pushed a commit to shawn-hurley/operator-sdk that referenced this issue May 18, 2018
extra-flags gives the ability to pass flags to the local operator.

Fixes operator-framework#255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants