]
Jeff Mesnil reassigned WFWIP-215:
---------------------------------
Assignee: Ondrej Chaloupka (was: Jeff Mesnil)
Operator headless service labeled with
wildfly.org/operated-by-loadbalancer=active
----------------------------------------------------------------------------------
Key: WFWIP-215
URL:
https://issues.jboss.org/browse/WFWIP-215
Project: WildFly WIP
Issue Type: Bug
Components: OpenShift
Reporter: Martin Choma
Assignee: Ondrej Chaloupka
Priority: Blocker
# create the WildflyServer CR
{code:yaml}
apiVersion:
wildfly.org/v1alpha1
kind: WildFlyServer
metadata:
name: eap-cd
namespace: mchoma
spec:
applicationImage: >-
image-registry.openshift-image-registry.svc:5000/eapcd-suite-builds/eap-cd-openshift-rhel8:17.0-4
env: []
envFrom: []
size: 1
{code}
# Both services {{eap-cd-headless}} and {{eap-cd-loadbalancer}} created by Operator have
same labels. We used to select service based on label
wildfly.org/operated-by-loadbalancer.
{code}
eap-cd-headless
app.kubernetes.io/managed-by=eap-operator
app.kubernetes.io/name=eap-cd
app.openshift.io/runtime=eap
wildfly.org/operated-by-loadbalancer=active
eap-cd-loadbalancer
app.kubernetes.io/managed-by=eap-operator
app.kubernetes.io/name=eap-cd
app.openshift.io/runtime=eap
wildfly.org/operated-by-loadbalancer=active
{code}