Allow internal service URLs for integrations
Configure an allowlist so that automation orchestrator accepts integration endpoints that use internal OpenShift service URLs.
Before you begin
- You have
ocCLI access to the OpenShift cluster where automation orchestrator is deployed. - You have permission to modify Deployment resources in the automation orchestrator namespace.
- You know the internal service hostnames for Automation Gateway and any other integration endpoints.
About this task
When automation orchestrator runs on the same OpenShift cluster as its integration endpoints, any integration—including Ansible Automation Platform, an LLM provider, or MCP server integrations—can use internal service URLs with .svc hostnames. These hostnames resolve to private cluster addresses that automation orchestrator rejects by default.
If a connection test fails with the following error, you must add the internal hostnames to an allowlist:
Connection test failed
base_url must not resolve to a private, reserved, or cloud metadata address.Configure the APP_INTEGRATION_URL_ALLOWED_HOSTS environment variable to specify the internal hostnames that automation orchestrator must accept.
Procedure
What to do next
Important:
- Apply the setting to all three deployments. If you set the environment variable on only the backend deployment, integration connection tests succeed but workflow executions can fail because workers process integration requests independently.
- Operator reconciliation can overwrite manual changes. The automation orchestrator operator manages these deployments. Operator upgrades, reconciliation cycles, or redeployments can remove environment variables that you set directly on a Deployment resource. After an operator upgrade, verify that the
APP_INTEGRATION_URL_ALLOWED_HOSTSvariable is still configured. - Keep the allowlist narrow. Add only the specific hostnames that your integrations require. Do not use wildcard entries. A narrow allowlist reduces the risk of unintended access to internal services.