Is there an easy way inside my freestyle step to load all of the keys inside my Kubernetes secret as environment variables?
I don’t believe we have something specific for this scenario. But you can do what you want with a simple line in your freestyle step such as
kubectl get secret <arg> -o json | jq <args> | xargs export <args>
I would also open a ticket with us, since our support team might have faced the same question before and would know the correct command.
Let me know if that helps.