Migrate to Kubernetes API 1.22
This MR migrates GitLab Operator to Kubernetes API 1.22 using Kubebuilder version 3. It follows https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-22 and implements all the required changes for the migration. As a result it is a fairly large MR.
What's included:
- Updated project configuration file (
PROJECT
) - Updated Go dependencies for Kubernetes API 1.22
- Cleaning up the unused/unnecessary dependencies
- Updating CRD (
apiextensions.k8s.io/v1beta1
toapiextensions.k8s.io/v1
) and Webhook (admissionregistration.k8s.io/v1beta1
toadmissionregistration.k8s.io/v1
) versions - Picking !271 (closed) for updating Networking API for Ingress (
extensions/v1beta1
andnetworking.k8s.io/v1beta1
tonetworking.k8s.io/v1
) - Adding API and Kubernetes version capabilities to Helm facility
- Minor changes to
Makefile
, Kustomization, and manifest to support the new changes
NOTE: The build pipeline of this MR requires gitlab-org/gitlab-build-images#92 (closed) to be merged first and the new build image pushed to the registry. Once done
Closes #398 (closed)
Closes #123 (closed)
Closes #162 (closed)
Closes #423 (closed) (!283 (06bb33bc))
Edited by Mitchell Nielsen