kubectl-bindrole

command module
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2020 License: MIT Imports: 3 Imported by: 0

README

kubectl-bindrole

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

screenshot

Installation

for macOS

bindrole supports homebrew 🍺

brew install Ladicle/kubectl-bindrole/kubectl-bindrole
for other devices

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

Usage

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

Usage:
  kubectl bindrole [options] <SubjectName>

Examples:
  # Summarize roles tied to the "ci-bot" ServiceAccount.
  kubectl bindrole ci-bot

  # Summarize roles tied to the "developer" Group.
  kubectl bindrole -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 bindrole --options" for a list of all options (applies to this command).

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL