Skip to content
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
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Follow our [Installation Instructions](README.md#run-nginx-gateway) to get the N
* The internal code is found at `internal/`
* Build files for Docker are found under `build/`
* Deployment yaml files are found at `deploy/`
* External APIs, clients, and SDKs can be found under `pkg/`
* We use [Go Modules](https://github.com/golang/go/wiki/Modules) for managing dependencies.
* We use [Ginkgo](https://onsi.github.io/ginkgo/) and [Gomega](https://onsi.github.io/gomega/) for our BDD style unit tests.

Expand Down
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,6 @@ You can deploy NGINX Kubernetes Gateway on an existing Kubernetes 1.16+ cluster.
```
kubectl apply -k "github.com/kubernetes-sigs/gateway-api/config/crd?ref=v0.4.2"
```

1. Install the NGINX Kubernetes Gateway CRDs:

```
kubectl apply -f deploy/manifests/crds
```

1. Deploy the NGINX Kubernetes Gateway:

Expand Down
17 changes: 0 additions & 17 deletions internal/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,13 @@ import (

"github.com/nginxinc/nginx-kubernetes-gateway/internal/config"
"github.com/nginxinc/nginx-kubernetes-gateway/internal/events"
gw "github.com/nginxinc/nginx-kubernetes-gateway/internal/implementations/gateway"
gc "github.com/nginxinc/nginx-kubernetes-gateway/internal/implementations/gatewayclass"
gcfg "github.com/nginxinc/nginx-kubernetes-gateway/internal/implementations/gatewayconfig"
hr "github.com/nginxinc/nginx-kubernetes-gateway/internal/implementations/httproute"
svc "github.com/nginxinc/nginx-kubernetes-gateway/internal/implementations/service"
ngxcfg "github.com/nginxinc/nginx-kubernetes-gateway/internal/nginx/config"
"github.com/nginxinc/nginx-kubernetes-gateway/internal/nginx/file"
ngxruntime "github.com/nginxinc/nginx-kubernetes-gateway/internal/nginx/runtime"
"github.com/nginxinc/nginx-kubernetes-gateway/internal/state"
"github.com/nginxinc/nginx-kubernetes-gateway/internal/status"
nginxgwv1alpha1 "github.com/nginxinc/nginx-kubernetes-gateway/pkg/apis/gateway/v1alpha1"
"github.com/nginxinc/nginx-kubernetes-gateway/pkg/sdk"
)

Expand All @@ -34,7 +30,6 @@ var scheme = runtime.NewScheme()
func init() {
// TO-DO: handle errors returned by the calls bellow
_ = gatewayv1alpha2.AddToScheme(scheme)
_ = nginxgwv1alpha1.AddToScheme(scheme)
_ = apiv1.AddToScheme(scheme)
}

Expand All @@ -55,18 +50,6 @@ func Start(cfg config.Config) error {
return fmt.Errorf("cannot build runtime manager: %w", err)
}

err = sdk.RegisterGatewayController(mgr, gw.NewGatewayImplementation(cfg))
if err != nil {
return fmt.Errorf("cannot register gateway implementation: %w", err)
}
err = sdk.RegisterGatewayClassController(mgr, gc.NewGatewayClassImplementation(cfg))
if err != nil {
return fmt.Errorf("cannot register gatewayclass implementation: %w", err)
}
err = sdk.RegisterGatewayConfigController(mgr, gcfg.NewGatewayConfigImplementation(cfg))
if err != nil {
return fmt.Errorf("cannot register gatewayconfig implementation: %w", err)
}
err = sdk.RegisterHTTPRouteController(mgr, hr.NewHTTPRouteImplementation(cfg, eventCh))
if err != nil {
return fmt.Errorf("cannot register httproute implementation: %w", err)
Expand Down