java - 出现错误“无法使用 Kubernetes 登录:无效的角色名称“abc-reader-xyz-cluster”;嵌套异常”
问题描述
我有集群“ABC”。现在我将应用程序移动到“XYZ”集群。我用Clsuter“XYZ”更改了所有配置文件。现在,当我尝试部署应用程序时,出现以下错误:
o.s.v.c.l.SecretLeaseEventPublisher$LoggingErrorListener - - [RequestedSecret [path='bass/orchestrator/sit', mode=ROTATE]] Lease [leaseId='null', leaseDuration=PT0S, renewable=false] Cannot login using Kubernetes: invalid role name "bass-reader-prod-nezbleu"; nested exception is org.springframework.web.client.HttpClientErrorException$BadRequest: 400 Bad Request
org.springframework.vault.authentication.VaultLoginException: Cannot login using Kubernetes: invalid role name "Xyz123"; nested exception is org.springframework.web.client.HttpClientErrorException$BadRequest: 400 Bad Request
at org.springframework.vault.authentication.VaultLoginException.create(VaultLoginException.java:64)
at org.springframework.vault.authentication.KubernetesAuthentication.login(KubernetesAuthentication.java:107)
at org.springframework.vault.authentication.LifecycleAwareS
解决方案
推荐阅读
- android - Unity Android:无法构建 Firebase 和 Mapbox 项目
- python - 在python中查找两个kde图之间的非重叠区域
- python - 获取前 25% 的数据 Python
- powershell - PowerShell 测试路径总是返回 false
- ios - 界面生成器不支持大于 10000 的 UIView 大小
- spring - 春季批处理作业失败
- c# - 将 Visual Studio 项目重新连接到 GitHub 存储库
- python - 从列表 Python 中删除特定元素
- sql - SQL 数据库设计联盟数据类型?
- javascript - 为什么我的输出未定义?