G.crd/setup Patched Now

g.crd/setup diff --show-managed-fields For automated pipelines, use the --dry-run and --output flags.

- name: Deploy CRDs run: | g.crd/setup deploy \ --kubeconfig $ secrets.KUBECONFIG \ --dry-run=false \ --output summary g.crd/setup

apiVersion: g.crd/v1 kind: SetupConfig metadata: name: production-setup spec: crdRoot: ./crd validation: enabled: true schemaPath: ./schemas deployment: strategy: apply # Options: apply, create, server-side namespace: crd-system hooks: preInstall: ./scripts/pre-check.sh postInstall: ./scripts/notify.sh Once configured, you can leverage these essential commands: 1. Scaffold a New CRD Generate a boilerplate CRD with a typed specification: 2026 | Reading time: 4 minutes

curl -LO https://github.com/g-crd/setup/releases/download/v2.0.0/setup-linux-amd64 chmod +x setup-linux-amd64 sudo mv setup-linux-amd64 /usr/local/bin/g.crd/setup For developers who need the latest edge features: g.crd/setup

Published: April 14, 2026 | Reading time: 4 minutes

Back
Top