]
Martin Choma commented on WFWIP-200:
------------------------------------
I can confirm I dont see issue anymore with latest eap operator
jboss-eap-7-tech-preview-eap-operator:jb-eap-7.3-operator-rhel8-containers-candidate-66988-20191001135536
Runtime changes to sessionAffinity are not reflected in underlying
objects
--------------------------------------------------------------------------
Key: WFWIP-200
URL:
https://issues.jboss.org/browse/WFWIP-200
Project: WildFly WIP
Issue Type: Bug
Components: OpenShift
Reporter: Martin Choma
Assignee: Jeff Mesnil
Priority: Blocker
Labels: operator
Any changes (adding, removing or updating) made to sessionAffinity attribute after
WildFlyServer CR was created are not reflected in underlying Service kubernetes object.
Reproducer:
# create CR
{code}
apiVersion:
wildfly.org/v1alpha1
kind: WildFlyServer
metadata:
generation: 1
name: eap-cd
namespace: default
spec:
applicationImage: >-
brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/jboss-eap-7-tech-preview/eap-cd-openshift-rhel8:17.0-4
size: 1
{code}
# Edit CR with sessionAffinity: true
{code}
apiVersion:
wildfly.org/v1alpha1
kind: WildFlyServer
metadata:
generation: 1
name: eap-cd
namespace: default
spec:
applicationImage: >-
brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/jboss-eap-7-tech-preview/eap-cd-openshift-rhel8:17.0-4
size: 1
sessionAffinity: true
{code}
# Service object eap-cd-loadbalancer is not updated