Skip to content

Prometheus cannot connect to /metrics HTTPS endpoint #709

Open
@d4l-adrian-castro

Description

@d4l-adrian-castro

Describe the bug
Prometheus cannot connect to /metrics HTTPS endpoint, throws "cannot validate certificate because it doesn't contain any IP SANs"

Expected behavior
Prometheus can connect to /metrics HTTPS endpoint.

Optional: To reproduce

  • Have Prometheus running on the same cluster as Connaisseur
  • Add the following configuration to Connaisseur:
connaisseur:
  deployment:
    annotations:
      prometheus.io/scrape: "true"
      prometheus.io/path: "/metrics"
      prometheus.io/port: "5000"
      prometheus.io/scheme: "https"
  ...

Optional: Versions (please complete the following information as relevant):

  • OS:
  • Kubernetes Cluster: v1.23.4
  • Notary Server: 0.6.1
  • Connaisseur: 2.6.1
  • Prometheus: quay.io/prometheus/prometheus:v2.34.0

Optional: Additional context
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions