Skip to content

ri0day/permission-manager

 
 

Repository files navigation

Permission manager

original - https://github.com/sighupio/permission-manager

Installation

this guide refer to installing the permission manager on a running cluster

Requirements

  • Create the Namespace
kubectl create namespace permission-manager
  • Create a secret with this content and update acordingly
---
apiVersion: v1
kind: Secret
metadata:
  name: permission-manager
  namespace: permission-manager
type: Opaque
stringData:
  PORT: "4000" # port where server is exposed
  CLUSTER_NAME: "my-cluster" # name of the cluster to use in the generated kubeconfig file
  CONTROL_PLANE_ADDRESS: "https://172.17.0.3:6443" # full address of the control plane to use in the generated kubeconfig file
  BASIC_AUTH_PASSWORD: "changeMe" # password used by basic auth (username is `admin`)

Deploy

  • Then apply:
kubectl apply -f https://github.com/billyen2012/permission-manager/releases/download/v1.0.0-custom-build/crd.yml
kubectl apply -f https://github.com/billyen2012/permission-manager/releases/download/v1.0.0-custom-build/seed.yml
kubectl apply -f https://github.com/billyen2012/permission-manager/releases/download/v1.0.0-custom-build/deploy.yml

Basic auth

the username is admin the password is mounted as a secret BASIC_AUTH_PASSWORD

Visit the application

kubectl port-forward svc/permission-manager 4000 --namespace permission-manager

the application can now be accessed by http://localhost:4000

Change Logs

07/11/2022

  • fix certificaiton and token bug
  • update to assign token through Secret with type kubernetes.io/service-account-token

07/13/2022

  • enhance frontend ui

About

Permission Manager is a project that brings sanity to Kubernetes RBAC and Users management, Web UI FTW

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 66.6%
  • Go 21.1%
  • JavaScript 3.7%
  • Shell 3.2%
  • Makefile 2.1%
  • Mustache 1.2%
  • Other 2.1%