Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support k8s 1.22+ #139

Merged
merged 2 commits into from Feb 16, 2022
Merged

support k8s 1.22+ #139

merged 2 commits into from Feb 16, 2022

Conversation

adrienjt
Copy link
Contributor

@adrienjt adrienjt commented Feb 16, 2022

i.e., drop support for k8s 1.17 - 1.20, add support for k8s 1.22 - 1.23 (and likely future versions until something breaks)

upgrade go to 1.17 and k8s.io dependencies, controller-runtime, vk, and minor dependencies to latest package versions, luckily cross-compatible (we might have still supported k8s 1.19 - 1.20 with older versions; not worth the maintenance cost)

k8s 1.20- aren't supported anymore because schedulers watch PodDisruptionBudgets using the policy/v1 API version, available since v1.21

use the certificates.k8s.io/v1 API version for CertificateSigningRequest

use the networking.k8s.io/v1 API version for Ingress

use the coordination.k8s.io/v1 API version for Lease

upgrade cert-manager, argo, and our own CRDs and webhook configuration because 1.22 dropped support for admissionregistration.k8s.io/v1beta1 and apiextensions.k8s.io/v1beta1

move CRDs to templates/ (from crds/, which is actually meant for CRDs that have objects created in the same chart) so they're updated on helm upgrades (cert-manager did the same move)

fixes #130
fixes #120

i.e., drop support for k8s 1.17 - 1.20, add support for k8s 1.22 - 1.23 (and likely future versions until something breaks)

upgrade go to 1.17 and k8s.io dependencies, controller-runtime, vk, and minor dependencies to latest package versions, luckily cross-compatible (we might have still supported k8s 1.19 - 1.20 with older versions; not worth the maintenance cost)

k8s 1.20- aren't supported anymore because schedulers watch PodDisruptionBudgets using the policy/v1 API version, available since v1.21

use the certificates.k8s.io/v1 API version for CertificateSigningRequest

use the networking.k8s.io/v1 API version for Ingress

use the coordination.k8s.io/v1 API version for Lease

upgrade cert-manager, argo, and our own CRDs and webhook configuration because 1.22 dropped support for admissionregistration.k8s.io/v1beta1 and apiextensions.k8s.io/v1beta1

move CRDs to templates/ (from crds/, which is actually meant for CRDs that have objects created in the same chart) so they're updated on helm upgrades (cert-manager did the same move)

upgrade to go 1.17

Signed-off-by: adrienjt <adrienjt@users.noreply.github.com>
controller-manager is restarted when target is deleted, so it can take a while to reconcile

Signed-off-by: adrienjt <adrienjt@users.noreply.github.com>
@adrienjt adrienjt changed the title support k8s 1.21 - 1.23 support k8s 1.22+ Feb 16, 2022
@adrienjt adrienjt merged commit bbbf347 into admiraltyio:master Feb 16, 2022
@adrienjt adrienjt deleted the support-k8s-1.22 branch February 16, 2022 18:26
@adrienjt adrienjt mentioned this pull request Feb 25, 2022
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable logs/exec for EKS 1.19+ K8s 1.22+
1 participant