We use Consul as the Vault backend and deploy consul by Helm Chart.
In consul helm chart value file, 10G is the default size for consul server storage.
We already have consul deployed and have data in it, and we want to resize the storage to 200G.
How can we update this storage size without losing data?
Directly change it in values file and upgrade release is forbidden
$ helm upgrade consul live/infra2/consul-helm/ -n vault -f live/infra2/helm-values/helm-values-consul.yaml
Error: UPGRADE FAILED: cannot patch "consul-server" with kind StatefulSet: StatefulSet.apps "consul-server" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden
Question
We use Consul as the Vault backend and deploy consul by Helm Chart. In consul helm chart value file, 10G is the default size for consul server storage. We already have consul deployed and have data in it, and we want to resize the storage to 200G. How can we update this storage size without losing data? Directly change it in values file and upgrade release is forbidden
CLI Commands (consul-k8s, consul-k8s-control-plane, helm)
Helm Configuration
Logs
Current understanding and Expected behavior
Environment details
Additional Context