Build kustomization locally

Render the final manifests offline with Flux substitutions, then validate server-side

flux build kustomization <name> --path ./ | kubectl apply --dry-run=server -f -

tool
flux29 commands
tags
fluxgitopscidebug

More flux commands

  • flux get images all -A

    Show all ImageRepositories, policies and update automations across namespaces

  • flux get image policy -A && flux get image repository -A

    See which tag each policy selected and last scan results per repository

  • flux create provider slack --type slack --secret-ref webhook && flux create alert prod --provider-ref slack --event-source 'Kustomization/*' --event-severity info

    Wire reconcile events to Slack via a provider+alert; note: webhook lives in a secret

  • flux create receiver github --type github --event github:push --secret-ref webhook-token --resource GitRepository/<name>

    Generate a webhook URL so git pushes trigger instant reconcile instead of polling

  • flux reconcile source git <name>

    Pull the latest commit now without touching dependent kustomizations

all 29 flux commands