openstack-helm-infra/prometheus/templates
Phil Sphicas 5d8cf965c1 Prometheus: Allow input of TLS client creds in values.yaml
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
2020-07-31 16:31:52 +00:00
..
bin Add user account to be used for federated metric collection. 2020-07-14 13:33:35 +00:00
utils Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
configmap-bin.yaml Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
configmap-etc.yaml Enable yamllint rules for templates 2020-06-17 13:13:53 -05:00
ingress-prometheus.yaml Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
job-image-repo-sync.yaml Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
network_policy.yaml Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
pod-helm-tests.yaml Add missing security context to promethues and postgresql pods/containers 2020-07-07 21:20:36 +00:00
secret-ingress-tls.yaml Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
secret-prometheus.yaml Add user account to be used for federated metric collection. 2020-07-14 13:33:35 +00:00
secret-tls-configs.yaml Prometheus: Allow input of TLS client creds in values.yaml 2020-07-31 16:31:52 +00:00
service-ingress-prometheus.yaml Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
service.yaml Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
statefulset.yaml Prometheus: Allow input of TLS client creds in values.yaml 2020-07-31 16:31:52 +00:00