File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,9 +128,17 @@ jobs:
128128 },
129129 };
130130
131+ const kubeconformSchemaLocations = [
132+ "default",
133+ "https://raw.githubusercontent.com/hoverkraft-tech/crds-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json",
134+ "https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json",
135+ ];
136+
131137 const defaultLinterVariables = {
132138 KUBERNETES_KUBECONFORM_OPTIONS:
133- "-schema-location default -schema-location https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json",
139+ kubeconformSchemaLocations
140+ .map((schemaLocation) => `-schema-location ${schemaLocation}`)
141+ .join(" "),
134142 };
135143
136144 function parseEnvironmentLines(serializedEnvironment) {
You can’t perform that action at this time.
0 commit comments