Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
a39ae8ee
Commit
a39ae8ee
authored
Jan 19, 2018
by
Manuel de Brito Fontes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show all the annotations in ingress rules
parent
f9bb978a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
describe.go
pkg/printers/internalversion/describe.go
+1
-6
No files found.
pkg/printers/internalversion/describe.go
View file @
a39ae8ee
...
@@ -2074,12 +2074,7 @@ func describeIngressTLS(w PrefixWriter, ingTLS []extensions.IngressTLS) {
...
@@ -2074,12 +2074,7 @@ func describeIngressTLS(w PrefixWriter, ingTLS []extensions.IngressTLS) {
func
describeIngressAnnotations
(
w
PrefixWriter
,
annotations
map
[
string
]
string
)
{
func
describeIngressAnnotations
(
w
PrefixWriter
,
annotations
map
[
string
]
string
)
{
w
.
Write
(
LEVEL_0
,
"Annotations:
\n
"
)
w
.
Write
(
LEVEL_0
,
"Annotations:
\n
"
)
for
k
,
v
:=
range
annotations
{
for
k
,
v
:=
range
annotations
{
if
!
strings
.
HasPrefix
(
k
,
"ingress"
)
{
w
.
Write
(
LEVEL_1
,
"%v:
\t
%s
\n
"
,
k
,
v
)
continue
}
parts
:=
strings
.
Split
(
k
,
"/"
)
name
:=
parts
[
len
(
parts
)
-
1
]
w
.
Write
(
LEVEL_1
,
"%v:
\t
%s
\n
"
,
name
,
v
)
}
}
return
return
}
}
...
...
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