Skip to content

Upgrading from v3.x to v4.x

Migrating from v3.x to v4.x introduces a number of breaking changes. Additionally, the minimum required Kubernetes version has been increased to version 1.28.x.

A new and consistent resource naming scheme has been implemented throughout the chart.

This change may lead to generated resources getting new names, causing resources with the old naming scheme to be removed.

When creating a serviceAccount in v3, this would always also create a Secret containing a static long-lived Service Account token. Nowadays it is preferable to use short-lived tokens and have Kubernetes manage them automatically.

If a static long-lived token is still required for a serviceAccount, this can be configured by setting the staticToken key of the serviceAccount to true.

The syntax for creating service accounts has changed. Instead of configuring a default serviceAccount and optional extraServiceAccounts the syntax has been brought in line with other resources:

serviceAccount:
myServiceAccount: {}
mySecondServiceAccount:
staticToken: true
myThirdServiceAccount:
enabled: false
controllers:
main:
serviceAccount:
identifier: myServiceAccount

The hardcoded app.kubernetes.io/component label that is used to target specific controllers has been renamed to app.kubernetes.io/controller.