Upgrading with Helm
Upgrade an existing IBM DataPower Operator deployment that was installed using helm.
Prerequisites
Platform
Review the release notes for the version you wish to upgrade to, especially noting any platform support changes (e.g., minimum Kubernetes version). Prior to attempting any Operator upgrade, ensure that the cluster meets the prerequisites for the target version you are upgrading to.
Coexistence
Review the coexistence prerequisites from the Install documentation for reference. Note that if multiple instances of DataPower Operator are installed on the same cluster, they must all be upgraded at the same time to adhere to the rule that all instances must be the same version.
Upgrade
This process assumes an upgrade is being performed on an existing Helm installation of DataPower Operator. If you do not already have DataPower Operator installed, head to the Helm install guide.
-
Download the desired release source code ZIP or tarball. The file will be named similar to one of the following, where
X.Y.Zcorresponds to the version you chose:datapower-operator-chart-X.Y.Z.zipdatapower-operator-chart-X.Y.Z.tar.gz
-
Unpack the chart archive using your preferred tooling (e.g.,
unzip,tar, or some alternative). This should yield a directory nameddatapower-operator-chart-X.Y.Z(whereX.Y.Zcorrespond to the version you chose in step 1). -
In the terminal of your choice,
cdinto the chart directory (example shown below). This directory should contain theChart.yamlandvalues.yamlfiles, as well as other files and directories.cd datapower-operator-chart-X.Y.Z/charts/stable/datapower-operator -
Customize the
values.yamlas desired. Review theREADME.mdin this directory for available configuration options. -
Manually apply the CRDs from the Helm chart to update them in the cluster.
for crd in crds/*; do kubectl apply -f $crd; done -
Upgrade the DataPower Operator using
helm upgrade.helm upgrade datapower-operator .datapower-operatorhere is the Helm release name. This must match the name used when thehelm installwas done; if you do not remember the name, you can retrieve it fromhelm list. -
Validate the upgrade via
helm list.