vanity
Helm chartv1.2.2App 1.2.0Verified publisher
Implements the Golang remote import paths protocol to act as a vanity URL server for Go import paths
About this chart
Vanity
Deploy a service that uses a config map to map vanity domains (e.g. go.rtnl.ai/x) to Go packages hosted at a git repository (e.g. github.com/rotationalio/x).
Installation
helm repo add rotational https:/helm.rotational.dev
helm install vanity rotational/vanity \
--namespace rotational --values vanity.yaml
A minimal vanity.yaml file is as follows:
vanity:
domain: go.rtnl.ai
repositories:
- repository: https://github.com/rotationalio/x
- repository: https://github.com/rotationalio/confire
- repository: https://github.com/rotationalio/vanity
- repository: https://github.com/rotationalio/radish
- repository: https://github.com/rotationalio/ulid
- repository: https://github.com/rotationalio/honu
- repository: https://github.com/rotationalio/endeavor
- repository: https://github.com/rotationalio/quarterdeck
- repository: https://github.com/rotationalio/gimlet
- repository: https://github.com/rotationalio/acme-linode
This will create vanity domains at go.rtnl.ai for each of the repositories described.
Deploy vanity with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has vanity 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 chartvanity is pinned at v1.2.2 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