[jboss-jira] [JBoss JIRA] (WFWIP-184) Cant specify arbitrary Persistent Volume Claim Name
Martin Choma (Jira)
issues at jboss.org
Fri Aug 30 10:19:00 EDT 2019
Martin Choma created WFWIP-184:
----------------------------------
Summary: Cant specify arbitrary Persistent Volume Claim Name
Key: WFWIP-184
URL: https://issues.jboss.org/browse/WFWIP-184
Project: WildFly WIP
Issue Type: Bug
Components: OpenShift
Reporter: Martin Choma
Assignee: Brian Stansberry
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
{code}
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"
{code}
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
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
More information about the jboss-jira
mailing list