Getting Error "Cannot login using Kubernetes: invalid role name "abc-reader-xyz-cluster"; nested exception"

Viewed 1137

I have cluster "ABC". Now I moved the Application to "XYZ" Cluster. And I changed all configuration file with Clsuter "XYZ". Now when I trying to deploy application then getting below error:

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
0 Answers
Related