Skip to content

Commit f529dab

Browse files
committed
fix metrics bind address configuration
1 parent 808108a commit f529dab

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ func main() {
131131
Scheme: scheme,
132132
Metrics: metricsserver.Options{
133133
BindAddress: cfg.ControllerManager.Metrics.BindAddress,
134+
FilterProvider: filters.WithAuthenticationAndAuthorization,
134135
SecureServing: true,
135136
TLSOpts: tlsOpts,
136-
FilterProvider: filters.WithAuthenticationAndAuthorization,
137137
},
138138
WebhookServer: webhook.NewServer(webhook.Options{
139139
TLSOpts: tlsOpts,

config/default/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ data:
1010
health:
1111
bindAddress: ":8081"
1212
metrics:
13-
bindAddress: "127.0.0.1:8443"
13+
bindAddress: ":8443"
1414
leaderElection: true

config/standalone/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ data:
1010
health:
1111
bindAddress: ":8081"
1212
metrics:
13-
bindAddress: "127.0.0.1:8443"
13+
bindAddress: ":8443"
1414
leaderElection: true

0 commit comments

Comments
 (0)