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.