[jboss-jira] [JBoss JIRA] (WFWIP-184) Can't specify arbitrary Persistent Volume Claim Name

Jeff Mesnil (Jira) issues at jboss.org
Mon Sep 9 05:36:00 EDT 2019


     [ https://issues.jboss.org/browse/WFWIP-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Mesnil updated WFWIP-184:
------------------------------
    Summary: Can't specify arbitrary Persistent Volume Claim Name  (was: Cant specify arbitrary Persistent Volume Claim Name)


> Can't 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: Jeff Mesnil
>            Priority: Major
>
> 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