add TLS auth for accessing Prometheus

This commit is contained in:
Iya Lang 2020-12-15 21:09:48 +01:00
parent e0ddb886a7
commit 808bd76c5a
9 changed files with 352 additions and 4 deletions

18
cmd/adapter/testdata/kubeconfig-error vendored Normal file
View file

@ -0,0 +1,18 @@
apiVersion: v1
kind: Config
clusters:
- name: test
cluster:
certificate-authority-data: abcde12345
server: test.test
contexts:
- name: test
context:
cluster: test
user: test-user
current-context: test
users:
- name: test-user
user:
token: abcde12345