### _Why are the changes needed?_ I met below exception. ``` 2023-06-29 00:10:43.174 ERROR org.apache.kyuubi.engine.KubernetesApplicationOperation: Failed to get application with 3c036904-ffef-480b-89e9-2bc6439a6d04, due to Kubernetes context Some(97) is not in the allowed list[ArrayBuffer(97, 116)] ``` The context and namespace are type of `Option[String]` and the allowed lists are type of `Seq[String]`. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests) locally before make a pull request Closes #5004 from turboFei/context_check. Closes #5004 3a3e8c878 [fwang12] ut 55766313a [fwang12] add ut 68f582bfc [fwang12] fix context and namespace check Authored-by: fwang12 <fwang12@ebay.com> Signed-off-by: fwang12 <fwang12@ebay.com> |
||
|---|---|---|
| .. | ||
| src | ||
| web-ui | ||
| pom.xml | ||