mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 01:38:10 +00:00
Fix serving cert path config in deployment spec
The volume was mounted at `/var/run/serving/certs` but the container was sending an arg to look at `/var/run/serving-cert` (missing the trailing `s`)
This commit is contained in:
parent
b9e8dd74bf
commit
6e4d4a4a93
1 changed files with 2 additions and 2 deletions
|
|
@ -245,8 +245,8 @@ spec:
|
||||||
- --secure-port=6443
|
- --secure-port=6443
|
||||||
- --logtostderr=true
|
- --logtostderr=true
|
||||||
# use your serving certs
|
# use your serving certs
|
||||||
- --tls-cert-file=/var/run/serving-cert/tls.crt
|
- --tls-cert-file=/var/run/serving-certs/tls.crt
|
||||||
- --tls-private-key-file=/var/run/serving-cert/tls.key
|
- --tls-private-key-file=/var/run/serving-certs/tls.key
|
||||||
# Prometheus is running in the same pod, so you can say your Prometheus
|
# Prometheus is running in the same pod, so you can say your Prometheus
|
||||||
# is at `localhost`
|
# is at `localhost`
|
||||||
- --prometheus-url=http://localhost:9090
|
- --prometheus-url=http://localhost:9090
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue