[Hawkular-dev] OpenShift agent - multiple identity for certs

Gareth Healy garethahealy at gmail.com
Sat Dec 24 07:45:13 EST 2016


Currently it seems you can only provide the agent configmap with the
identity field. But what i want to actually do, is provide this based on
the pods config map, i.e.:

data:
  hawkular-openshift-agent: |
    endpoints:
    - type: prometheus
      protocol: "https"
      port: 9779
      path: /metrics
      collection_interval_secs: 5
      metrics:
      - name: my-first-metric
        type: counter
    identity:
      cert_file: /var/run/secrets/client-crt/client.crt
      private_key_file: /var/run/secrets/client-key/client.key

The reason being, i might have multiple prometheus endpoints that have
different certs.

Is that possible? or planned for the future?

Cheers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hawkular-dev/attachments/20161224/5ba7a273/attachment.html 


More information about the hawkular-dev mailing list