Page cover

clusterrolebinding

The delete clusterrolebinding command removes a specified ClusterRoleBinding from the Kubernetes cluster. Deleting a ClusterRoleBinding revokes the associated ClusterRole’s permissions from bound subjects.

Usage

cldkctl delete clusterrolebinding [name] [flags]

Steps

Follow the steps below to run and view the result of this command:

  1. If you want to view the list of ClusterRoleBindings before deleting, refer to the get clusterrolebinding section.

  2. Run the following command in your terminal:

./cldkctl delete clusterrolebinding [clusterrolebinding-name]
  1. Replace [clusterrolebinding-name] with the name of the ClusterRoleBindings you want to delete.

  2. Once completed successfully, a message “✓ Cluster Role Binding deleted” will appear in your terminal.

Flags

This command supports global flags. Refer to the Global Flags section for details.

Flag
Description

-h, --help

Help for delete clusterrolebinding command.

Last updated