goldfish
A Helm chart for Goldfish - Vault UI
About this chart
Helm chart for GoldFish service
This Helm chart simplifies the deployment of goldfish on Kubernetes.
Pre-requisites
- Requires (and tested with) vault
0.8.1or above.
Vault
- Use the vault helm chart (still incubating)
- Use the vault-operator helm chart (pending PR)
Alternately, use an existing Vault and provide an endpoint. For more information on how to install Vault, check here.
Chart Details
This chart will do the following:
- Create a Kubernetes Deployment for goldfish
- Expose goldfish on the specified
hostsvia ingress
Installing the Chart
To install the chart with the release name goldfish in the default namespace:
helm install -n goldfish .
helm install -n goldfish .
| Parameter | Description | Default |
|---|---|---|
Name | Name | core |
replicaCount | Number of replicas | 1 |
image.repository | Image and registry name | caiyeon/goldfish |
image.tag | Container image tag | 0.9.0 |
image.pullPolicy | Container image tag | Always |
service.type | k8s service type | ClusterIP |
service.externalPort | external port | 80 |
service.internalPort | pod-listened port | 8000 |
ingress.enabled | Enable ingress usage | false |
ingress.hosts | service hostname | chart-example.local |
config.* | variables to generate config file | see values.yaml |
secrets.* | variables to be created as ENV | see values.yaml |
Specify parameters using --set key=value[,key=value] argument to helm install
Specify parameters using `--set key=value[,key=value]` argument to `helm install`
helm install -n goldfish . --set \
config.vault.address="http://vault:8200"
helm install -n goldfish . --set \
Alternatively a YAML file that specifies the values for the parameters can be provided like this:
$ helm install --name goldfish -f values.yaml .
$ helm install --name goldfish -f values.yaml .
Upgrading and Rollbacks
Refer to official docs on Upgrading a release and recovering on failure.
Use helm history to see previous releases
helm history goldfish
Use helm upgrade --reuse-values to keep previous secrets
helm upgrade --reuse-values goldfish .
Use helm get values to get current User Supplied values
helm get values goldfish
Use helm rollback [RELEASE] [REVISION] to roll back to previous release
helm rollback goldfish 1
helm history goldfish
REVISION UPDATED STATUS CHART DESCRIPTION
1 Thu Apr 6 16:25:13 2017 SUPERSEDED goldfish-0.1.0 Install complete
2 Thu May 4 11:57:05 2017 SUPERSEDED goldfish-0.1.0 Upgrade complete
3 Tue Jun 6 18:24:31 2017 SUPERSEDED goldfish-0.1.0 Rollback to 1
Deploy goldfish with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has goldfish 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 chartgoldfish is pinned at v0.2.7 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