there are some cases where storageClassDeviceSets length are more 63 chars and osd provisioned failed due to this. with error
failed to run osd provisioning job for PVC "ocs-deviceset-*-local-volume-storageclass-0-data-*": Job.batch "rook-ceph-osd-prepare-*" is invalid: [spec.template.spec.volumes[10].name: Invalid value: "ocs-deviceset-*-local-volume-storageclass-0-data-*": must be no more than 63 characters, spec.template.spec.containers[0].volumeMounts[9].name: Not found: "ocs-deviceset-*-local-volume-storageclass-0-data-*",
Using x-validator to limit the maxLength to 63 chars.
Checklist:
[ ] Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
there are some cases where storageClassDeviceSets length are more 63 chars and osd provisioned failed due to this. with error
Using x-validator to limit the maxLength to 63 chars.
Checklist:
This is an automatic backport of pull request #14134 done by Mergify.