https://github.com/simonswine/crd-jsonnet-gen
https://github.com/simonswine/crd-jsonnet-gen
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/simonswine/crd-jsonnet-gen
- Owner: simonswine
- Created: 2020-01-04T00:14:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-04T00:15:03.000Z (over 6 years ago)
- Last Synced: 2026-03-04T20:28:44.091Z (3 months ago)
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# crd-jsonnet-gen
This is a PoC for generating Jsonnet from CRD specs
## Example
```
# Build binary
go build
# Generate Jsonnet from cert-manager
./crd-jsonnet-gen github.com/jetstack/cert-manager/pkg/apis > examples/cert-manager.libsonnet
# Generate Jsonnet from contour
./crd-jsonnet-gen github.com/projectcontour/contour/apis/contour/v1beta1 > examples/contour.libsonnet
```