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 from a previous deployment or by using the following command:helm get values <RELEASE-NAME> -n <NAMESPACE> -o yaml > custom-values.yamlFor example, to retrieve the
custom-values.yamlfile of modified values, use the following command:helm get values dx-deployment -n dxns -o yaml > custom-values.yamlTo retrieve the full
custom-values.yamlfile that includes the default values, use the following command:helm get values dx-deployment -n dxns -o yaml -a > custom-values-all.yaml -
Update the
custom-values.yamlfile with the required changes (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