Skip to content

BUG/MAJOR: service: deep-copy cr-backend spec to fix cross-service server contamination#802

Open
cxfcxf wants to merge 1 commit into
haproxytech:masterfrom
cxfcxf:fix-backend-drifting
Open

BUG/MAJOR: service: deep-copy cr-backend spec to fix cross-service server contamination#802
cxfcxf wants to merge 1 commit into
haproxytech:masterfrom
cxfcxf:fix-backend-drifting

Conversation

@cxfcxf
Copy link
Copy Markdown
Contributor

@cxfcxf cxfcxf commented Apr 9, 2026

#795
we have same bug, this fix the bug

this cause way bigger issue since we run multiple backends with external mode.

the actually backend SRV would duplicate and override each other, its not really a drift but totally broke when pod ip gets changed on a rolling upgrade case

deepcopy would avoid this

the actually block that cause it
https://github.com/haproxytech/kubernetes-ingress/blob/master/pkg/service/service.go#L227-L238

@stale
Copy link
Copy Markdown

stale Bot commented May 10, 2026

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale Bot added the stale label May 10, 2026
@mdecalf
Copy link
Copy Markdown

mdecalf commented May 25, 2026

Can we expect it to be merged soon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants