GithubHelp home page GithubHelp logo

Comments (6)

etsauer avatar etsauer commented on May 20, 2024

This is something we'll have to fix in our helm chart, but for now the proper workaround is to:

  1. Create an empty ConfigMap in the pelorus namespace:
apiVersion: v1
kind: ConfigMap
metadata:
  annotations:
    config.openshift.io/inject-trusted-cabundle: true
  name: cluster-ca-bundle
data:
  1. Add a volume and volumeMount to the prometheus/pelorus-prometheus resource in the pelorus namespace:
  ...
  containers:
    name: prometheus-proxy
    ...
    volumeMounts:
    ...
    - mountPath: /etc/pki/ca-trust/extracted/pem/
      name: prometheus-trusted-ca-bundle
      readOnly: true
  ...
  volumes:
  ...
  - configMap:
      items:
      - key: ca-bundle.crt
        path: tls-ca-bundle.pem
      name: prometheus-trusted-ca-bundle-39man1pbaa8jq
      optional: true
    name: prometheus-trusted-ca-bundle

References: https://docs.openshift.com/container-platform/4.4/networking/configuring-a-custom-pki.html#certificate-injection-using-operators_configuring-a-custom-pki

from pelorus.

etsauer avatar etsauer commented on May 20, 2024

This should fix the prometheus component, but since the thanos-sidecar container is added by the operator, we need to figure out how to control that

from pelorus.

kevin-anderson-redhat avatar kevin-anderson-redhat commented on May 20, 2024

Does the issue at the following link mean that the grafana-operator is not easily resolved? grafana/grafana-operator#190

from pelorus.

garethahealy avatar garethahealy commented on May 20, 2024

@robbbbh ; did you have to do this for our prev customer?

from pelorus.

redhat-cop-ci-bot avatar redhat-cop-ci-bot commented on May 20, 2024

@kevin-anderson-redhat no, I think there are ways to make it happen with grafana, its just the oauth container that needs it, and that config gets pretty customizable.

If you can try the above and give some feedback, we can try to help troubleshoot.

from pelorus.

kevin-anderson-redhat avatar kevin-anderson-redhat commented on May 20, 2024

@etsauer We were not able to get grafana to operate. Still getting an untrusted cert failure in the grafana-proxy container.

from pelorus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.