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

Old flags used in ensure-kubectl.sh #1717

Closed
lentzi90 opened this issue Oct 10, 2023 · 1 comment · Fixed by #1718
Closed

Old flags used in ensure-kubectl.sh #1717

lentzi90 opened this issue Oct 10, 2023 · 1 comment · Fixed by #1718
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@lentzi90
Copy link
Contributor

/kind bug

What steps did you take and what happened:
A periodic job failed due to

$ kubectl version --client --short
error: unknown flag: --short 

in ensure-kubectl.sh.

See: https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/periodic-cluster-api-provider-openstack-e2e-full-test-main/1711561098999631872

What did you expect to happen:

The job should not fail.

Anything else you would like to add:

We just need to update the way we extract the version from kubectl version.

@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Oct 10, 2023
@mdbooth
Copy link
Contributor

mdbooth commented Oct 10, 2023

Possible fix(es) in #1713

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants