Loading
Ongoing maintenance for Salesforce HelpRead More
The Trailblazer Community is now read-only Read More

RTF Application Ingress Path shows app-name After Migration to HTTPRoute templates

Publish Date: Oct 30, 2026
Description

After you migrate Runtime Fabric (RTF) from Ingress templates to an HTTPRouteTemplate (Kubernetes Gateway API, for example NGINX Gateway Fabric), some applications show a Running status but cannot be reached.

- The generated HTTPRoute has a path match of PathPrefix /app-name.
- Runtime Manager shows the public URL as https://<domain>/app-name.
- Other applications that use the same template work. One application can fail in one environment and work in another.
- A restart does not fix the issue.

To find the affected routes, run:

```bash
kubectl get httproute -A -o 'custom-columns=NAMESPACE:.metadata.namespace,NAME:.metadata.name,PATH:.spec.rules[*].matches[*].path.value' | grep /app-name
```

This command shows only routes that RTF already created. An application that is not yet on the HTTPRouteTemplate (not restarted or redeployed since the migration) does not appear.

To check the stored path of an application, open the application in Runtime Manager, select Ingress, and check the Path field.

 

CAUSE

Legacy RTF Ingress templates replace the string app-name with the application name. HTTP route templates (HTTPRouteTemplate) use placeholders such as {{ .ApplicationName }}. For HTTP route templates, Runtime Manager does not replace a bare app-name string. If an application is deployed or redeployed with app-name in its public URL path, RTF stores that string as literal text.

The HTTPRouteTemplate builds the route from the stored path. In a typical template, the match is PathPrefix {{ .Path }}, and {{ .Path }} is the path value from the public endpoint of the application deployment. The route is created with the literal path /app-name.

The public URL path is set for each application in each environment. It comes from Runtime Manager or from a CI/CD deployment configuration, for example the publicUrl parameter of the Mule Maven plugin (see Deploy to Runtime Fabric in the Mule Maven plugin documentation). Only applications whose stored path contains app-name are affected. A restart re-renders the route from the same stored value, so a restart does not fix it. A redeploy with a corrected path does.

Note: If Ingress templates and HTTPRoute templates have the same base endpoints, the HTTPRoute template takes precedence. The Ingress template stays as a fallback. See the FAQ in Configuring Ingress with HTTP Route-Template Custom Resource in Runtime Fabric linked below.

Resolution

Option 1: Correct the public URL path of each affected application

1. In Anypoint Runtime Manager, open the affected application.
2. Select Ingress.
3. In the Path field, replace /app-name with /{{ .ApplicationName }} or with the real application name.
4. Redeploy the application. A restart is not enough.
5. For an application deployed with CI/CD, find where the pipeline sets the public URL. Replace app-name with the real application name. Then trigger a deployment.

The documentation describes {{ .ApplicationName }} for Runtime Manager. It does not state that a CI/CD or API deployment resolves it. Test one non-production application first. If the route still shows the literal placeholder, set the public URL in the pipeline to the real application name.

Option 2: Change the path match in your HTTPRouteTemplate

You manage the HTTPRouteTemplate. Use this option only if every application must use its own name as the path. In the HTTPRoute manifest under the resources section of the template, replace {{ .Path }} with /{{ .ApplicationName }}:

```yaml
rules:
  - matches:
      - path:
          type: PathPrefix
          value: /{{ .ApplicationName }}
```

Consider these limits:
- The route ignores any custom path that an application sets in its public URL.
- Runtime Manager can still show /app-name as the public URL.
- Existing HTTPRoutes do not change when you change the template. Redeploy each affected application from Runtime Manager or from your CI/CD pipeline.

Verify the fix

1. Run the following command and confirm that the path value is the application name:

```bash
kubectl get httproute <application-name> -n <app-namespace> -o yaml
```

2. Send a test request to the application endpoint.

PREVENTION

Before you apply an HTTPRouteTemplate in another environment, check the stored public URL path of each application for app-name. Redeploy the affected applications with a corrected path first. A restart re-renders the route from the stored path, so an application that you restart first gets the /app-name route. After the fix, restart or redeploy the other applications.

APPLIES TO
- Anypoint Runtime Fabric (RTF) on self-managed Kubernetes
- Kubernetes Gateway API (for example, NGINX Gateway Fabric)
- HTTPRouteTemplate custom resource

 

Additional Resources

RELATED DOCUMENTATION
- Configuring Ingress with HTTP Route-Template Custom Resource in Runtime Fabric: https://docs.mulesoft.com/runtime-fabric/latest/configure-ingress-http-resource
- Basic Configuration of Gateway API with NGINX Gateway Fabric and HTTPRouteTemplate for Runtime Fabric: https://help.salesforce.com/s/articleView?id=005239352&type=1

Knowledge Article Number

005465799

 
Loading
Salesforce Help | Article