Page MenuHomePhabricator

CAPI: Use Helm v4
Closed, ResolvedPublic5 Estimated Story Points

Description

CAPI currently uses the Helm v3 library, this version is currently in support mode with security fixes ending Nov 11th this year: https://github.com/helm/helm#helm-development-and-stable-versions

Helm v4 introduced breaking changes to client workflows. In particular we rely on a post-renderer what will be affected by these changes.

Additionally, I tried to update the dependency in the codebase and found multiple compilation errors, meaning that the API of the Go library itself also introduced breaking changes and our code will need to be updated to adapt to those. This will also require some extra testing and verification

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Service Account: add required verbs to ClusterRolerepos/test-platform/catalyst/catalyst-api!211jnucheT429768main
helm: migrate to Helm v4repos/test-platform/catalyst/catalyst-api!210jnucheT429768main
Customize query in GitLab

Event Timeline

thcipriani set the point value for this task to 5.
thcipriani moved this task from Backlog to Ready on the Catalyst (Luka Ijo Pimeja Jan) board.
thcipriani subscribed.

After some initial exploration there may be pieces to break out. Assigning to @jnuche to do the initial exploration of what's going to break.

Tested:

  • Env creation & deletion
  • Env recreation w/ & w/o code server (Patchdemo)
  • Env recreation w/ code server addition & w/ code server removal (Patchdemo)
  • Env recreation after the autoscaler had scaled an env down (Patchdemo)

Also tested:

  • Env created with Helm v3 can be successfully recreated with Helm v4 (Patchdemo)
jnuche moved this task from In progress to Done on the Catalyst (Luka Ijo Pimeja Jan) board.

In production