Skip to content

ZeroGachis/metabase-helm-chart

Repository files navigation

Metabase Helm Chart

License Helm Chart Kubernetes

A production-ready Helm chart for deploying Metabase on Kubernetes with support for both generic and organization-specific configurations.

🚀 Quick Start

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.0+
  • Traefik 2.0+ (for IngressRoute)
  • Vault Secrets Operator (for secret management)

Helm Repository

This chart is available in the Smartway Helm repository:

# Add the repository
helm repo add metabase-helm http://metabase-helm.smartway.tools/
helm repo update

# List available charts
helm search repo metabase-helm

Installation

# Add the Helm repository
helm repo add metabase-helm http://metabase-helm.smartway.tools/
helm repo update

# Install with default values
helm install metabase metabase-helm

# Or install with custom values
helm install metabase metabase-helm -f custom-values.yaml

# Alternative: Install from local chart
helm install metabase ./charts/metabase

🛠️ Customization

For a complete list of all available configuration options with detailed descriptions, see the values.yaml file and README.md associated .

Development

Contributing to the Project

This project uses mise for development tooling and task management. When developing new features or making changes to the Helm chart, you can use the following mise tasks:

Documentation Generation

Generate or update the chart documentation:

# Generate Helm chart documentation
mise run helm:docs

# Template the chart to validate changes
mise run helm:template

Chart Testing and Validation

Validate your changes using chart-testing:

# Lint the chart (without version bump check)
mise run ct:lint

# Lint with specific target branch
mise run ct:lint_with_target main

# Test chart installation
mise run ct:install

# Test installation with specific target branch
mise run ct:install_with_target main

# List changed charts
mise run ct:list_changed

Local Development Environment

Set up a local Kubernetes cluster for testing:

# Create a kind cluster with Vault and Traefik
mise run kind:create

# Setup Vault and Traefik on existing cluster
mise run kind:setup

# Clean up when done
mise run kind:delete

Development Workflow

  1. Make your changes to the chart templates or values
  2. Generate documentation with mise run helm:docs
  3. Validate templates with mise run helm:template
  4. Lint the chart with mise run ct:lint
  5. Test installation with mise run ct:install
  6. Commit your changes with proper conventional commit messages

For a complete list of available mise tasks, see the .config/mise/config.toml file.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🆘 Support

About

Helm Chart to deploy a Metabase instance

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors