mirror of https://github.com/portainer/portainer
fix(app): namespace selector fixes [EE-6561] (#10977)
parent
a4739f1701
commit
5f040bf788
|
@ -66,7 +66,7 @@
|
|||
<namespace-selector
|
||||
values="ctrl.formValues.ResourcePool.Namespace.Name"
|
||||
on-change="(ctrl.onChangeNamespaceName)"
|
||||
validation-data="{hasQuota: ctrl.state.resourcePoolHasQuota, isResourceQuotaCapacityExceeded: ctrl.resourceQuotaCapacityExceeded(), namespaceOptionCount: ctrl.resourcePools.length, isEnvironmentAdmin: ctrl.state.isEnvironmentAdmin}"
|
||||
validation-data="{hasQuota: ctrl.state.resourcePoolHasQuota, isResourceQuotaCapacityExceeded: ctrl.resourceQuotaCapacityExceeded(), namespaceOptionCount: ctrl.resourcePools.length, isEnvironmentAdmin: ctrl.isAdmin}"
|
||||
is-edit="ctrl.state.isEdit"
|
||||
></namespace-selector>
|
||||
<!-- kubernetes services options -->
|
||||
|
@ -325,14 +325,14 @@
|
|||
<!-- #endregion -->
|
||||
</div>
|
||||
|
||||
<placement-form-section
|
||||
ng-show="ctrl.formValues.DeploymentType === ctrl.ApplicationDeploymentTypes.Replicated"
|
||||
values="{placements: ctrl.formValues.Placements, placementType: ctrl.formValues.PlacementType}"
|
||||
on-change="(ctrl.onChangePlacements)"
|
||||
></placement-form-section>
|
||||
|
||||
<!-- kubernetes services options -->
|
||||
<div class="mb-8" ng-if="ctrl.formValues.ResourcePool">
|
||||
<placement-form-section
|
||||
ng-show="ctrl.formValues.DeploymentType === ctrl.ApplicationDeploymentTypes.Replicated"
|
||||
values="{placements: ctrl.formValues.Placements, placementType: ctrl.formValues.PlacementType}"
|
||||
on-change="(ctrl.onChangePlacements)"
|
||||
></placement-form-section>
|
||||
|
||||
<!-- kubernetes services options -->
|
||||
<kube-services-form
|
||||
on-change="(ctrl.onServicesChange)"
|
||||
values="ctrl.formValues.Services"
|
||||
|
|
|
@ -42,13 +42,6 @@ export function ResourceReservationFormSection({
|
|||
application. Maximums are inherited from the namespace quota.
|
||||
</TextTip>
|
||||
)}
|
||||
{namespaceHasQuota && resourceQuotaCapacityExceeded && (
|
||||
<TextTip color="red">
|
||||
This namespace has exhausted its resource capacity and you will not be
|
||||
able to deploy the application. Contact your administrator to expand
|
||||
the capacity of the namespace.
|
||||
</TextTip>
|
||||
)}
|
||||
<FormControl
|
||||
className="flex flex-row"
|
||||
label="Memory limit (MB)"
|
||||
|
|
Loading…
Reference in New Issue