There is no error message when create service account with the wrong kind.
Created by: wenxin-01
Environment nightly-20210307
Preset conditions 1、There is account A, which has project 'B' management privileges. 2、There is service account 'default' in project 'B'
To Reproduce Steps to reproduce the behavior:
- Use account A to log in to KS, and go to Project 'B'--》Configurations--》ServiceAccounts.
- Click 'Create'
- Click 'Edit Mode' after enter name
- Change kind to pod
- click 'Create'
Expected behavior Display the appropriate error message
Actual behavior The page is not responding
/kind bug /assign @xuliwenwenwen /milestone 3.1.0 /priority medium