Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When using `claim-name` for persistent pack volumes, the following error is raised by Helm: ``` > helm upgrade my-st2 stackstorm/stackstorm-ha --values values.yaml --debug upgrade.go:144: [debug] preparing upgrade for my-st2 Error: UPGRADE FAILED: error validating "": error validating data: [ValidationError(Deployment.spec.template.spec.volumes[2].persistentVolumeClaim): unknown field "claim-name" in io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource, ValidationError(Deployment.spec.template.spec.volumes[2].persistentVolumeClaim): missing required field "claimName" in io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource, ValidationError(Deployment.spec.template.spec.volumes[3].persistentVolumeClaim): unknown field "claim-name" in io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource, ValidationError(Deployment.spec.template.spec.volumes[3].persistentVolumeClaim): missing required field "claimName" in io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource, ValidationError(Deployment.spec.template.spec.volumes[4].persistentVolumeClaim): unknown field "claim-name" in io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource, ValidationError(Deployment.spec.template.spec.volumes[4].persistentVolumeClaim): missing required field "claimName" in io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource] ``` Fix by using `claimName` instead for `persistentVolumeClaim` sections.
- Loading branch information