Giter Site home page Giter Site logo

Comments (4)

fjogeleit avatar fjogeleit commented on July 19, 2024

Hey, thanks for your request, I will have a look on it when I find some time but it can take a bit.

from policy-reporter.

fjogeleit avatar fjogeleit commented on July 19, 2024

@yuriydzobak I opened a PR for the core app, can you check if the feature set is fine for your use case?

from policy-reporter.

fjogeleit avatar fjogeleit commented on July 19, 2024

Summary:

  • You can configure global HTTP BasicAuthentication via Helm:
    • Username/Password can configured directly or as existing secret with username / password keys
    • The Authentication is applied to REST APIs and metrics of the Core App and KyvernoPlugin (if enabled)
    • The Authorization header will be set in the Policy Reporter UI automatically
      • External Cluster configuration also supports secretRef where you can set username / password as well as the API endpoints (api, kyvernoApi) and ssl configuration (skipTLS, certificate)
    • If monitoring enabled the basicAuth configuration will also configured on the ServiceMonitor
      • direct configuration will create a dedicated auth secret for ServiceMonitors
      • secretRef will reuse the existing secret for the ServiceMonitor
global:
  basicAuth:
    #username: "username"
    #password: "password"
    secretRef: auth-secret

Example external cluster:

ui:
  ...
  clusters:
  - name: Minikube
    api: http://policy-reporter:8080
    kyvernoApi: http://policy-reporter-kyverno-plugin:8080
    basicAuth:
      username: user
      password: password
  - name: Secret
    api: http://policy-reporter:8080
    kyvernoApi: http://policy-reporter-kyverno-plugin:8080
    secretRef: auth-secret
  - name: Unauthorized
    api: http://policy-reporter:8080
    kyvernoApi: http://policy-reporter-kyverno-plugin:8080

from policy-reporter.

fjogeleit avatar fjogeleit commented on July 19, 2024

Hey @yuriydzobak, just want to ask if you already had a chance to test the new version and if everything is working as expected.

from policy-reporter.

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.