mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
fix(cluster): UI RBAC alert fix [r8s-138] (#72)
This commit is contained in:
parent
8808531cd5
commit
6c57a00a65
2 changed files with 6 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue