forked from rook/rook
When deploying a cluster-wde encrypted cluster we now use the rook binary to execute some code to fetch the key encryption key. Using cURL all the time to fetch the key has its limitations. The incoming integration with Kubernetes Authentication through service accounts is leading the usage of cURL to its end. The logic is really complex and prone to errors. Re-implementing the Go logic into Bash is not a viable option. Also, using the lib in a binary allows us to keep a consistent behavior throughout the life cycle of our code. Signed-off-by: Sébastien Han <seb@redhat.com>