1
0
Fork 0
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:
Dakota Walsh 2024-01-24 09:44:50 +13:00 committed by GitHub
parent 7bf346bd2d
commit fc7d9ca2cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 16 additions and 0 deletions

View file

@ -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