mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 13:25:26 +02:00
fix(app): improve resource quota error handling [EE-5933] (#10951)
This commit is contained in:
parent
488fcc7cc5
commit
6d71a28584
9 changed files with 122 additions and 50 deletions
|
@ -294,16 +294,17 @@
|
|||
namespace-has-quota="ctrl.state.resourcePoolHasQuota"
|
||||
max-memory-limit="ctrl.state.sliders.memory.max"
|
||||
max-cpu-limit="ctrl.state.sliders.cpu.max"
|
||||
validation-data="{maxMemoryLimit: ctrl.state.sliders.memory.max, maxCpuLimit: ctrl.state.sliders.cpu.max}"
|
||||
validation-data="{maxMemoryLimit: ctrl.state.sliders.memory.max, maxCpuLimit: ctrl.state.sliders.cpu.max, isEnvironmentAdmin: ctrl.state.isEnvironmentAdmin}"
|
||||
resource-quota-capacity-exceeded="ctrl.resourceQuotaCapacityExceeded()"
|
||||
></resource-reservation-form-section>
|
||||
|
||||
<!-- deployment options -->
|
||||
<app-deployment-type-form-section
|
||||
value="ctrl.formValues.DeploymentType"
|
||||
values="ctrl.formValues.DeploymentType"
|
||||
on-change="(ctrl.onChangeDeploymentType)"
|
||||
support-global-deployment="ctrl.supportGlobalDeployment()"
|
||||
radio-name="'deploymentType'"
|
||||
validation-data="{isQuotaExceeded: ctrl.resourceReservationsOverflow()}"
|
||||
></app-deployment-type-form-section>
|
||||
|
||||
<!-- replica count -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue