[jboss-jira] [JBoss JIRA] (WFWIP-184) Can't specify arbitrary Persistent Volume Claim Name
Jeff Mesnil (Jira)
issues at jboss.org
Fri Oct 4 09:32:00 EDT 2019
[ https://issues.jboss.org/browse/WFWIP-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13794955#comment-13794955 ]
Jeff Mesnil commented on WFWIP-184:
-----------------------------------
tracked by https://github.com/wildfly/wildfly-operator/issues/103
> 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
> Labels: operator
>
> 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.8#713008)
More information about the jboss-jira
mailing list