mirror of https://github.com/portainer/portainer
42 lines
1.2 KiB
HTML
42 lines
1.2 KiB
HTML
<page-header
|
|
ng-if="state.viewReady"
|
|
title="'Kubernetes security constraints'"
|
|
breadcrumbs="[
|
|
{ label:'Environments', link:'portainer.endpoints' },
|
|
{ label:endpoint.Name, link:'portainer.endpoints.endpoint', linkParams:{id: endpoint.Id} },
|
|
'Security constraints'
|
|
]"
|
|
reload="true"
|
|
></page-header>
|
|
|
|
<kubernetes-view-loading view-ready="state.viewReady"></kubernetes-view-loading>
|
|
|
|
<div ng-if="state.viewReady">
|
|
<div class="row">
|
|
<div class="col-sm-12 space-left">
|
|
<i class="fas fa-shield-alt"></i>
|
|
Pod security constraints</div
|
|
>
|
|
<div class="col-sm-12">
|
|
<rd-widget>
|
|
<rd-widget-body>
|
|
<form class="form-horizontal" name="kubernetesSecurityConstraintForm">
|
|
<!-- main toggle -->
|
|
<div class="form-group">
|
|
<div class="col-sm-12">
|
|
<por-switch-field
|
|
checked="formValues.enabled"
|
|
name="'disableSysctlSettingForRegularUsers'"
|
|
label="'Enable pod security constraints'"
|
|
feature-id="limitedFeaturePodSecurityPolicy"
|
|
>
|
|
</por-switch-field>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</rd-widget-body>
|
|
</rd-widget>
|
|
</div>
|
|
</div>
|
|
</div>
|