fix: dont embed all schemas in themselves
All checks were successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful

This commit is contained in:
Robert Kaussow 2024-03-26 13:59:05 +01:00
parent 543151ff52
commit 71b669d7e8
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -4,6 +4,7 @@
{{- $filelist := file.ReadDir $path }}
{{- $length := len $filelist}}
{{- range $i, $item := $filelist }}
{{- if $item | strings.HasPrefix "all-" }}{{ continue }}{{ end }}
{{- if $i }},{{ end }}
{
"$ref": "https://gitea.rknet.org/infra/crds-catalog/raw/branch/catalog/{{ $path | path.Base }}/{{ $item }}"