Code Monkey home page Code Monkey logo

helm-keycloak-gatekeeper's Introduction

Helm chart for Keycloak Gatekeeper

Description

Secure applications by putting light weight keycloak gatekeeper in front of them.

Setup tiller

Follow the link

Setup Helm

Download helm from here.

# set tiller namespace
export TILLER_NAMESPACE=<TILLER_NAMESPACE>
# set application namespace
export NAMESPACE=<NAMESPACE>

Install chart

dry run

helm install --name keycloak-gatekeeper . --dry-run --debug --namespace $NAMESPACE

install

helm install --name keycloak-gatekeeper . --namespace $NAMESPACE

Upgrade chart

helm upgrade keycloak-gateekeeper . --install --namespace $NAMESPACE

Delete chart

helm delete --purge keycloak-gateekeeper

configuration

The values.yaml contains the configuration for keycloak-gatekeeper:

  • podAnnotations: list of additional pod annotations
  • podLabels: list of additional pod labels
  • roles: list of Realm roles. The user is authorized when he is part at least of one Realm role.

App redirection

Keycloak gatekeeper will redirect the final users to an application using internal OpenShift service (e.g. securing Prometheus service)

app:
  # Application name
  name: prometheus
  service:
    ## OpenShift Service name
    name: prometheus.<NAMESPACE>.svc
    ## OpenShift Service port
    port: 9090

Monitoring

Monitoring can be set up to get some statistics based on the return code of the requests of keycloak gatekeeper. To enable that, add podAnnotations as described in values.yaml

  podAnnotations:
    prometheus.io/path: "oauth/metrics"
    prometheus.io/port: "3000"
    prometheus.io/scrape: "true"

See here for the documentation.

Known issues

TBD

helm-keycloak-gatekeeper's People

Contributors

schen1 avatar

Watchers

 avatar

Forkers

ffacp

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.