hashicorp-vault-plugin
hashicorp-vault-plugin copied to clipboard
KubernetesAuthentication not working
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