Upgrading the Helm deployment
This topic provides detailed steps for upgrading the Helm deployment using an updated custom-values.yaml file.
-
Retrieve the current
custom-values.yamlfile.You can retrieve the current
custom-values.yamlfile from a previous deployment or by using the following command:helm get values <RELEASE-NAME> -n <NAMESPACE> -o yaml > custom-values.yamlFor example:
helm get values dx-deployment -n dxns > -o yaml > custom-values.yaml -
Update the
custom-values.yamlfile with the required changes.Make the necessary updates to the
custom-values.yamlfile (for example,configOverrideFiles,images). -
Upgrade the Helm deployment with the updated
custom-values.yamlfile.Use the following command to apply the updates to your Helm deployment:
helm upgrade <RELEASE_NAME> -n <NAMESPACE> -f custom-values.yaml <HELM_CHART_DIRECTORY>For example:
helm upgrade dx-deployment -n dxns -f custom-values.yaml mycharts/install-hcl-dx-deployment