Skip to content

Commit d7f4618

Browse files
smiratalos-bot
authored andcommitted
fix: protect metrics-addr by default
As we don't deploy kube-rbac-proxy, protect metrics-addr by binding to the localhost. Signed-off-by: Andrey Smirnov <[email protected]>
1 parent 7b963e1 commit d7f4618

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/manager/manager.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ spec:
1919
- command:
2020
- /manager
2121
args:
22+
- --metrics-addr=127.0.0.1:8080
2223
- --enable-leader-election
2324
image: controller:latest
2425
imagePullPolicy: Always

0 commit comments

Comments
 (0)