[jboss-jira] [JBoss JIRA] (WFWIP-186) PVC access mode is hardcoded to ReadWriteOnce

Martin Choma (Jira) issues at jboss.org
Wed Sep 11 06:41:00 EDT 2019


    [ https://issues.jboss.org/browse/WFWIP-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13782773#comment-13782773 ] 

Martin Choma commented on WFWIP-186:
------------------------------------

Ah I see now. No I assume it is bad configuration. But yes with non-Operator approach you can do so, but as I said I suppose it breaks things :) 
So mounting `standalone/data` to persistent volume enables me to restart pod and it will have the same "state" (depends what is stored in  standalone/data). Because it is implemented by StatefulSet? Correct?

So I think this can be closed as I agree it is correct to hardcode `standalon\data` to `ReadWriteOnce`.

What I had in mind and what is operator missing is option to configure persitent volume for other path then `standalone/data`. But that can be tracked by separate issue.

> PVC access mode is hardcoded to ReadWriteOnce
> ---------------------------------------------
>
>                 Key: WFWIP-186
>                 URL: https://issues.jboss.org/browse/WFWIP-186
>             Project: WildFly WIP
>          Issue Type: Bug
>          Components: OpenShift
>            Reporter: Martin Choma
>            Assignee: Jeff Mesnil
>            Priority: Blocker
>
> Setting different access mode (ReadWriteMany, ReadOnlyMany) is ignored 
> [1] https://github.com/wildfly/wildfly-operator/blob/master/pkg/controller/wildflyserver/wildflyserver_controller.go#L404



--
This message was sent by Atlassian Jira
(v7.13.5#713005)


More information about the jboss-jira mailing list