Failed to create LokiStack due to failed to call webhook vlokistack.loki.grafana.com

Solution Verified - Updated -

Issue

  • While creating LokiStack custom resource, below error is streamed:

    Error "failed calling webhook "vlokistack.loki.grafana.com": failed to call webhook: Post "https://loki-operator-controller-manager-service.openshift-operators-redhat.svc:443/validate-loki-grafana-com-v1-lokistack?timeout=10s": x509: certificate signed by unknown authority" for field "undefined"
    
  • After installing Loki Operator, LokiStack custom resource failed to create because of above error.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat OpenShift Logging
    • 5
  • Loki Operator
    • 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content