fix(cluster): UI RBAC alert fix [r8s-138] (#72)

pull/12292/merge
Ali 4 weeks ago committed by GitHub
parent 8808531cd5
commit 6c57a00a65

@ -274,7 +274,11 @@ function InnerForm({
</div>
</FormSection>
<FormSection title="Security">
<div className="form-group">
<div className="col-sm-12">
{!isRBACEnabled && isRBACEnabledQuery.isSuccess && <RBACAlert />}
</div>
</div>
<div className="form-group">
<div className="col-sm-12">
<TextTip color="blue" inline={false}>

@ -3,7 +3,7 @@ import { Alert } from '@@/Alert';
export function RBACAlert() {
return (
<Alert color="warn" className="mb-4">
<div className="flex-flex-col">
<div className="flex flex-col">
<p>
Your cluster does not have Kubernetes role-based access control (RBAC)
enabled.

Loading…
Cancel
Save