consul-ops-hub
by HashiCorp
Helm chart for Consul Ops Hub. Installs the Consul Ops Hub binary (API + embedded UI), Consul API Gateway, ServiceDefaults, and ServiceIntentions into an existing Consul cluster (hashicorp/consul >= 2.0.3). Optional Neo4j subchart (neo4j.install.enabled=true): Installs Neo4j in-cluster via the official neo4j/neo4j chart. The Consul Ops Hub pod will not start until Neo4j is accepting bolt connections. Requires: helm repo add neo4j https://helm.neo4j.com/neo4j helm dependency update Optional auth addon (auth.enabled=true): Deploys Keycloak + oauth2-proxy wired to the gateway via builtin/ext-authz. Every request to Consul Ops Hub is validated by oauth2-proxy before it is forwarded. Prerequisites: - Consul already installed via: helm install consul hashicorp/consul --version 2.0.3 - Neo4j running (externally) OR neo4j.install.enabled=true Install (external Neo4j, no auth): helm install coh ./consul-ops-hub \ --namespace <consul-namespace> \ -f values-coh.yaml Install (bundled Neo4j): helm install coh ./consul-ops-hub \ --namespace <consul-namespace> \ --set neo4j.install.enabled=true \ --set neo4j.password=<strong-password> \ -f values-coh.yaml Install (with auth addon): helm install coh ./consul-ops-hub \ --namespace <consul-namespace> \ --set auth.enabled=true \ --set auth.publicUrl=https://coh.example.com \ --set auth.keycloak.adminPassword=<strong-password> \ --set auth.oauth2proxy.clientSecret=<oidc-client-secret> \ --set auth.oauth2proxy.cookieSecret=<32-char-random-string> \ -f values-coh.yaml
About this chart
This chart has no README on Artifact Hub.
Deploy consul-ops-hub with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has consul-ops-hub 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 chartconsul-ops-hub is pinned at v1.0.0 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