Skip to main content

A tool to generate Kubernetes manifests from templates

Project description

✈️ make-argocd-fly

A powerful tool for generating ArgoCD Applications and their rendered Kubernetes resources from Helm, Kustomize, and Jinja2 — across multiple environments, at scale.

tests cov License: MIT


🔧 What It Does

make-argocd-fly lets you:

  • Render Helm charts and Kustomize overlays into plain Kubernetes manifests, so you know exactly what will be deployed
  • Add Jinja2-based templating for reusable parametrization
  • Automatically generate ArgoCD Application resources
  • Organize applications into a well-defined directory structure
  • Define multiple environments and control what gets deployed where

Think of it as a static GitOps generator for Kubernetes — rendering, organizing, and wiring your apps for ArgoCD.


🧩 The Rendered Manifest Pattern

The Kubernetes GitOps community recently introduced the Rendered Manifest Pattern as a best practice for managing applications with ArgoCD.

Instead of letting ArgoCD invoke Helm or Kustomize internally, you pre-render manifests outside the cluster and commit only plain YAML to Git. This makes your Git repo the single source of truth for the exact Kubernetes resources being deployed.

Why this matters

When ArgoCD runs Helm or Kustomize directly, you may hit problems like:

  • Version drift – different clusters use different plugin versions and render inconsistently
  • Debugging blind spots – failures happen inside ArgoCD, with no access to the rendered YAML
  • Unreviewable diffs – Git diffs show template changes, not the actual manifests applied
  • Limited portability – CI/CD, linters, and policy tools can’t easily check resources
  • Operational surprises – subtle plugin/env differences lead to unexpected drift

With pre-rendered manifests you gain:

  • Single source of truth – Git shows exactly what ArgoCD applies
  • Deterministic builds – no hidden differences across environments
  • Transparent reviews – PR diffs show actual Kubernetes changes
  • Pluggable checks – run linters and security scanners on YAML in CI
  • Simpler ops – ArgoCD only syncs plain YAML, reducing complexity

make-argocd-fly is a practical implementation of the Rendered Manifest Pattern. It automates rendering of Helm charts, Kustomize overlays, and Jinja2 templates, organizes them by environment, and generates ArgoCD Application resources pointing to the rendered output.


💡 Key Features

  • Helm rendering Render Helm charts into raw manifests.

  • Kustomize overlays Render Kustomize overlays into fully resolved Kubernetes manifests. See the full, flattened configuration before deployment.

  • Jinja2 templating Use variables, logic, and partials to build composable app definitions.

  • Multi-environment support Define once and deploy to multiple environments (e.g. dev, staging, prod) with clean separation of concerns.

  • ArgoCD Application generation Automatically generate Application CRs based on your configuration and environment layout.

  • Repeatable & Git-friendly Fully GitOps-compatible. Output is deterministic and fits naturally into pull request workflows.


📦 Installation

pip install make-argocd-fly

📁 Project Structure (Example)

config/
  ├── my_vars.yml              # Config file
  └── my_apps.yml              # Config file
source/
  ├── my_awesome_app/          # Application source resources
  └── monitoring/
        ├── prometheus/        # Application source resources
        └── grafana/           # Application source resources
output/
  └── my_env/                  # Environment name
        ├── my_awesome_app/    # Application YAML resources
        └── monitoring/
            ├── prometheus/    # Application YAML resources
            └── grafana/       # Application YAML resources

🔄 Example Workflow

make-argocd-fly

What it does:

  • Applies Jinja2 templates with the right variables
  • Renders Helm and Kustomize into raw manifests
  • Generates Application manifests for ArgoCD
  • Organizes everything under ./output/

📘 Documentation


📣 Community & Feedback


🛡 License

MIT License – see LICENSE for full text.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

make_argocd_fly-0.4.7.tar.gz (160.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

make_argocd_fly-0.4.7-py3-none-any.whl (254.3 kB view details)

Uploaded Python 3

File details

Details for the file make_argocd_fly-0.4.7.tar.gz.

File metadata

  • Download URL: make_argocd_fly-0.4.7.tar.gz
  • Upload date:
  • Size: 160.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.11.15

File hashes

Hashes for make_argocd_fly-0.4.7.tar.gz
Algorithm Hash digest
SHA256 cd414387f639f0e8baa75dd83401ec550759ca4940dae625cc4b776bc0235254
MD5 2ca8455eab85e668cb22312561cdc7aa
BLAKE2b-256 89fab59065c720ba44d96efbf0a1d289340eaa377e95d8afc3b988477d3289bc

See more details on using hashes here.

File details

Details for the file make_argocd_fly-0.4.7-py3-none-any.whl.

File metadata

  • Download URL: make_argocd_fly-0.4.7-py3-none-any.whl
  • Upload date:
  • Size: 254.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.11.15

File hashes

Hashes for make_argocd_fly-0.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6c2dee7e9214e89e950db0c18aded873cc2d279692d07049e76ddfddc40499b0
MD5 1dca08f3b06460a6914239bfe2325f09
BLAKE2b-256 e603168c752943c7057bdb6192bb07b42512346904b634ef0d84cf3727edfa15

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page