Skip to content

Issue-4087: Increase MaxItems for CACertificateRefs validation #1466

Issue-4087: Increase MaxItems for CACertificateRefs validation

Issue-4087: Increase MaxItems for CACertificateRefs validation #1466

Workflow file for this run

name: CRD Validation
on:
pull_request:
types: [opened, edited, synchronize, reopened]
# Remove all permissions from GITHUB_TOKEN except metadata.
permissions: {}
jobs:
crd-validation:
name: CEL
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# Available versions at https://raw.githubusercontent.com/kubernetes-sigs/controller-tools/HEAD/envtest-releases.yaml
# Our goal is to cover the most recent 5 minor versions, even if the oldest one is EOL.
k8s_version: [v1.35.0, v1.34.1, v1.33.0, v1.32.0, v1.31.0]
crd_channel: [standard, experimental]
steps:
- name: Checkout code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # tag=v6.0.1
with:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # tag=v6.2.0
with:
go-version-file: 'go.work'
- name: Run CRD Validation tests
env:
K8S_VERSION: ${{ matrix.k8s_version }}
CRD_CHANNEL: ${{ matrix.crd_channel }}
run: |
make CEL_TEST_K8S_VERSION="${K8S_VERSION}" CEL_TEST_CRD_CHANNEL="${CRD_CHANNEL}" test.crds-validation