• Stars
    star
    300
  • Rank 138,870 (Top 3 %)
  • Language
    Go
  • License
    MIT License
  • Created over 5 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Summarize Kubernetes RBAC roles for the specified subjects.

kubectl-rolesum (ex-bindrole)

Summarize RBAC roles for the specified subject (ServiceAccount, User and Group).

screenshot

Installation

krew

krew is a package manager for k8s plugins. Please see krew document for more detail.

kubectl krew install rolesum

Homebrew (for MacOS)

rolesum supports homebrew 🍺

brew install Ladicle/kubectl-bindrole/kubectl-rolesum

Binaries

The easiest way is to download binary from the release page. You can also download this repository and install it using Makefile.

Usage

$ kubectl rolesum -h  # or kubectl-rolesum -h
Summarize RBAC roles for the specified subject

Usage:
  kubectl rolesum [options] <SubjectName>

Examples:
  # Summarize roles bound to the "ci-bot" ServiceAccount.
  kubectl rolesum ci-bot

  # Summarize roles bound to the "developer" Group.
  kubectl rolesum -k Group developer

SubjectKinds:
  - ServiceAccount (default)
  - User
  - Group

Options:
  -h, --help                   Display this help message
  -n, --namespace string       Change the namespace scope for this CLI request
  -k, --subject-kind string    Set SubjectKind to summarize (default: ServiceAccount)
  -o, --options                List of all options for this command
      --version                Show version for this command

Use "kubectl rolesum --options" for a list of all options (applies to this command).

This command supports both kubectl-plugin mode and standalone mode.

More Repositories

1

tcardgen

Generate a TwitterCard(OGP) image for your Hugo posts.
Go
175
star
2

hydra-posframe

hydra-posframe is a hydra extension which shows hydra hints on posframe.
Emacs Lisp
120
star
3

fish-kubectl-prompt

Display information about the kubectl current context and namespace in fish prompt.
Shell
60
star
4

flymake-posframe

Showing flymake diagnostics at point using posframe
Emacs Lisp
29
star
5

mastodon-chart

The kubernetes chart of Mastodon
Smarty
17
star
6

consult-tramp

consult-tramp is a command to select tramp targets. Supported completion sources are ssh config, known hosts, and docker containers.
Emacs Lisp
15
star
7

godic

codic command line tool
Go
6
star
8

emoji

Slack emoji project
5
star
9

kubectl-check

Check kubernetes resources.
Go
4
star
10

hack

hack is a CLI tool for supporting programming competitions
Go
3
star
11

crd-sample

Shell
3
star
12

pocket2org

gets all articles and creates org tasks
Go
3
star
13

git-prompt

my cute fish prompt ;)
Go
2
star
14

kubernetes-helm-jp-doc

Kubernetes helm Japanese document
2
star
15

denon-avr

Operate Denon AVR via http API
Go
2
star
16

gin-template-for-azure

Sample application using Gin (golang web framework) for Azure Web App
HTML
2
star
17

http-handson

Sample HTTP server was written by Go
HTML
2
star
18

gflow

Light weight workflow engine written in Go.
Go
2
star
19

codecrafters-grep-go

Go
1
star
20

minnano-container

「みんなのDocker/Kubernetes」のDockerfileとサンプルコード
Dockerfile
1
star
21

tabwriter

Drop in replacement for https://golang.org/pkg/text/tabwriter with additional features
Go
1
star
22

Messenger-Beta

messenger on command prompt
C
1
star
23

eitanjiro

'eitanjiro' get your word list of eijiro pro that use selenium
Python
1
star
24

homebrew-gopls

Homebrew formula for Go Language Server (gopls)
Ruby
1
star
25

ghctl

The ghctl CLI tool for GitHub notifications, issue and pull-requests.
Go
1
star
26

opencensus-and-jaeger

Sample application to integrate with tracing and logging.
Go
1
star
27

codecrafters-git-go

Go
1
star
28

elastic-stack-for-docker

Run the basic Elastic stack (Elasticsearch, Kibana, Fluentd, Beats) with Docker and Docker-compose.
Shell
1
star
29

codecrafters-docker-go

Go
1
star
30

go-scheme-handler

A macOS application that handles the custom URL scheme `go: //`
Go
1
star