proton-bridge

by Arhat Dev

Helm chartv0.1.2App 1.8Verified publisher

Helm chart for proton-bridge with automated login & serving process

About this chart

Proton-Bridge

Usage

  1. Generate credentials
docker run --rm -it \
    -v $(pwd)/private/data:/data \
    -e PROTONMAIL_USERNAME='' \
    -e PROTONMAIL_PASSWORD='' \
    ghcr.io/arhat-dev/proton-bridge
  1. Create a secret to include all credentials
kubectl create secret generic --dry-run -o yaml \
    --from-file "$(pwd)/private/data/cred.gpg" \
    --from-file "$(pwd)/private/data/cred_dirname.txt" \
    --from-file "$(pwd)/private/data/cred_filename.txt" \
    --from-file "$(pwd)/private/data/pub.gpg" \
    --from-file "$(pwd)/private/data/secret.gpg" \
    my-secret > my-secret.yaml
  1. Add username and password to your secret file (my-secret.yaml)
# ... other secret data
stringData:
  username: [email protected]
  password: <your-password>
  1. Update values.yaml to include them as environment variables

Deploy proton-bridge with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has proton-bridge 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartproton-bridge is pinned at v0.1.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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