Skip to content

Commit

Permalink
fix: protect metrics-addr by default
Browse files Browse the repository at this point in the history
As we don't deploy kube-rbac-proxy, protect metrics-addr by binding to
the localhost.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
  • Loading branch information
smira authored and talos-bot committed May 17, 2021
1 parent 7b963e1 commit d7f4618
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ spec:
- command:
- /manager
args:
- --metrics-addr=127.0.0.1:8080
- --enable-leader-election
image: controller:latest
imagePullPolicy: Always
Expand Down

0 comments on commit d7f4618

Please sign in to comment.