tyk-bootstrap
by Tyk
A Helm chart for a Kubernetes job that bootstraps the Tyk Dashboard and creates secrets for Tyk Operator and Tyk Developer Portal
About this chart
Tyk Bootstrap
Introduction
This chart helps with the bootstrapping of the Tyk Dashboard by creating a job which provisions the cluster with all the required secrets/configmaps/HTTP initialization calls on Kubernetes cluster using the Helm package manager.
The chart provides little benefits by itself and should only be used in conjunction with other charts that also use the dashboard component.
Prerequisites
- Kubernetes 1.19+
- Helm 3+
Installing the Chart
To install the chart from the Helm repository in namespace tyk with the release name tyk-bootstrap:
helm repo add tyk-helm https://helm.tyk.io/public/helm/charts/
helm show values tyk-helm/tyk-bootstrap > values-bootstrap.yaml
helm install tyk-bootstrap tyk-helm/tyk-bootstrap -n tyk --create-namespace -f values-bootstrap.yaml
Uninstalling the Chart
helm uninstall tyk-bootstrap -n tyk
This removes all the Kubernetes components associated with the chart and deletes the release.
Upgrading Chart
helm upgrade tyk-bootstrap tyk-helm/tyk-bootstrap -n tyk
Configuration
See Customizing the Chart Before Installing.
To get all configurable options with detailed comments:
helm show values tyk-helm/tyk-bootstrap > values-bootstrap.yaml
You can update any value in your local values.yaml file and use -f [filename] flag to override default values during installation. Alternatively, you can use --set flag to set it in Tyk installation.
Environment Variables
All environment variable configurations can be found in the README of official
tyk-k8s-bootstrap repository.
Deploy tyk-bootstrap with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has tyk-bootstrap on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the charttyk-bootstrap is pinned at v5.5.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply