5d8cf965c1
Some scrape targets require the use of TLS client certificates, which are specified as filenames as part of the tls_config. This change allows these client certs and keys to be provided, stores them in a secret, and mounts them in the pod under /tls_configs. Example: tls_configs: kubernetes-etcd: ca.pem: | -----BEGIN CERTIFICATE----- -----END CERTIFICATE----- crt.pem: | -----BEGIN CERTIFICATE----- -----END CERTIFICATE----- key.pem: | -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- conf: prometheus: scrape_configs: template: | scrape_configs: - job_name: kubernetes-etcd scheme: https tls_config: ca_file: /tls_configs/kubernetes-etcd.ca.pem cert_file: /tls_configs/kubernetes-etcd.cert.pem key_file: /tls_configs/kubernetes-etcd.key.pem Change-Id: I963c65dc39f1b5110b091296b93e2de9cdd980a4 |
||
---|---|---|
.. | ||
bin | ||
utils | ||
configmap-bin.yaml | ||
configmap-etc.yaml | ||
ingress-prometheus.yaml | ||
job-image-repo-sync.yaml | ||
network_policy.yaml | ||
pod-helm-tests.yaml | ||
secret-ingress-tls.yaml | ||
secret-prometheus.yaml | ||
secret-tls-configs.yaml | ||
service-ingress-prometheus.yaml | ||
service.yaml | ||
statefulset.yaml |