From 555e46dc8064fdeeefa6fb00c89dd12e3840a4be Mon Sep 17 00:00:00 2001 From: "Mathias V. Nielsen" <1547127+math280h@users.noreply.github.com> Date: Mon, 25 Mar 2024 07:42:37 -0400 Subject: [PATCH] Update Github Workflow CRDs documentation --- Readme.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Readme.md b/Readme.md index b32931b..2fc38c0 100644 --- a/Readme.md +++ b/Readme.md @@ -314,6 +314,14 @@ jobs: args: "-summary -output json kubeconfigs/" ``` +**Using CRDs in Github Workflow:** + +To use CRDs in github workflows, you must pass the schema-location value without `''` enclosing it: + +``` +-schema-location https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json +``` + _Note on pricing_: Kubeconform relies on Github Container Registry which is currently in Beta. During that period, [bandwidth is free](https://docs.github.com/en/packages/guides/about-github-container-registry). After that period, bandwidth costs might be applicable. Since bandwidth from Github Packages within Github Actions is free, I expect