hashicorp-vault-plugin icon indicating copy to clipboard operation
hashicorp-vault-plugin copied to clipboard

KubernetesAuthentication not working

Open Dpun opened this issue 2 years ago • 0 comments

Jenkins and plugins versions report

Environment
Paste the output here

What Operating System are you using (both controller, and any agents involved in the problem)?

Ubuntu

Reproduction steps

Integrate Vault KubernetesAuthentication in spring boot project bootstrap.yml vault: authentication: KUBERNETES kubernetes: role: test kubernetes-path: kubernetes service-account-token-file: /var/vaultToken/token

    Issues on KubernetesAuthentication class 
    
    Assert.state(response != null && response.getAuth() != null, "Auth field must not be null");

Expected Results

it should not throw exception if response and response.getAuth() is non null.

Actual Results

getting exception Auth field must not be null

Anything else?

No response

Dpun avatar Jun 23 '22 05:06 Dpun