gtm

by XROW GmbH

Helm chartv1.0.2App 0.0.0Verified publisher

A Helm chart for Google Tag Manager

About this chart

Google Tag Manager Helm Chart

Replace xxx with your server container ID.

'values.yml' config

tracking:
  extraEnv:
  - name: "CONTAINER_CONFIG"
    value: "xxx"
  - name: "PREVIEW_SERVER_URL"
    value: "https://preview-tracking.xrow.de"
  ingress:
    enabled: true
    annotations:
      cert-manager.io/cluster-issuer: letsencrypt-prod
    hosts:
    - host: tracking.xrow.de
      paths: ["/"]
    tls:
    - secretName: tracking-tls
      hosts:
      - tracking.xrow.de

preview:
  extraEnv:
  - name: "CONTAINER_CONFIG"
    value: "xxx"
  ingress:
    enabled: true
    annotations:
      cert-manager.io/cluster-issuer: letsencrypt-prod
    hosts:
    - host: preview-tracking.xrow.de
      paths: ["/"]
    tls:
    - secretName: preview-tracking-tls
      hosts:
      - preview-tracking.xrow.de

Deploy gtm with OpenTenant

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