Skip to content

Update kubectl from 1.24.17 to 1.25.14

Clemens Beck requested to merge update-kubectl-1-25-x into master

What does this MR do?

Update kubectl from 1.24.17 to 1.25.14

Update kubectl and configure deps io to create MRs
for 1.25.x patches automatically.

Closes https://gitlab.com/gitlab-org/build/CNG/-/issues/718

Changelog: changed

Related issues

Closes #718 (closed)

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion

Required

  • Merge Request Title, and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com
  • When ready for review, MR is labeled "~workflow::ready for review" per the Distribution MR workflow

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Integration tests added to GitLab QA
  • The impact any change in container size has should be evaluated
  • New dependencies are managed with dependencies.io

Test Plan

  • Confirm compatibility with K8s 1.16:

    • Provision a K8s 1.19 cluster (for example using kind)

      kind create cluster --name k8s1-16-kubectl-1-25 --config <kind_config> --image kindest/node:v1.16.15
    • Install a release of the latest GitLab chart and disable the bundled NGINX Ingress for K8s 1.16 compatability

      helm install gitlab gitlab/gitlab \
        -n gl-k-1-25 --create-namespace \
        --set nginx-ingress.enabled=false \ \
        --set global.gitlabVersion=update-kubectl-1-25-x
    • Confirm the shared secret Job succeeds

    • Confirm all components start as expected

  • Confirm compatibility with K8s 1.19:

    • Provision a K8s 1.19 cluster (for example using kind)

      kind create cluster --name kubectl-1-25 --config <kind_config> --image kindest/node:v1.19.16
    • Install a release of the latest GitLab chart with a 1.19 compatible NGINX Ingress image

      helm install gitlab gitlab/gitlab \
        -n gl-k-1-25 --create-namespace \
        --set nginx-ingress.controller.image.tag=v1.2.1 \
        --set global.gitlabVersion=update-kubectl-1-25-x
    • Confirm the shared secret Job succeeds

    • Confirm all components start as expected

Edited by Dustin Collins

Merge request reports