-
Notifications
You must be signed in to change notification settings - Fork 28
Description
📜 Description
When offboarding a namespace from a Slice and then deleting that Slice. Suppose I immediately create a new Slice that re‑uses the same application namespace (without first deleting the namespace). In that case, the new ServiceExport and ServiceImport appear to be created, but ServiceImport .status.endpoints is empty. Deleting the namespace before re-onboarding it fixes the problem, but users shouldn’t have to manually prune the namespace in between Slice lifecycles.
👟 Reproduction steps
-
Create a Slice (slice-a) that includes application namespace: app-ns on worker cluster(s).
-
Verify ServiceExport and ServiceImport status.endpoints are populated.
-
Offboard app-ns and delete slice-a.
-
Do not delete the app-ns namespace itself.
-
Create a new Slice (slice-b) that again includes the application namespace: app-ns.
-
Observe that ServiceImport CR are present in worker clusters, but their status. endpoints array is empty.
👍 Expected behavior
When a namespace is offboarded and then re‑onboarded without namespace deletion, the worker operator should:
- Reconcile endpoints for the newly created ServiceExport so that .status.endpoints are correctly set.
👎 Actual Behavior
-
New ServiceImport is created, but their .status.endpoints remain empty.
-
The only workaround is to delete the entire namespace and recreate it.
🐚 Relevant log output
Version
No response
🖥️ What operating system are you seeing the problem on?
No response
✅ Proposed Solution
No response
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find any similar issue
Code of Conduct
- I agree to follow this project's Code of Conduct