This section shows how to upgrade the StackGres operator using Helm.
Upgrade the Helm repository:
helm repo update stackgres-charts
Upgrade the StackGres operator:
helm upgrade --namespace stackgres stackgres-operator \
--values my-operator-values.yml \
stackgres-charts/stackgres-operator
Adapt the values to your specific namespace, values, and chart name.
Important: Do not use the
--reuse-values
option of Helm since this prevents the operator Helm chart from adding new default values. Pass your installation params using the values file, or set the values directly in the command using the--set-string
or--set
options.
It’s recommended to pass the same values or the same value.yaml
file at upgrade time that have been used at installation time.
Upgrading an operator serves two purposes:
After upgrading the operator have a look at the following steps.