Skip to content

Commit 413df59

Browse files
committed
test(kubernetes): pin that a disabled ingress addon renders nothing with hosts set
hosts with the addon disabled used to render the Ingress; the addon gate makes 'the addon is off' mean nothing renders. Pin the combination so the behaviour change reads as a decision. Assisted-By: Claude <[email protected]> Signed-off-by: Andrei Kvapil <[email protected]>
1 parent ecd8eeb commit 413df59

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎packages/apps/kubernetes/tests/ingress_proxied_gate_test.yaml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,16 @@ tests:
4747
asserts:
4848
- hasDocuments:
4949
count: 2
50+
51+
# Deliberate behaviour change pinned: hosts with the addon disabled used to
52+
# render the Ingress; "the addon is off" now means nothing renders at all.
53+
- it: renders nothing when hosts are set but the addon is disabled
54+
set:
55+
addons:
56+
ingressNginx:
57+
enabled: false
58+
exposeMethod: Proxied
59+
hosts: ["app.example.com"]
60+
asserts:
61+
- hasDocuments:
62+
count: 0

0 commit comments

Comments
 (0)