Skip to content

Fix doc mistakes and remove unused test variables #252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions docs/gateway-api-compatibility.md.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,11 @@ Fields:
* `headers` - partially supported. Only `Exact` type.
* `queryParams` - partially supported. Only `Exact` type.
* `method` - supported.
<<<<<<< HEAD
* `filters`
* `type` - supported.
* `requestRedirect` - supported except for the experimental `path` field. If multiple filters with `requestRedirect` are configured, NGINX Kubernetes Gateway will choose the first one and ignore the rest.
* `requestHeaderModifier`, `requestMirror`, `urlRewrite`, `extensionRef` - not supported.
* `backendRefs` - partially supported. Only a single backend ref without support for `weight`. Backend ref `filters` are not supported. NGINX Kubernetes Gateway will use the IP of the Service as a backend, not the IPs of the corresponding Pods. Watching for Service updates is not supported.
=======
* `filters` - not supported.
* `backendRefs` - partially supported. Only a single backend ref without support for `weight`. Backend ref `filters` are not supported.
>>>>>>> 1697a08... Add support for dynamic upstreams
* `status`
* `parents`
* `parentRef` - supported.
Expand Down
5 changes: 1 addition & 4 deletions internal/nginx/config/generator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,7 @@ func TestGenerateForDefaultServers(t *testing.T) {

func TestGenerateHTTPServers(t *testing.T) {
const (
backendAddr = "http://10.0.0.1:80"
certPath = "/etc/nginx/secrets/cert"
http = false
https = true
certPath = "/etc/nginx/secrets/cert"
)

hr := &v1beta1.HTTPRoute{
Expand Down