Skip to content

chore: update version of kubectl used in tests #421

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

Closed
Closed
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 dev/update-golden
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cd "${REPO_ROOT}"
if [[ ! -f "bin/kubectl" ]]; then
echo "Downloading kubectl to bin/kubectl"
mkdir -p bin/
curl -L -o bin/kubectl https://dl.k8s.io/release/v1.26.0/bin/linux/amd64/kubectl
curl -L -o bin/kubectl https://dl.k8s.io/release/v1.32.1/bin/linux/amd64/kubectl
fi
chmod +x bin/kubectl
export PATH="${REPO_ROOT}/bin:$PATH"
Expand Down
2 changes: 1 addition & 1 deletion hack/ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ REPO_ROOT=$(pwd)
if [[ ! -f "bin/kubectl" ]]; then
echo "Downloading kubectl to bin/kubectl"
mkdir -p bin/
curl -L -o bin/kubectl https://dl.k8s.io/release/v1.27.0/bin/linux/amd64/kubectl
curl -L -o bin/kubectl https://dl.k8s.io/release/v1.32.1/bin/linux/amd64/kubectl
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, this (or rather not doing this) is why my attempts at this in #417 kept failing.

fi
chmod +x bin/kubectl
export PATH="${REPO_ROOT}/bin:$PATH"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,10 @@ Accept-Encoding: gzip



---

GET /openapi/v2?timeout=32s
Accept: application/[email protected]+protobuf
Accept-Encoding: gzip
Kubectl-Command: kubectl apply



---

GET /api?timeout=32s
Accept: application/json;g=apidiscovery.k8s.io;v=v2beta1;as=APIGroupDiscoveryList,application/json
Accept: application/json;g=apidiscovery.k8s.io;v=v2;as=APIGroupDiscoveryList,application/json;g=apidiscovery.k8s.io;v=v2beta1;as=APIGroupDiscoveryList,application/json
Accept-Encoding: gzip
Kubectl-Command: kubectl apply

Expand All @@ -34,7 +25,7 @@ Kubectl-Command: kubectl apply
---

GET /apis?timeout=32s
Accept: application/json;g=apidiscovery.k8s.io;v=v2beta1;as=APIGroupDiscoveryList,application/json
Accept: application/json;g=apidiscovery.k8s.io;v=v2;as=APIGroupDiscoveryList,application/json;g=apidiscovery.k8s.io;v=v2beta1;as=APIGroupDiscoveryList,application/json
Accept-Encoding: gzip
Kubectl-Command: kubectl apply

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,10 @@ Accept-Encoding: gzip



---

GET /openapi/v2?timeout=32s
Accept: application/[email protected]+protobuf
Accept-Encoding: gzip
Kubectl-Command: kubectl apply



---

GET /api?timeout=32s
Accept: application/json;g=apidiscovery.k8s.io;v=v2beta1;as=APIGroupDiscoveryList,application/json
Accept: application/json;g=apidiscovery.k8s.io;v=v2;as=APIGroupDiscoveryList,application/json;g=apidiscovery.k8s.io;v=v2beta1;as=APIGroupDiscoveryList,application/json
Accept-Encoding: gzip
Kubectl-Command: kubectl apply

Expand All @@ -34,7 +25,7 @@ Kubectl-Command: kubectl apply
---

GET /apis?timeout=32s
Accept: application/json;g=apidiscovery.k8s.io;v=v2beta1;as=APIGroupDiscoveryList,application/json
Accept: application/json;g=apidiscovery.k8s.io;v=v2;as=APIGroupDiscoveryList,application/json;g=apidiscovery.k8s.io;v=v2beta1;as=APIGroupDiscoveryList,application/json
Accept-Encoding: gzip
Kubectl-Command: kubectl apply

Expand Down Expand Up @@ -238,6 +229,24 @@ Kubectl-Command: kubectl apply



---

GET /openapi/v3?timeout=32s
Accept: application/json, */*
Accept-Encoding: gzip
Kubectl-Command: kubectl apply



---

GET /openapi/v2?timeout=32s
Accept: application/[email protected]+protobuf
Accept-Encoding: gzip
Kubectl-Command: kubectl apply



---

PATCH /api/v1/namespaces/ns1?fieldManager=kubectl-client-side-apply&fieldValidation=Ignore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,10 @@ Accept-Encoding: gzip



---

GET /openapi/v2?timeout=32s
Accept: application/[email protected]+protobuf
Accept-Encoding: gzip
Kubectl-Command: kubectl apply



---

GET /api?timeout=32s
Accept: application/json;g=apidiscovery.k8s.io;v=v2beta1;as=APIGroupDiscoveryList,application/json
Accept: application/json;g=apidiscovery.k8s.io;v=v2;as=APIGroupDiscoveryList,application/json;g=apidiscovery.k8s.io;v=v2beta1;as=APIGroupDiscoveryList,application/json
Accept-Encoding: gzip
Kubectl-Command: kubectl apply

Expand All @@ -34,7 +25,7 @@ Kubectl-Command: kubectl apply
---

GET /apis?timeout=32s
Accept: application/json;g=apidiscovery.k8s.io;v=v2beta1;as=APIGroupDiscoveryList,application/json
Accept: application/json;g=apidiscovery.k8s.io;v=v2;as=APIGroupDiscoveryList,application/json;g=apidiscovery.k8s.io;v=v2beta1;as=APIGroupDiscoveryList,application/json
Accept-Encoding: gzip
Kubectl-Command: kubectl apply

Expand Down Expand Up @@ -238,6 +229,24 @@ Kubectl-Command: kubectl apply



---

GET /openapi/v3?timeout=32s
Accept: application/json, */*
Accept-Encoding: gzip
Kubectl-Command: kubectl apply



---

GET /openapi/v2?timeout=32s
Accept: application/[email protected]+protobuf
Accept-Encoding: gzip
Kubectl-Command: kubectl apply



---

GET /api/v1/namespaces/ns2
Expand Down
Loading