Skip to content

Commit 4ae7fe5

Browse files
authored
Merge pull request #3791 from yowenter/feature/NGINXController_remove_annoations
- remove annotations in nginxcontroller struct
2 parents 7534cd5 + 24993f3 commit 4ae7fe5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

internal/ingress/controller/nginx.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ import (
4949

5050
"k8s.io/ingress-nginx/internal/file"
5151
"k8s.io/ingress-nginx/internal/ingress"
52-
"k8s.io/ingress-nginx/internal/ingress/annotations"
5352
"k8s.io/ingress-nginx/internal/ingress/annotations/class"
5453
ngx_config "k8s.io/ingress-nginx/internal/ingress/controller/config"
5554
"k8s.io/ingress-nginx/internal/ingress/controller/process"
@@ -133,9 +132,6 @@ func NewNGINXController(config *Configuration, mc metric.Collector, fs file.File
133132
config.DisableCatchAll)
134133

135134
n.syncQueue = task.NewTaskQueue(n.syncIngress)
136-
137-
n.annotations = annotations.NewAnnotationExtractor(n.store)
138-
139135
if config.UpdateStatus {
140136
n.syncStatus = status.NewStatusSyncer(status.Config{
141137
Client: config.Client,
@@ -221,8 +217,6 @@ Error loading new template: %v
221217
type NGINXController struct {
222218
cfg *Configuration
223219

224-
annotations annotations.Extractor
225-
226220
recorder record.EventRecorder
227221

228222
syncQueue *task.Queue

0 commit comments

Comments
 (0)