Skip to main content
Flux is a declarative GitOps tool that uses Kubernetes-native Custom Resources to manage deployments. This guide covers installing Pangolin and Newt using Flux.

Flux prerequisites

  • Kubernetes 1.25+
  • flux CLI installed: Flux install guide
  • Git repository for configuration (optional, can use built-in sources)
  • GitHub, GitLab, or other Git provider account (optional)
Install Flux CLI:

Install Flux on your cluster

Option 1: Bootstrap Flux from GitHub

Flux bootstrap automatically installs Flux and configures Git sync:
This creates the Git repository structure and installs Flux components.

Option 2: Manual Flux installation

Install Pangolin with Flux using HelmRelease

Step 1: Create HelmRepository

Define the Fossorial Helm chart repository:
Apply:

Step 2: Create Pangolin HelmRelease

Create namespace:
Apply:

Step 3: Monitor reconciliation

Install Newt with Flux using HelmRelease

Step 1: Create Newt auth secret

Step 2: Create Newt HelmRelease

Apply:

Step 3: Verify

Using Flux with Git repository (GitOps)

Store Flux configuration in Git and have Flux automatically reconcile changes:

Repository structure

GitRepository for configuration

Kustomization for syncing

Flux watches clusters/production in Git and auto-applies all resources.

Using Flux with Kustomize overlays

Manage environment-specific overlays with Flux:

Repository structure

Kustomization resource

Flux builds and applies the Kustomize overlay automatically.

Using Flux with OCI Helm charts

If Helm charts are available in an OCI registry:

Advanced: Dependency ordering

Order HelmReleases to install dependencies first:
Flux ensures cert-manager reconciles before pangolin.

Advanced: valuesFrom ConfigMap/Secret

Store values in ConfigMaps or Secrets, referenced from HelmRelease:
Flux extracts values from the ConfigMap and applies them to the HelmRelease.

Troubleshooting Flux

Check Flux components

Check HelmRelease status

View reconciliation logs

Manual reconciliation

Suspend reconciliation

Resume reconciliation

Multi-environment example

Bootstrap multiple clusters

Each cluster reconciles its own clusters/*/ directory.

Repository structure

Each environment’s HelmRelease uses environment-specific values.

Next steps

GitOps Overview

Argo CD

Pangolin Configuration

Troubleshooting