Upgrade KubeRocketCI v3.8 to 3.9
We suggest backing up the KubeRocketCI environment before starting the upgrade procedure.
This section provides detailed instructions for upgrading the KubeRocketCI to version 3.9.0. Follow the steps and requirements outlined below:
edp-install version v3.9 is not support Kiosk as tenancy engine. Please migrate to Capsule engine or disable this options.
-
(Optional) Migrate from Kiosk tenancy engine.
- Capsule
- Disable tenancy engine
-
Take look how to install Capsule using addons.
-
Integrate Capsule with KubeRocketCI.
-
Update edp-install values file:
values.yaml...
cd-pipeline-operator:
tenancyEngine: "capsule"
...
-
To disable tenancy engine update edp-install values file:
values.yaml...
cd-pipeline-operator:
tenancyEngine: "none"
...
-
(Optional) Align Keycloak integration.
In KubeRocketCI version 3.9.0, the Keycloak configuration procedure has been altered in the values file. Please be attentive and align the configuration for your own use case.
- 3.8.1
- 3.9.0
values.yamlsso:
# -- Install OAuth2-proxy and Keycloak CRs as a part of KubeRocketCI deployment.
enabled: false
# -- Defines Keycloak realm name that is used as the Identity Provider (IdP) realm
realmName: "broker"
# -- Keycloak URL.
keycloakUrl: https://keycloak.example.comvalues.yamlsso:
# -- Install OAuth2-proxy and Keycloak CRs as a part of KubeRocketCI deployment.
enabled: false
keycloakOperatorResources:
# Set to false if using the add-ons approach (refer to https://github.com/epam/edp-cluster-add-ons)
# for KubeRocketCI installation and if the extension-oidc is already installed.
# This prevents the creation of an additional Keycloak resource and secret.
# The 'kind' and 'name' must be specified in case of using an existing Keycloak/ClusterKeycloak resource.
# Create kind: Keycloak as a part of chart installation
createKeycloakCR: true
# Can be Keycloak or ClusterKeycloak.
kind: Keycloak
# Name of kind: Keycloak/ClusterKeycloak CR.
name: main
# -- Defines the Keycloak realm name, which by default is named after the namespace where KubeRocketCI is deployed.
# realmName: edp
# -- Defines Keycloak sso realm name that is used as the Identity Provider (IdP) realm
ssoRealmName: "broker"
# -- Defines Keycloak client name that is used for the Identity Provider (IdP) client
ssoClientName: "edp"
# -- Keycloak URL.
keycloakUrl: https://keycloak.example.com/auth -
To upgrade KubeRocketCI to the v3.9.0, run the following command:
helm upgrade edp epamedp/edp-install -n edp --values values.yaml --version=3.9.0
noteTo verify the installation, it is possible to test the deployment before applying it to the cluster with the
--dry-run
tag:helm upgrade edp epamedp/edp-install -n edp --values values.yaml --version=3.9.0 --dry-run