@ -22,7 +22,7 @@
< rd-widget >
< rd-widget >
< rd-widget-body >
< rd-widget-body >
< form class = "form-horizontal" name = "kubernetesClusterSetupForm" >
< form class = "form-horizontal" name = "kubernetesClusterSetupForm" >
< div class = "col-sm-12 form-section-title" > Networking < / div >
< div class = "col-sm-12 form-section-title" > Networking - Services < / div >
< div class = "form-group" >
< div class = "form-group" >
< div class = "col-sm-12 text-muted small" >
< div class = "col-sm-12 text-muted small" >
@ -41,6 +41,8 @@
< / div >
< / div >
< / div >
< / div >
< div class = "col-sm-12 form-section-title" > Networking - Ingresses < / div >
< ingress-class-datatable
< ingress-class-datatable
on-change-controllers="(ctrl.onChangeControllers)"
on-change-controllers="(ctrl.onChangeControllers)"
allow-none-ingress-class="ctrl.formValues.AllowNoneIngressClass"
allow-none-ingress-class="ctrl.formValues.AllowNoneIngressClass"
@ -51,48 +53,58 @@
view="'cluster'"
view="'cluster'"
>< / ingress-class-datatable >
>< / ingress-class-datatable >
< label htmlFor = "foldingButtonIngControllerSettings" class = "col-sm-12 form-section-title flex cursor-pointer items-center" >
< div class = "form-group" >
< button
< div class = "col-sm-12" >
id="foldingButtonIngControllerSettings"
< por-switch-field
type="button"
checked="ctrl.formValues.AllowNoneIngressClass"
class="mx-2 !ml-0 inline-flex w-2 items-center justify-center border-0 bg-transparent"
name="'allowNoIngressClass'"
ng-click="ctrl.toggleAdvancedIngSettings($event)"
label="'Allow ingress class to be set to " none" '"
>
tooltip="'This allows users setting up ingresses to select " none" as the ingress class.'"
< pr-icon ng-if = "!ctrl.state.isIngToggleSectionExpanded" icon = "'chevron-right'" > < / pr-icon >
on-change="(ctrl.onToggleAllowNoneIngressClass)"
< pr-icon ng-if = "ctrl.state.isIngToggleSectionExpanded" icon = "'chevron-down'" > < / pr-icon >
label-class="'col-sm-5 col-lg-4 px-0 !m-0'"
< / button >
switch-class="'col-sm-8'"
More settings
>
< / label >
< / por-switch-field >
< div ng-if = "ctrl.state.isIngToggleSectionExpanded" class = "ml-4" >
< div class = "form-group" >
< div class = "col-sm-12" >
< por-switch-field
checked="ctrl.formValues.AllowNoneIngressClass"
name="'allowNoIngressClass'"
label="'Allow ingress class to be set to " none" '"
tooltip="'This allows users setting up ingresses to select " none" as the ingress class.'"
on-change="(ctrl.onToggleAllowNoneIngressClass)"
label-class="'col-sm-5 col-lg-4 px-0 !m-0'"
switch-class="'col-sm-8'"
>
< / por-switch-field >
< / div >
< / div >
< / div >
< div class = "form-group" >
< / div >
< div class = " col-sm-12 ">
< div class = "form-group" >
< por-switch-field
< div class = "col-sm-12" >
checked="ctrl.formValues.IngressAvailabilityPerNamespace"
< por-switch-field
name="'ingressAvailabilityPerNamespace' "
checked="ctrl.formValues.IngressAvailabilityPerNamespace"
label="'Configure ingress controller availability per n amespace'"
name="'ingressAvailabilityPerNamespace'"
tooltip="'This allows an administrator to configure, in each namespace, which ingress controllers will be available for users to select when setting up ingresses for applications. '"
label="'Configure ingress controller availability per namespace'"
on-change="(ctrl.onToggleIngressAvailabilityPerNamespace) "
tooltip="'This allows an administrator to configure, in each namespace, which ingress controllers will be available for users to select when setting up ingresses for applications.'"
label-class="'col-sm-5 col-lg-4 px-0 !m-0' "
on-change="(ctrl.onToggleIngressAvailabilityPerNamespace)"
switch-class="'col-sm-8 '"
label-class="'col-sm-5 col-lg-4 px-0 !m-0'"
>
switch-class="'col-sm-8'"
< / por-switch-field >
>
< / div >
< / por-switch-field >
< / div >
< / div >
< / div >
< / div >
< div class = "form-group" >
< div class = "col-sm-12" >
< por-switch-field
checked="ctrl.formValues.RestrictStandardUserIngressW"
name="'restrictStandardUserIngressW'"
label="'Only allow admins to deploy ingresses'"
tooltip="'Enforces only allowing admins to deploy ingresses (and disallows standard users from doing so).'"
on-change="(ctrl.onToggleRestrictStandardUserIngressW)"
label-class="'col-sm-5 col-lg-4 px-0 !m-0'"
switch-class="'col-sm-8 text-muted'"
data-cy="kubeSetup-restrictStandardUserIngressWToggle"
disabled="!ctrl.isRBACEnabled"
>
< / por-switch-field >
< / div >
< / div >
< div class = "mb-4 !inline-flex gap-1 !align-top" >
< div class = "icon icon-sm" > < pr-icon icon = "'alert-circle'" mode = "'primary'" > < / pr-icon > < / div >
< div class = "text-muted small"
>You may set up ingress defaults (hostnames and annotations) via Create/Edit ingress. Users may then select them via the hostname dropdown in Create/Edit
application.< /div
>
< / div >
<!-- auto update window -->
<!-- auto update window -->
< div class = "col-sm-12 form-section-title" > Change Window Settings < / div >
< div class = "col-sm-12 form-section-title" > Change Window Settings < / div >
@ -161,19 +173,6 @@
>
>
< / por-switch-field >
< / por-switch-field >
< / div >
< / div >
< div class = "col-sm-12 mt-5" >
< por-switch-field
name="'restrictStandardUserIngressW'"
label="'Only allow admins to deploy ingresses'"
tooltip="'Enforces only allowing admins to deploy ingresses (and disallows standard users from doing so).'"
label-class="'col-sm-5 col-lg-4 px-0 !m-0'"
switch-class="'col-sm-8 text-muted'"
data-cy="kubeSetup-restrictStandardUserIngressWToggle"
feature-id="ctrl.limitedFeatureIngressDeploy"
disabled="!ctrl.isRBACEnabled"
>< / por-switch-field >
< / div >
< / div >
< / div >
<!-- #endregion -->
<!-- #endregion -->