Custom additional options for Broker Helm Chart installation

If you need to inject additional option(s) via environment variables, use the override.yaml value file to add any additional environment variable(s) you may need.

Adding the --values override.yaml will load those values into your deployment. For example:

helm install snyk-broker-chart . \
             --set scmType=github-com \
             --set brokerToken=<ENTER_BROKER_TOKEN> \
             --set scmToken=<ENTER_REPO_TOKEN> \
             --set brokerClientUrl=<ENTER_BROKER_CLIENT_URL>:<ENTER_BROKER_CLIENT_PORT> \
             --values override.yaml \
             -n snyk-broker --create-namespace

You can do the same inline without the override.yaml file if it is more convenient.

helm install snyk-broker-chart . \
             --set scmType=github-com \
             --set brokerToken=<ENTER_BROKER_TOKEN> \
             --set scmToken=<ENTER_REPO_TOKEN> \
             --set brokerClientUrl=<ENTER_BROKER_CLIENT_URL>:<ENTER_BROKER_CLIENT_PORT> \
             --set env[0].name=myEnvVarName \
             --set env[0].value=myEnvVarValue \
             --set env[1].name=myOtherEnvVarName \
             --set env[1].value=myOtherEnvVarValue \
             -n snyk-broker --create-namespace

Extra resources Additional Kubernetes resources can be added to the chart by adding them to the values file. Be careful to use the right syntax and validate the rendered yaml using helm template command. Thanks to https://github.com/apat292 for the contribution.

Last updated

Was this helpful?

#4707: More info: Update pricing plans page

Change request updated