g.crd/setup scaffold myresource.stable.example.com --version v1 --kind MyResource Catch errors before reaching the cluster:
g.crd/setup deploy --context prod-cluster --wait 60s Preview what will change compared to the live cluster: g.crd/setup
git clone https://github.com/g-crd/setup.git cd setup make build ./bin/setup version After installation, you must initialize the workspace. This creates the default directory structure and configuration file. g.crd/setup
- name: Deploy CRDs run: | g.crd/setup deploy \ --kubeconfig $ secrets.KUBECONFIG \ --dry-run=false \ --output summary g.crd/setup
g.crd/setup validate ./crd/base/*.yaml Roll out the CRDs to your connected Kubernetes cluster: