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

Add --local-operator-flags for testing with --up-local #1509

Commits on Jun 3, 2019

  1. Add cmd line flags for test local --up-local

    This patch adds `--local-operator-flags` to
    `operator-sdk test local --up-local` command
    
    It is prvides the functionalisty provided by
    `--operator-flags` flag in `operator-sdk up local --operator-flags` command.
    
    At present there is no way to pass command line flags to an operator
    while testing using `operator-sdk test local --up-local` command.
    
    There is a flag `--go-test-flags` but it cannot be used to pass flags to
    the operator code being tested using `--up-local` flag
    
    This resolves operator-framework#1476 : **Custom flags for test local (no go test ones)**
    
    Signed-off-by: Nikhil Thomas <nikthoma@redhat.com >
    nikhil-thomas committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    f97341c View commit details
    Browse the repository at this point in the history