Skip to content

Commit

Permalink
Use k8s 1.27.x in spec
Browse files Browse the repository at this point in the history
  • Loading branch information
rrpolanco committed May 4, 2023
1 parent df72d71 commit b1e3053
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions testgrid/specs/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@
- name: Kubernetes-deprecations
installerSpec:
kubernetes:
version: latest
version: 1.27.x
kurl:
installerVersion: ""
containerd:
Expand All @@ -406,15 +406,7 @@
echo "Running Kube No Trouble (kubent)"
kubent_latest_version="$(curl -sL "https://api.github.com/repos/doitintl/kube-no-trouble/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')"
curl -L "https://github.com/doitintl/kube-no-trouble/releases/download/${kubent_latest_version}/kubent-${kubent_latest_version}-linux-amd64.tar.gz" | tar -xz
if ! KUBENT_OUTPUT="$(./kubent)"; then
echo "kubent failed to run!"
exit 1
elif [ -n "${KUBENT_OUTPUT}" ]; then
echo "Deprecated resources found"
echo "--------------------------"
echo "${KUBENT_OUTPUT}"
exit 1
fi
./kubent -e
unsupportedOSIDs: # only run on latest ubuntu for now
- amzn-20
- centos-79
Expand Down

0 comments on commit b1e3053

Please sign in to comment.