private-link

by Synadia

Helm chartv1.2.2App 1.2.2Verified publisher

Synadia Private Link

About this chart

Synadia Private Link Helm Chart

Accessing the Helm Chart

# add the synadia repo (only needs to be run once)
helm repo add synadia https://synadia-io.github.io/helm-charts

# update the synadia repo index (run to get updated chart versions)
helm repo update synadia

# now you can install the synadia/private-link chart
helm upgrade --install private-link synadia/private-link

Useful Tools and References

Common Configuration

Basic Example

config:
  platformURL: https://cp.nats.io
  natsURL: nats://nats.nats.svc.cluster.local:4222
  token: agt_my_token

Deploy on 3 separate hosts

config:
  platformURL: https://cp.nats.io
  natsURL: nats://nats.nats.svc.cluster.local:4222
  token: agt_my_token

deployment:
  replicas: 3

podTemplate:
  topologySpreadConstraints:
    kubernetes.io/hostname:
      maxSkew: 1
      whenUnsatisfiable: DoNotSchedule

Mutual TLS

config:
  platformURL: https://cp.nats.io
  natsURL: nats://nats.nats.svc.cluster.local:4222
  token: agt_my_token
  tls:
    caCerts:
      enabled: true
      # example uses ConfigMap, but Secret is also supported with `secretName`
      configMapName: ca-certs
      # key in the ConfigMap or Secret that holds the PEM-encoded x509 CA Certificate list
      # defaults to `ca.crt`
      key: my-ca.crt
    clientCert:
      enabled: true
      secretName: private-link-tls
      # key in the Secret that holds the PEM-encoded x509 Client Certificate
      # defaults to tls.crt
      cert: my-tls.crt
      # key in the Secret that holds the PEM-encoded x509 Private Key
      # defaults to tls.key
      key: my-tls.key

Deploy private-link with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has private-link 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 chartprivate-link is pinned at v1.2.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