mirror of https://github.com/portainer/portainer
35 lines
1.3 KiB
HTML
35 lines
1.3 KiB
HTML
<kubernetes-view-header title="Kubernetes security constraints" state="portainer.k8sendpoint.securityConstraint" view-ready="state.viewReady">
|
|
<a ui-sref="portainer.endpoints">Environments</a> > <a ui-sref="portainer.endpoints.endpoint({id: endpoint.Id})">{{ endpoint.Name }}</a> > Security constraints
|
|
</kubernetes-view-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>
|