Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jasonrichardsmith/rbac-view
Visualize Kubernetes RBAC rules
https://github.com/jasonrichardsmith/rbac-view
kubernetes rbac-management
Last synced: 2 months ago
JSON representation
Visualize Kubernetes RBAC rules
- Host: GitHub
- URL: https://github.com/jasonrichardsmith/rbac-view
- Owner: jasonrichardsmith
- License: apache-2.0
- Created: 2018-07-14T06:45:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-11T12:03:19.000Z (over 4 years ago)
- Last Synced: 2024-11-02T07:05:13.488Z (2 months ago)
- Topics: kubernetes, rbac-management
- Language: Vue
- Homepage:
- Size: 405 KB
- Stars: 154
- Watchers: 3
- Forks: 13
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-repositories - jasonrichardsmith/rbac-view - Visualize Kubernetes RBAC rules (Vue)
README
[![Build Status](https://travis-ci.org/jasonrichardsmith/rbac-view.svg?branch=master)](https://travis-ci.org/jasonrichardsmith/rbac-view)
# RBAC View
![RBAC View Screenshot](img/screen.png?raw=true)
RBAC View is a tool to visualize your RBAC permissions.
## Current Status
This project is considered prerelease and is under active development.
## Install with Krew
You can install as a kubectl plugin by using [krew](https://github.com/GoogleContainerTools/krew)
```bash
kubectl krew install rbac-view
```## Building
From inside this repository...
If you have npm installed and a working Go environment you can run:
```bash
make build
```If not but you have Docker, you can run:
```bash
make builddocker
```At the end you should have a binary called rbac-view in the operating system specific folders under bin.
```
bin/linux/rbac-view
bin/windows/rbac-view
bin/darwin/rbac-view
```## Running
The binary currently only supports the following output modes, and renders based on access to a Kuberentes cluster.
- json to STDOUT
- HTML server```bash
./rbac-view --render html (default)
``````
./rbac-view --render json
```## Developing
### HTML Server Frontend
The web server serves up json representations and static assets compiled into the binary.
The static assets are generated utilizing npm and then compiled into the Go binary using [fileb0x](https://github.com/UnnoTed/fileb0x).
The frontend folder has a generated json file that you can develop against, so frontend developers can start developing right away by running:
```bash
npm run dev
```## Built with
- [Go](https://golang.org/)
- [npm](https://www.npmjs.com/)
- [Vue.js](https://vuejs.org/)
- [fileb0x](https://github.com/UnnoTed/fileb0x)