]
Jeff Mesnil resolved WFWIP-211.
-------------------------------
Resolution: Explained
The operator is setting the configuration properly on the statefulset spec but it is
discarded when running on OpenShift (while running on Kubernetes retains the sizeLimit)
emptyDir.sizeLimit not propagated to Pod Spec
---------------------------------------------
Key: WFWIP-211
URL:
https://issues.jboss.org/browse/WFWIP-211
Project: WildFly WIP
Issue Type: Bug
Components: OpenShift
Reporter: Martin Choma
Assignee: Jeff Mesnil
Priority: Blocker
Labels: operator
# {code:yaml}
apiVersion:
wildfly.org/v1alpha1
kind: WildFlyServer
metadata:
name: operator-empty-dir
namespace: mchoma
spec:
applicationImage: 'registry.access.redhat.com/jboss-eap-7/eap72-openshift:1.1'
size: 1
storage:
emptyDir:
medium: Memory
sizeLimit: 1Mi
{code}
# wait until pod are started and look into pod yaml definition "1 Mi" is not
there
{code:yaml}
...
serviceAccount: default
serviceAccountName: default
subdomain: operator-empty-dir-headless
terminationGracePeriodSeconds: 30
volumes:
- emptyDir:
medium: Memory
name: operator-empty-dir-volume
- name: default-token-j2grg
secret:
defaultMode: 420
secretName: default-token-j2grg
status:
conditions:
...
{code}