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

Commits on Feb 16, 2022

  1. support k8s 1.21 - 1.23

    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>
    adrienjt committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    462d6ab View commit details
    Browse the repository at this point in the history
  2. increase cleanup test timeout to make it less flaky

    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 committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    a960c6b View commit details
    Browse the repository at this point in the history