Unleash / helm-charts

Contains helm-charts for Unleash
Apache License 2.0
41 stars 56 forks source link

task: Make proxy chart accept keys from secrets #65

Closed chriswk closed 1 year ago

chriswk commented 1 year ago

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 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.

chriswk commented 1 year ago

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.