Skip to content

jault3/creg

Repository files navigation

CREG - Custom ResourcE Generator

CREG is a website for generating and validating a Custom Resource (CR) from a Kubernetes Custom Resource Definition (CRD). CREG can be used to build a CR from scratch, or validate an already existing one to figure out exactly which lines violate the CRD schema.

demo image

Demo

View the demo site here https://jault3.github.io/creg/

Deploying

If you want to deploy CREG on your own infrastructure, you can use any of the options below.

Docker

A Docker image is made available on the GitHub registry.

docker pull ghcr.io/jault3/creg:v0.0.2

View all versions on the packages page

Kubernetes

Kubernetes manifests are provided in the manifests/ directory. You can deploy them with

kubectl apply -k https://raw.githubusercontent.com/jault3/creg/v0.0.2/manifests/kustomization.yaml

Or use them as a base in your own Kustomization

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://raw.githubusercontent.com/jault3/creg/v0.0.2/manifests/kustomization.yaml
patches:
- <your-patch-files>

Static files

Each release creates a creg-prod.zip file you can download directly from the releases page. These builds assume CREG will be hosted at the root path /. If you need to change that path, please see the Running locally.

Running locally

To get up and running locally, run:

npm i
npm start

If you want to create your own production build, run:

npm run build

You can also set the PUBLIC_URL environment variable if you will be hosting CREG on a path other than /. For example:

PUBLIC_URL=/creg/ npm run build

Take the resulting build/ directory and deploy it to your own webserver.

Third Party Libraries

CREG makes use of the following libraries:

About

Custom ResourcE Generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages