Description
I cant create PVC with arbitrary name. It must be empty [3] or "<CR name>-volume" [2]
When I specify PVC name I get error like
create Pod simple-jaxrs-eap72-0 in StatefulSet simple-jaxrs-eap72 failed error: Pod "simple-jaxrs-eap72-0" is invalid: spec.containers[0].volumeMounts[0].name: Not found: "simple-jaxrs-eap72-volume"
Is there any reason to not permit arbitrary PVC name?
[1] https://github.com/wildfly/wildfly-operator/blob/master/pkg/controller/wildflyserver/wildflyserver_controller.go#L401
[2] https://github.com/wildfly/wildfly-operator/blob/master/pkg/controller/wildflyserver/wildflyserver_controller.go#L309
[3] https://github.com/wildfly/wildfly-operator/blob/master/pkg/controller/wildflyserver/wildflyserver_controller.go#L348