Skip to content

worker: prevent SSL policy update loop on shared load balancers#788

Merged
MustafaSaber merged 1 commit into
masterfrom
update-in-place
Apr 23, 2026
Merged

worker: prevent SSL policy update loop on shared load balancers#788
MustafaSaber merged 1 commit into
masterfrom
update-in-place

Conversation

@MustafaSaber

Copy link
Copy Markdown
Member

In #774, update LB in-place was introduced. However, it was also introducing the following bug

-> Ingress A has a custom SSL policy
-> Ingress B uses the default SSL policy
-> Since Ingress B doesn't have the annotation we will allow it through as
(ingress.HasSSLPolicyAnnotation && l.sslPolicy != ingress.SSLPolicy) doesn't apply
-> So we add both ingresses to LB then later override LB SSL policy with new ingress SSL policy (default one)
Later inSync will revert to the old SSL policy and we go into infinite loop.

Adding the new tag will help keep in-place updates, while blocking mismatch ingresses from landing on the same LB

In #774, update LB
in-place was introduced. However, it was also introducing the following bug

-> Ingress A has a custom SSL policy
-> Ingress B uses the default SSL policy
	-> Since Ingress B doesn't have the annotation we will allow it through as
        `(ingress.HasSSLPolicyAnnotation && l.sslPolicy != ingress.SSLPolicy)` doesn't apply
	-> So we add both ingresses to LB then later override LB SSL policy with new ingress SSL policy (default one)
Later `inSync` will revert to the old SSL policy and we go into infinite loop.

Adding the new tag will help keep in-place updates, while blocking mismatch ingresses from
landing on the same LB

Signed-off-by: Mustafa Abdelrahman <mustafa.abdelrahman@zalando.de>
@madumalt

Copy link
Copy Markdown
Contributor

👍

@MustafaSaber

Copy link
Copy Markdown
Member Author

fyi @lambertpandian

@MustafaSaber MustafaSaber merged commit 67572c6 into master Apr 23, 2026
13 checks passed
@MustafaSaber MustafaSaber deleted the update-in-place branch April 23, 2026 15:06
@lambertpandian

Copy link
Copy Markdown
Contributor

fyi @lambertpandian

Thanks for the fix and thanks for updating me.

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.

4 participants