Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Openshift 4.10 and Helm 3.8, upgrading to persistent enable true, statefulset results to error #21

Open
paubengero opened this issue Jun 21, 2022 · 0 comments

Comments

@paubengero
Copy link

Environment: Openshift 4.10
Helm: 3.8

Initial install was made using the in memory type buffer, it was working perfectly alright, no problems.
Now another helm install/upgrade was made after updating related values in values.yaml to enable persistence (use storageClass: "" for default provisioning as well) and shift to file buffering

helm upgrade -i --namespace=openshift-logging openshift-logforwarding-splunk charts/openshift-logforwarding-splunk/ --set forwarding.splunk.token=<HEC-TOKEN>

This results to error below:

Error: UPGRADE FAILED: cannot patch "openshift-logforwarding-splunk" with kind StatefulSet: StatefulSet.apps "openshift-logforwarding-splunk" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant