This PR allows users deploying the Unleash-proxy chart to pass clientKeys and unleashApiToken from existing kubernetes secrets.
In addition this extends the chart to also accept environment variables in a list as well as building environment variables from existing secrets. See values.yaml for examples for both the newly added env key as well as existingSecrets.
Important files
./charts/unleash-proxy/examples/withapiandclientkeysecret.yaml - for an example for how to deploy with API and client keys specified in secrets.
./charts/unleash-proxy/values.yaml - for all the available options.
Considering there's no README for the helm-chart for the unleash-proxy, I'd say it definitely requires an update. I'll add a separate PR learning from the Unleash-server chart's README.
What
This PR allows users deploying the Unleash-proxy chart to pass clientKeys and unleashApiToken from existing kubernetes secrets.
In addition this extends the chart to also accept environment variables in a list as well as building environment variables from existing secrets. See values.yaml for examples for both the newly added
env
key as well asexistingSecrets
.Important files
./charts/unleash-proxy/examples/withapiandclientkeysecret.yaml - for an example for how to deploy with API and client keys specified in secrets. ./charts/unleash-proxy/values.yaml - for all the available options.