fix: Incorrect information for exceeding the resource limit
Created by: weili520
Signed-off-by: TheYoungManLi cjl@kubesphere.io
What type of PR is this?
/kind bug
What this PR does / why we need it:
Now, if the user didn't set a resource limit for the container, the tip title will be 'Resource occupation is unset', and if the limit setting is beyond the available quota, the title will be 'The current resource occupation has exceeded the remaining'.
Which issue(s) this PR fixes:
Fixes ##2672 (closed)
Special notes for reviewers:
Does this PR introduced a user-facing change?
NONE
Additional documentation, usage docs, etc.: