Skip to content

Add new section for configuring CORS in NGF#1735

Open
dhurley wants to merge 1 commit intongf-release-2.5from
add-ngf-cors-support
Open

Add new section for configuring CORS in NGF#1735
dhurley wants to merge 1 commit intongf-release-2.5from
add-ngf-cors-support

Conversation

@dhurley
Copy link
Contributor

@dhurley dhurley commented Feb 18, 2026

Proposed changes

Checklist

Before sharing this pull request, I completed the following checklist:

Footnotes

  1. Potentially sensitive information includes personally identify information (PII), authentication credentials, and live URLs. Refer to the style guide for guidance about placeholder content.

@dhurley dhurley requested a review from a team as a code owner February 18, 2026 13:31
@github-actions github-actions bot added documentation Improvements or additions to documentation product/ngf Issues related to NGINX Gateway Fabric labels Feb 18, 2026
@github-actions
Copy link

Deploy Preview will be available once build job completes!

Name Link
😎 Deploy Preview https://frontdoor-test-docs.nginx.com/previews/docs/1735/

EOF
```

To confirm the application pods are availble, run `kubectl get`:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To confirm the application pods are availble, run `kubectl get`:
To confirm the application pod is available, run `kubectl get`:

Confirm the Gateway was assigned an IP address and reports a `Programmed=True` status with `kubectl describe`:

```shell
kubectl describe gateways.gateway.networking.k8s.io gateway | grep "Addresses:" -A2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the previous line it says to check the status, but this command is going to filter that out.


## Deploy a HTTPRoute with the HTTPCORSFilter

In this example, the filter is applied to the `/coffee` path: run the following YAML with `kubectl apply`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
In this example, the filter is applied to the `/coffee` path: run the following YAML with `kubectl apply`
In this example, the filter is applied to the `/coffee` path. Run the following command to apply the route:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation product/ngf Issues related to NGINX Gateway Fabric

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments