-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature][Task] K8s namespace auth manager #9303
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #9303 +/- ##
============================================
- Coverage 39.98% 39.71% -0.28%
- Complexity 4375 4411 +36
============================================
Files 822 826 +4
Lines 32924 33327 +403
Branches 3656 3698 +42
============================================
+ Hits 13165 13236 +71
- Misses 18532 18858 +326
- Partials 1227 1233 +6
Continue to review full report at Codecov.
|
...-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/K8SNamespaceServiceImpl.java
Outdated
Show resolved
Hide resolved
...heduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/K8sNamespaceMapper.xml
Show resolved
Hide resolved
The backend part is good to me. But you need to change UI in next-ui. @qianli2022 |
@songjianet please take a look of UI part, thanks. |
BTW, @qianli2022 please update the doc too, DS had put the doc part into code repository, so it should update the code and doc synchronously. |
There are two problems here:
|
Kudos, SonarCloud Quality Gate passed! |
PTAL again @songjianet the next-ui had added. |
The changes of the old ui can be reverted, because we will not do any non-bug processing on the old ui. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* k8s auth * remove log * fix test * use constants * use constants K8S_LOCAL_TEST_CLUSTER * simple auth get * change test * add namespace authorize in user page * prettier code * change test data Co-authored-by: qianl4 <qianl4@cicso.com> Co-authored-by: William Tong <weitong@cisco.com>
Purpose of the pull request
Namespaces are managed with permissions that are created by the administrator and authorized to be used by ordinary users
Brief change log
Verify this pull request
This change added tests and can be verified as follows:
close #9252