Skip to content

Update E2E tests to Kubernetes v1.32 #3736

Update E2E tests to Kubernetes v1.32

Update E2E tests to Kubernetes v1.32 #3736

Workflow file for this run

name: verify api CRDs
on:
pull_request:
jobs:
verify-api-crds:
defaults:
run:
working-directory: ./api
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.23"
- name: install controller-gen
run: make controller-gen
- name: Check API CRDs
run: make generate && make manifests
- name: Verify Generate
run: |
if [[ $(git diff --exit-code) ]]; then
git diff
echo "api CRDs are not up to date. Please run 'make generate && make manifests' and commit the changes."
exit 1
fi
- name: Generate client files
run: make generate-client
- name: Verify Generate
run: |
if [[ $(git diff --exit-code) ]]; then
git diff
echo "client files are not up to date. Please run 'make generate-client' and commit the changes."
exit 1
fi