Project Quota or Container Quota should not greater than Workspace Quota.
Created by: wenxin-01
Describe
Project Quota should not greater than Workspace Quota. Container Quota should not greater than Project Quota、 Workspace Quota.
Environment
kubespheredev/ks-console:latest
Preset conditions 1、There is project 'pro1' in workspace 'wx-ws' 2、Workspace Quota as follow:limits.cpu 10 core, requests.cpu 1 core; limits.memory 10Gi, requests.memory 1 Gi
To Reproduce Steps to reproduce the behavior:
- Go to project 'pro1'
- Click on 'Project settings'
- Click on 'Base info'
- Click on 'manage project' --> click on 'edit quota'
- enter 2 in 'cpu Resource Request'
Expected behavior There is prompt on the page:Project Quota should not greater than Workspace Quota. and can not save.
/kind feature /assign @leoendless /milestone 3.1.0 /priority medium