feat: Add configurable Ingress hostname template for non-OpenShift cluster#1757
feat: Add configurable Ingress hostname template for non-OpenShift cluster#1757osmman wants to merge 1 commit into
Conversation
ⓘ You've reached your Qodo monthly free-tier limit. Reviews pause until next month — upgrade your plan to continue now, or link your paid account if you already have one. |
14ad068 to
7394be9
Compare
|
/agentic_review |
Review Summary by Qodo(Agentic_describe updated until commit 4e3f148)Add configurable Ingress hostname template for non-OpenShift clusters
WalkthroughsDescription• Add configurable Ingress hostname template for non-OpenShift clusters • Default template "%[1]s.local" preserves existing behavior • CI configured with "%[1]s.%[2]s.traefik.me" for namespace-unique hostnames • Eliminates Ingress hostname collisions in e2e test namespaces Diagramflowchart LR
A["CLI Flag & Env Var"] -->|"--ingress-host-template"| B["Config Variable"]
B -->|"IngressHostTemplate"| C["CalculateHostname Function"]
C -->|"fmt.Sprintf"| D["Dynamic Hostname"]
D -->|"Service.Namespace.Domain"| E["Ingress Resource"]
File Changes1. cmd/main.go
|
Code Review by Qodo
Context used 1. Unvalidated hostname template
|
7394be9 to
4e3f148
Compare
|
Persistent review updated to latest commit 4e3f148 |
CI Feedback 🧐A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
…usters Introduces --ingress-host-template flag (INGRESS_HOST_TEMPLATE env var) to control default Ingress hostnames on non-OpenShift clusters. The default "%[1]s.local" preserves existing behavior. CI is configured with "%[1]s.%[2]s.127.0.0.1.nip.io" to produce namespace-unique hostnames, eliminating Ingress hostname collisions between e2e test namespaces that caused Konflux pipeline timeouts. Refs: SECURESIGN-3862 Signed-off-by: Tomas Turek <tturek@redhat.com>
4e3f148 to
9fd8d69
Compare
|
Failure of Validate SecureSign / Test with custom operator installation (pull_request) is known flaky test |

Introduces --ingress-host-template flag (INGRESS_HOST_TEMPLATE env var) to control default Ingress hostnames on non-OpenShift clusters. The default "%[1]s.local" preserves existing behavior. CI is configured with "%[1]s.%[2]s.traefik.me" to produce namespace-unique hostnames, eliminating Ingress hostname collisions between e2e test namespaces that caused Konflux pipeline timeouts.
Refs: SECURESIGN-3862