crd2pulumi
« Back to VersTracker
Description:
Generate typed CustomResources from a Kubernetes CustomResourceDefinition
Type: Formula  |  Latest Version: 1.6.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  @pulumi  |  formulae.brew.sh
Category: Devops
Tags: kubernetes pulumi crd devops sdk-generation infrastructure-as-code
Install: brew install crd2pulumi
About:
crd2pulumi is a CLI tool that automates the generation of strongly-typed Pulumi SDKs from Kubernetes CustomResourceDefinition (CRD) YAML files. It translates CRD schemas into native classes and types for languages like TypeScript, Python, Go, and C#. This enables developers to interact with custom Kubernetes resources using full IDE autocompletion and compile-time safety.
Key Features:
  • Generates multi-language SDKs (TypeScript, Python, Go, C#)
  • Produces strongly-typed resource classes based on CRD schemas
  • Integrates directly with Pulumi for seamless infrastructure-as-code
  • Supports complex CRD features like validation and multiple versions
Use Cases:
  • Building type-safe Pulumi programs that provision custom Kubernetes operators
  • Simplifying the management of complex CRDs in a team environment
  • Automating SDK generation in CI/CD pipelines for CRD updates
Alternatives:
  • pulumi-kubernetes (raw YAML) – Using raw YAML or untyped maps lacks compile-time validation and IDE support for custom resources.
  • kubebuilder / operator-sdk – These are for building Kubernetes operators themselves, not for generating Pulumi SDKs to consume them.
Version History
Detected Version Rev Change Commit
Oct 21, 2025 10:55pm 0 VERSION_BUMP e826d6bf