Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
k8s-ingress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-ingress
Commits
650d0ab2
Commit
650d0ab2
authored
Oct 18, 2021
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the log message for ignoring Ingresses with a "foreign" IngressClass.
parent
30aabf11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
ingress.go
pkg/controller/ingress.go
+8
-2
No files found.
pkg/controller/ingress.go
View file @
650d0ab2
...
...
@@ -1333,11 +1333,17 @@ func (worker *NamespaceWorker) chkAddOrUpdateIng(
"implemented by viking: %v"
,
ing
.
Namespace
,
ing
.
Name
,
err
)
}
else
if
!
isViking
{
var
name
string
syncCounters
.
WithLabelValues
(
worker
.
namespace
,
"Ingress"
,
"Ignore"
)
.
Inc
()
if
ing
.
Spec
.
IngressClassName
!=
nil
{
name
=
*
ing
.
Spec
.
IngressClassName
}
else
{
name
=
"nil"
}
return
update
.
MakeNoop
(
"Ignoring Ingress %s/%s, "
+
"
Annotation '%v' absent or is not '%s'"
,
ing
.
Namespace
,
ing
.
Name
,
ingressClassKey
,
worker
.
ingClass
)
"
IngressClass '%s' does not specify '%s'"
,
ing
.
Name
space
,
ing
.
Name
,
name
,
worker
.
ingClass
)
}
return
worker
.
addOrUpdateIng
(
ing
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment