spiffe / spire

The SPIFFE Runtime Environment
https://spiffe.io
Apache License 2.0
1.81k stars 478 forks source link

Fixes how upstream-authority-ejbca integration test calls kubectl and helm #5613

Closed nweisenauer-sap closed 1 week ago

nweisenauer-sap commented 3 weeks ago

Pull Request check list

Affected functionality upstream-authority-ejbca test now calls the binaries from the ./bin folder

Description of change On our runners, the new integration test upstream-authority-ejbca fails, complaining that helm and kubectl are not preinstalled. However, this test, similar to the upstream-authority-cert-manager, downloads these tools beforehand (inside the 00-setup-kind script). The issue is that the script downloads these tools to the ./bin folder, which is fine, but the test itself does mixed calls of kubectl, sometimes using kubectl, sometimes ./bin/kubectl. Also, the prerequisite checks do not check for the ./bin folder. Which issue this PR fixes