mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
fix(secrets): add CE teaser EE-6568 (#11001)
This commit is contained in:
parent
7bf346bd2d
commit
fc7d9ca2cd
3 changed files with 16 additions and 0 deletions
|
@ -283,6 +283,20 @@ function InnerForm({
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="form-group">
|
||||
<div className="col-sm-12">
|
||||
<SwitchField
|
||||
name="restrictSecrets"
|
||||
data-cy="kubeSetup-restrictSecretsToggle"
|
||||
label="In the UI, only admins may view and edit the contents of secrets that are not their own"
|
||||
tooltip="This hides the ability to view or edit in the UI the contents of secrets that a non-admin user did not create themselves but does not prevent it via the command line."
|
||||
labelClass="col-sm-5 col-lg-4"
|
||||
checked={false}
|
||||
featureId={FeatureId.K8S_ADM_ONLY_SECRETS}
|
||||
onChange={() => {}}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</FormSection>
|
||||
<FormSection title="Resources and Metrics">
|
||||
<InsightsBox
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue