Skip to content

Commit

Permalink
fix: Remove unnecessary tls_config and bearer_token_file from kubedns…
Browse files Browse the repository at this point in the history
… scrape config

Signed-off-by: Jack Baldry <[email protected]>
  • Loading branch information
jdbaldry committed Feb 1, 2021
1 parent 277897a commit 7580ce4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions prometheus-ksonnet/lib/prometheus-config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -270,12 +270,6 @@
},
}],

tls_config: {
ca_file: '/var/run/secrets/kubernetes.io/serviceaccount/ca.crt',
insecure_skip_verify: $._config.prometheus_insecure_skip_verify,
},
bearer_token_file: '/var/run/secrets/kubernetes.io/serviceaccount/token',

relabel_configs: [

// Scrape only kube-dns.
Expand Down

0 comments on commit 7580ce4

Please sign in to comment.