Skip to content

Commit 7202c50

Browse files
authored
fix(manifests): remove hardcoded preprod hostname from mpp-openshift route (#1157)
## Summary - Removes the hardcoded `spec.host` field from `components/manifests/overlays/mpp-openshift/ambient-api-server-route.yaml` - The hardcoded value (`ambient-api-server-ambient-code--runtime-int.internal-router-shard.mpp-w2-preprod.cfln.p1.openshiftapps.com`) pointed at the preprod cluster ingress, causing the route to advertise the wrong hostname when deployed to other environments (e.g., dev) - OpenShift's router will now auto-assign the correct hostname based on the cluster's router configuration ## Test plan - [ ] Verify route hostname auto-assigns correctly after applying to dev cluster - [ ] Confirm `oc get route ambient-api-server -n ambient-code--ambient-s0` shows the correct dev hostname Jira: [RHOAIENG-56570](https://redhat.atlassian.net/browse/RHOAIENG-56570) 🤖 Generated with [Claude Code](https://claude.ai/code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated the ambient API server route configuration to use dynamic host assignment instead of a fixed hostname. API functionality and security settings remain unchanged. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
2 parents 89d42d4 + 6dc6023 commit 7202c50

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

components/manifests/overlays/mpp-openshift/ambient-api-server-route.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ metadata:
77
component: api
88
shard: internal
99
spec:
10-
host: ambient-api-server-ambient-code--runtime-int.internal-router-shard.mpp-w2-preprod.cfln.p1.openshiftapps.com
1110
to:
1211
kind: Service
1312
name: ambient-api-server

0 commit comments

Comments
 (0)