Commit 8050e6e
committed
fix(aws): set aws-load-balancer-scheme on public HCP router service
The AWS Load Balancer Controller (used on EKS) defaults to
scheme=internal when the aws-load-balancer-scheme annotation is not
set, while the in-tree AWS cloud provider (used on OpenShift) defaults
to internet-facing. This causes the public HCP router NLB to be
created as internal on EKS, making KAS and OAuth unreachable from
outside the VPC for PublicAndPrivate clusters.
Set the annotation explicitly on the public router service so it works
on both OpenShift and EKS management clusters. Also clean up mutually
exclusive annotations (aws-load-balancer-internal vs
aws-load-balancer-scheme) when switching between internal and external.
Signed-off-by: Claudio Busse <cbusse@redhat.com>
Commit-Message-Assisted-by: Claude (via Claude Code)1 parent 2fc8a13 commit 8050e6e
5 files changed
Lines changed: 31 additions & 1 deletion
File tree
- control-plane-operator/controllers/hostedcontrolplane
- infra
- testdata
- ingress
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1471 | 1471 | | |
1472 | 1472 | | |
1473 | 1473 | | |
1474 | | - | |
| 1474 | + | |
| 1475 | + | |
1475 | 1476 | | |
1476 | 1477 | | |
1477 | 1478 | | |
| |||
1493 | 1494 | | |
1494 | 1495 | | |
1495 | 1496 | | |
| 1497 | + | |
1496 | 1498 | | |
1497 | 1499 | | |
1498 | 1500 | | |
| |||
Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
| |||
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
59 | 80 | | |
60 | 81 | | |
61 | 82 | | |
| |||
0 commit comments