Skip to content

Commit

Permalink
Update the default value of the bearer_token parameter (#10708)
Browse files Browse the repository at this point in the history
to send the bearer token only to secure https endpoints and not to clear text http endpoints.
  • Loading branch information
L3n41c committed Dec 29, 2021
1 parent 82a3e20 commit 3e1f71e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions kube_controller_manager/assets/configuration/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,15 @@ files:
against the APIServer to retrieve metrics.
enabled: true
value:
type: boolean
example: true
example: tls_only
display_default: false
anyOf:
- type: boolean
- type: string
- name: ssl_verify
description: Used to verify self signed certificates.
enabled: true
value:
type: boolean
example: false
display_default: true
display_default: true
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ instances:
#
# prometheus_url: http://%%host%%:10252/metrics

## @param bearer_token_auth - boolean - optional - default: false
## @param bearer_token_auth - boolean or string - optional - default: false
## Used if you are using RBACs and need the Agent to authenticate
## against the APIServer to retrieve metrics.
#
bearer_token_auth: true
bearer_token_auth: tls_only

## @param ssl_verify - boolean - optional - default: true
## Used to verify self signed certificates.
Expand Down

0 comments on commit 3e1f71e

Please sign in to comment.