mirror of https://github.com/portainer/portainer
fix(cluster): UI RBAC alert fix [r8s-138] (#72)
parent
8808531cd5
commit
6c57a00a65
|
@ -274,7 +274,11 @@ function InnerForm({
|
|||
</div>
|
||||
</FormSection>
|
||||
<FormSection title="Security">
|
||||
{!isRBACEnabled && isRBACEnabledQuery.isSuccess && <RBACAlert />}
|
||||
<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…
Reference in New Issue