Skip to content

metalbear-co/charts

Repository files navigation

MetalBear Helm Charts

Overview

This repository contains Helm charts for deploying mirrord components to Kubernetes:


mirrord Operator

The mirrord Operator is a Kubernetes component that facilitates the concurrent use of mirrord by multiple team members.

For full feature details, visit the mirrord pricing page.


mirrord License Server

The mirrord License Server enables on-prem license seat tracking without any data leaving your infrastructure. It aggregates metrics across clusters and provides centralized license visibility.

⚠️ Only available in the Enterprise plan.


Quick Start

Add the MetalBear Helm repo:

helm repo add metalbear https://metalbear-co.github.io/charts

Download the default values file:

curl https://raw.githubusercontent.com/metalbear-co/charts/main/mirrord-operator/values.yaml --output values.yaml

Edit values.yaml to include your license:

  • Team license key: insert your key in the license field.
  • Enterprise license .pem: paste your certificate content.

Configure TLS:

  • Option A: Use your own cert (certManager.enabled: false) and provide tls.crt / tls.key.
  • Option B: Enable certManager.enabled: true and install cert-manager.

Install the operator:

helm install -f values.yaml mirrord-operator metalbear/mirrord-operator

Advanced Configuration

Operator License

🧑‍💻 Team License

Set the license key directly:

license:
  key: "my-team-license-key"

Or use a Kubernetes secret:

license:
  keyRef: "my-secret:OPERATOR_LICENSE_KEY"

🧑‍💼 Enterprise License

Paste the .pem certificate:

license:
  file:
    data:
      license.pem: |
        -----BEGIN CERTIFICATE-----
        ...
        -----END CERTIFICATE-----
        -----BEGIN PRIVATE KEY-----
        ...
        -----END PRIVATE KEY-----

Or reference a secret:

license:
  pemRef: "mirrord-operator-license-pem:license.pem"

Namespace & Role Configuration

Specify the namespace and control role-based access:

namespace: mirrord
createNamespace: true
roleNamespaces: []

Set user privileges using role and clusterRole labels:

role:
  mirrord-operator-user:
    labels:
      team: platform

clusterRole:
  mirrord-operator-user-basic:
    labels:
      team: basic
  mirrord-operator-user:
    labels:
      team: platform

Learn more about copy-target namespaces.


Operator Settings

Basic configuration:

operator:
  image: ghcr.io/metalbear-co/operator
  podAnnotations:
    prometheus.io/scrape: "true"
  ## Applied only to pods.
  podLabels:
    environment: staging
  ## Applied to ALL resources (Deployment, Service, etc).
  labels:
    team: platform
  limits:
    cpu: 200m
    memory: 200Mi
  metrics: true
  extraEnv:
    OPERATOR_METRICS_ADDR: "0.0.0.0:9000"
  disableTelemetries: false
  port: 443
  imagePullSecrets:
    - name: regcred
  jsonLog: false

Feature Toggles

👥 SQS Splitting

Enable SQS message routing for shared queues:

operator:
  sqsSplitting: true

More info: SQS Splitting Docs

🪶 Kafka Splitting

Enable topic-level session isolation for Kafka:

operator:
  kafkaSplitting: true
  idleKafkaSplitTtlMillis: 30000

Learn about:

📝 Copy Target

Control agent image usage:

operator:
  copyTarget:
    useAgentImage: true

mirrord-agent Configuration

Customize the mirrord-agent container:

agent:
  image: ghcr.io/metalbear-co/agent
  port: 7777
  tls: true
  extraConfig:
    agent:
      metrics: "0.0.0.0:9000"
      annotations:
        prometheus.io/scrape: "true"
      log_level: "mirrord=debug,warn"

Refer to the agent configuration docs for more details.


mirrord License Server

mirrord-license-server

Configure this chart if you use a .pem license and want full control of your seat usage on-premise. See full instructions in the license server docs.


Useful Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 11