Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
a9fcff88
Unverified
Commit
a9fcff88
authored
Oct 03, 2019
by
Matthew Fisher
Committed by
GitHub
Oct 03, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5561 from mumoshu/togglable-tiller-probe-endpoints
feat: tiller probing endpoints can be disabled
parents
59ea6888
926ec0ef
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
tiller.go
cmd/tiller/tiller.go
+7
-0
No files found.
cmd/tiller/tiller.go
View file @
a9fcff88
...
...
@@ -77,6 +77,7 @@ const (
var
(
grpcAddr
=
flag
.
String
(
"listen"
,
fmt
.
Sprintf
(
":%v"
,
environment
.
DefaultTillerPort
),
"address:port to listen on"
)
probeAddr
=
flag
.
String
(
"probe-listen"
,
fmt
.
Sprintf
(
":%v"
,
environment
.
DefaultTillerProbePort
),
"address:port to listen on for probes"
)
enableProbing
=
flag
.
Bool
(
"probe"
,
true
,
"enable probing over http"
)
enableTracing
=
flag
.
Bool
(
"trace"
,
false
,
"enable rpc tracing"
)
store
=
flag
.
String
(
"storage"
,
storageConfigMap
,
"storage driver to use. One of 'configmap', 'memory', 'sql' or 'secret'"
)
...
...
@@ -205,7 +206,9 @@ func start() {
logger
.
Printf
(
"Starting Tiller %s (tls=%t)"
,
version
.
GetVersion
(),
*
tlsEnable
||
*
tlsVerify
)
logger
.
Printf
(
"GRPC listening on %s"
,
*
grpcAddr
)
if
*
enableProbing
{
logger
.
Printf
(
"Probes listening on %s"
,
*
probeAddr
)
}
logger
.
Printf
(
"Storage driver is %s"
,
env
.
Releases
.
Name
())
logger
.
Printf
(
"Max history per release is %d"
,
*
maxHistory
)
...
...
@@ -225,6 +228,10 @@ func start() {
}()
go
func
()
{
if
!*
enableProbing
{
return
}
mux
:=
newProbesMux
()
// Register gRPC server to prometheus to initialized matrix
...
...
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