1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Revert changing RB's namespace to required

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-06-09 10:05:10 -04:00
parent 4d67fe80b7
commit b2be0aa9ce
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ export type RoleBindingSubjectKind = "Group" | "ServiceAccount" | "User";
export interface RoleBindingSubject {
kind: RoleBindingSubjectKind;
name: string;
namespace: string;
namespace?: string;
apiGroup?: string;
}

View File

@ -75,7 +75,7 @@ export class RoleBindings extends React.Component<Props> {
renderTableContents={(binding: RoleBinding) => [
binding.getName(),
<KubeObjectStatusIcon key="icon" object={binding} />,
binding.getNs(),
binding.getNs() || "-",
binding.getSubjectNames(),
binding.getAge(),
]}