https://github.com/zaubernerd/crd-to-cdktf
Turn Kubernetes Custom Resource Definitions (CRDs) into typesafe CDKTF constructs
https://github.com/zaubernerd/crd-to-cdktf
Last synced: about 1 month ago
JSON representation
Turn Kubernetes Custom Resource Definitions (CRDs) into typesafe CDKTF constructs
- Host: GitHub
- URL: https://github.com/zaubernerd/crd-to-cdktf
- Owner: ZauberNerd
- License: mit
- Created: 2024-06-15T18:22:37.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-02-11T23:58:23.000Z (4 months ago)
- Last Synced: 2025-05-05T20:12:48.633Z (about 1 month ago)
- Language: JavaScript
- Size: 55.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# crd-to-cdktf
Turn Kubernetes Custom Resource Definitions (CRDs) into typesafe CDKTF constructs
## Installation
Install `crd-to-cdktf` as an npm dependency in your project:
```sh
npm i -D crd-to-cdktf
```Or download `crd-to-cdktf` as a [single executable application](https://nodejs.org/api/single-executable-applications.html)
from the [releases](https://github.com/ZauberNerd/crd-to-cdktf/releases/latest) page.## Usage
```plain
Usage: crd-to-cdktf [OPTIONS] [FILE]
When FILE is not provided, read from stdin.
Options:
-h, --help Print this help message
-o, --output Output directory
Examples:
kubectl get crds -o yaml | crd-to-cdktf -o crds
crd-to-cdktf mycrd.yaml -o crds
```