Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: only install gateway CRDs if k8s version >= 1.23 (#3420)
* CI: only install gateway CRDs if k8s version >= 1.23 Follow-up of XXX The gateway CRDs installed use `x-kubernetes-validations` which is only [available as of 1.23](https://kubernetes .io/docs/reference/generated/kubernetes-api/v1.23/#jsonschemaprops-v1-apiextensions-k8s-io). This breaks CI when the kubectl version is lower than 1.23. We use these CI actions for grafana/mimir-distributed [with 1.20 for example] (https://github.com/grafana/mimir/blob/a7f1e3f79fe0a72f64d2f60c6ce65afa03e2dd8c/.github/workflows/helm-ci.yml#L11-L18) Signed-off-by: Dimitar Dimitrov <[email protected]> * Update .github/workflows/lint-test.yaml Signed-off-by: Dimitar Dimitrov <[email protected]> --------- Signed-off-by: Dimitar Dimitrov <[email protected]>
- Loading branch information