[
https://issues.jboss.org/browse/WFWIP-211?page=com.atlassian.jira.plugin....
]
Martin Choma commented on WFWIP-211:
------------------------------------
It is really ignored. I am trying on OpenShift with wildfly-operator. If I add `sizeLimit:
2Mi` directly to StatefulSet it is throw away on Save. This behaves the same if I add any
unknow parameter e.g. `a: b`
I will create OpenShift issue for that to be explained.
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}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)