Upgrade EDP v3.5 to 3.6
We suggest backing up the EDP environment before starting the upgrade procedure.
This section provides detailed instructions for upgrading the EPAM Delivery Platform to version 3.6.0. Follow the steps and requirements outlined below:
-
Update Custom Resource Definitions (CRDs). Run the following command to apply all the necessary CRDs to the cluster:
kubectl apply -f https://raw.githubusercontent.com/epam/edp-codebase-operator/v2.20.0/deploy-templates/crds/v2.edp.epam.com_codebases.yaml
-
Familiarize yourself with the updated structure of the values.yaml file and adjust it accordingly:
2.1 A new parameter called space has been added to the
DockerRegistry
section. It is designed to form URLs in CodebaseImageStreams. This parameter is set the same as theEPAM Delivery Platform
namespace name. Ensure you define thespace
parameter prior to the update.warningThis parameter is a significant change and must be set before the update.
global:
dockerRegistry:
type: "harbor"
url: "registry.example.com"
space: "edp"2.2 Sub components, such as sonar-operator, nexus-operator, and keycloak-operator, have been removed since dependencies are no longer provisioned by the edp-install Helm Chart. To install and integrate shared components with EDP, please use the edp-cluster-add-ons approach or refer to the SonarQube Integration and Nexus Sonatype Integration documentation pages.
2.3 The Argo CD integration dependency has been deleted as now we implement it using edp-cluster-add-ons approach. To install and integrate Argo CD as a shared component, use the edp-cluster-add-ons approach.
2.4 The handling of secrets for stages namespaces in the cd-pipeline-operator has been updated. The parameter
manageSecrets
has been replaced withsecretManager
. If your environment previously utilized this parameter, manually modify it frommanageSecrets: true
tosecretManager: own
. Otherwise, set it tosecretManager: none
:cd-pipeline-operator:
# -- flag that indicates whether the operator should manage secrets for stages;
# own - just copy secrets;
# eso - secrete will be managed by External Secrets Operator(operator should be installed in the cluster);
# none - not enable secrets management logic;
secretManager: none -
To upgrade EDP to the v3.6.0, run the following command:
helm upgrade edp epamedp/edp-install -n edp --values values.yaml --version=3.6.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.6.0 --dry-run