Skip to content

Commit

Permalink
feat: add cluster role and cluster role binding resource viewers (#71)
Browse files Browse the repository at this point in the history
This change adds Cluster Role and Cluster Role Binding resource viewers.
  • Loading branch information
ChristopherFry committed Jul 21, 2022
1 parent dd41b03 commit e0ae65e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ const getCustomMetadataFn = (
case 'kpt.dev/v1/Kptfile':
return getKptfileStructuredMetadata;

case 'rbac.authorization.k8s.io/v1/ClusterRole':
case 'rbac.authorization.k8s.io/v1/Role':
return getRoleStructuredMetadata;

case 'rbac.authorization.k8s.io/v1/ClusterRoleBinding':
case 'rbac.authorization.k8s.io/v1/RoleBinding':
return getRoleBindingStructuredMetadata;

Expand Down

0 comments on commit e0ae65e

Please sign in to comment.