dave

by it@M

Helm chartv0.2.22Verified publisher

DAVe traffic counting plattform

About this chart

dave

helmchart for DAVe traffic counting plattform This chart bootstraps on a Kubernetes cluster using the Helm package manager.

Installing the Chart

Install this chart using:

helm upgrade --install my-dave it-at-m/dave -f my-values.yaml

Create your local configuration from ci/test-values.yaml and add optional values from values.yaml

Adding CA certificate fingerprint

Elasticsearch must communicate with TLS, including Kubernetes internally. Therefore, the SSL fingerprint of a new Elasticsearch instance must be set to the backend as env ELASTICSEARCH_HTTP_CA_CERTIFICATE. This must only be done when a new Elasticsearch instance is created, not with every deploy.

kubectl/oc rsh dave-elasticsearch-master-0
$ openssl x509 -fingerprint -sha256 -nocert -in /opt/bitnami/elasticsearch/config/certs/tls.crt | cut -d= -f2

Add this fingerprint as Environment Variable ELASTICSEARCH_HTTPCACERTIFICATE to your locale backend.extraEnvVars.env.

We are looking for an automatic solution https://github.com/it-at-m/helm-charts/issues/106.

Deploy dave with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has dave 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 chartdave is pinned at v0.2.22 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