You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Create a listener using spec.host equals to backend-ha, then edits the listener and changes its value to backend.
Check that a new service named backend is created, but the old one, named backend-ha was not removed
How To Reproduce
Create two skupper sites
Create an accessgrant and an accesstoken, establish the connection
Deploy a workload ( backend ) in one site
Create the proper connector and listener for the service/workload
From the listener definition : spec: host: backend-ha
services Created: NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) backend-ha ClusterIP X.X.X.X <none> 8080/TCP
Edit the listener and change the spec.host field.
This should start the creation of a new service, and also remove the old service
New host address in the listener definition : spec: host: backend
The new service is created as expected, but the old one remains untouched NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) backend ClusterIP X.X.X.X <none> 8080/TCP backend-ha ClusterIP Y.Y.Y.Y <none> 8080/TCP
Expected behavior
The new service should be created and the old one should be removed
Environment details
Skupper Version : v2-dev
Platform : Minikube
The text was updated successfully, but these errors were encountered:
granzoto
changed the title
Editting a Listener and changing the spec.host field creates a new service, but does not remove the old one
Editing a Listener and changing the spec.host field creates a new service, but does not remove the old one
Jan 28, 2025
Describe the bug
Create a listener using spec.host equals to backend-ha, then edits the listener and changes its value to backend.
Check that a new service named backend is created, but the old one, named backend-ha was not removed
How To Reproduce
Create two skupper sites
Create an accessgrant and an accesstoken, establish the connection
Deploy a workload ( backend ) in one site
Create the proper connector and listener for the service/workload
From the listener definition :
spec:
host: backend-ha
services Created:
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S)
backend-ha ClusterIP X.X.X.X <none> 8080/TCP
Edit the listener and change the spec.host field.
This should start the creation of a new service, and also remove the old service
New host address in the listener definition :
spec:
host: backend
The new service is created as expected, but the old one remains untouched
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S)
backend ClusterIP X.X.X.X <none> 8080/TCP
backend-ha ClusterIP Y.Y.Y.Y <none> 8080/TCP
Expected behavior
The new service should be created and the old one should be removed
Environment details
The text was updated successfully, but these errors were encountered: