Skip to content

Commit

Permalink
Merge branch 'main' into ubi8-image-patching
Browse files Browse the repository at this point in the history
  • Loading branch information
pdabelf5 authored Oct 1, 2024
2 parents b7c28c8 + 24782f1 commit f2a6818
Show file tree
Hide file tree
Showing 4 changed files with 174 additions and 127 deletions.
1 change: 1 addition & 0 deletions cmd/nginx-ingress/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ func main() {
DynClient: dynClient,
RestConfig: config,
ResyncPeriod: 30 * time.Second,
LoggerContext: ctx,
Namespace: watchNamespaces,
SecretNamespace: watchSecretNamespaces,
NginxConfigurator: cnf,
Expand Down
3 changes: 3 additions & 0 deletions internal/k8s/configuration_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
package k8s

import (
"context"
"testing"
"time"

"github.com/google/go-cmp/cmp"
nic_logger "github.com/nginxinc/kubernetes-ingress/internal/logger"
conf_v1 "github.com/nginxinc/kubernetes-ingress/pkg/apis/configuration/v1"
"github.com/nginxinc/kubernetes-ingress/pkg/apis/configuration/validation"
networking "k8s.io/api/networking/v1"
Expand All @@ -14,6 +16,7 @@ import (
func createTestConfiguration() *Configuration {
lbc := LoadBalancerController{
ingressClass: "nginx",
logger: nic_logger.LoggerFromContext(context.Background()),
}
isPlus := false
appProtectEnabled := false
Expand Down
Loading

0 comments on commit f2a6818

Please sign in to comment.