-
Notifications
You must be signed in to change notification settings - Fork 551
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
e2e: Add support for overriding the kubectl binary when gather artifacts #2741
e2e: Add support for overriding the kubectl binary when gather artifacts #2741
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: timflannagan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
8b75703
to
89676c3
Compare
@@ -7,7 +7,10 @@ set -o errexit | |||
: "${KUBECONFIG:?}" | |||
: "${TEST_NAMESPACE:?}" | |||
: "${TEST_ARTIFACTS_DIR:?}" | |||
: "${KUBECTL:=kubectl}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: this KUBECTL variable defaults to kubectl when it hasn't been defined/overridden locally. This change now allows users to override this variable in their local/CI environments, e.g. make e2e KUBECTL=oc
.
6030b7a
to
b21e5dc
Compare
Signed-off-by: timflannagan <[email protected]>
b21e5dc
to
fab13a7
Compare
/lgtm |
…cts (operator-framework#2741) Signed-off-by: timflannagan <[email protected]> Signed-off-by: Per Goncalves da Silva <[email protected]>
Signed-off-by: timflannagan [email protected]
Description of the change:
Add support for overriding the kubectl binary that's responsible for gathering namespace-scoped test artifacts when individual test cases fail.
Motivation for the change:
Avoid hardcoding the kubectl binary location when kubectl isn't present in a users/CI environment's $PATH.
Reviewer Checklist
/doc
[FLAKE]
are truly flaky[FLAKE]
tag are no longer flaky