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
819b5027
Commit
819b5027
authored
Nov 30, 2018
by
Jordan Liggitt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Surface help for insecure ports to explain how to disable
parent
1cd6ccb3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
deprecated_insecure_serving.go
...iserver/pkg/server/options/deprecated_insecure_serving.go
+4
-2
No files found.
staging/src/k8s.io/apiserver/pkg/server/options/deprecated_insecure_serving.go
View file @
819b5027
...
...
@@ -85,11 +85,13 @@ func (s *DeprecatedInsecureServingOptions) AddUnqualifiedFlags(fs *pflag.FlagSet
}
fs
.
IPVar
(
&
s
.
BindAddress
,
"address"
,
s
.
BindAddress
,
"
DEPRECATED: see --bind-address instead
."
)
"
The IP address on which to serve the insecure --port (set to 0.0.0.0 for all IPv4 interfaces and :: for all IPv6 interfaces)
."
)
fs
.
MarkDeprecated
(
"address"
,
"see --bind-address instead."
)
fs
.
Lookup
(
"address"
)
.
Hidden
=
false
fs
.
IntVar
(
&
s
.
BindPort
,
"port"
,
s
.
BindPort
,
"
DEPRECATED: see --secure-port instead
."
)
fs
.
IntVar
(
&
s
.
BindPort
,
"port"
,
s
.
BindPort
,
"
The port on which to serve unsecured, unauthenticated access. Set to 0 to disable
."
)
fs
.
MarkDeprecated
(
"port"
,
"see --secure-port instead."
)
fs
.
Lookup
(
"port"
)
.
Hidden
=
false
}
// ApplyTo adds DeprecatedInsecureServingOptions to the insecureserverinfo amd kube-controller manager configuration.
...
...
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