From dc30f0180e55d35c072da54cfc1e52e475fa8d1b Mon Sep 17 00:00:00 2001 From: Alexandre Lamarre Date: Tue, 7 Jan 2025 12:27:51 -0500 Subject: [PATCH] fix crd generation path Signed-off-by: Alexandre Lamarre --- crds/dep/{crds.yaml => }/helmchartconfigs.yaml | 0 crds/dep/{crds.yaml => }/helmcharts.yaml | 0 crds/{crds.yaml => }/helmreleases.yaml | 0 crds/{crds.yaml => }/projecthelmcharts.yaml | 0 internal/codegen/crd/main.go | 4 ++-- 5 files changed, 2 insertions(+), 2 deletions(-) rename crds/dep/{crds.yaml => }/helmchartconfigs.yaml (100%) rename crds/dep/{crds.yaml => }/helmcharts.yaml (100%) rename crds/{crds.yaml => }/helmreleases.yaml (100%) rename crds/{crds.yaml => }/projecthelmcharts.yaml (100%) diff --git a/crds/dep/crds.yaml/helmchartconfigs.yaml b/crds/dep/helmchartconfigs.yaml similarity index 100% rename from crds/dep/crds.yaml/helmchartconfigs.yaml rename to crds/dep/helmchartconfigs.yaml diff --git a/crds/dep/crds.yaml/helmcharts.yaml b/crds/dep/helmcharts.yaml similarity index 100% rename from crds/dep/crds.yaml/helmcharts.yaml rename to crds/dep/helmcharts.yaml diff --git a/crds/crds.yaml/helmreleases.yaml b/crds/helmreleases.yaml similarity index 100% rename from crds/crds.yaml/helmreleases.yaml rename to crds/helmreleases.yaml diff --git a/crds/crds.yaml/projecthelmcharts.yaml b/crds/projecthelmcharts.yaml similarity index 100% rename from crds/crds.yaml/projecthelmcharts.yaml rename to crds/projecthelmcharts.yaml diff --git a/internal/codegen/crd/main.go b/internal/codegen/crd/main.go index dd526d5a..c5097aba 100644 --- a/internal/codegen/crd/main.go +++ b/internal/codegen/crd/main.go @@ -16,8 +16,8 @@ func main() { logrus.Fatal(err) } - crdPath := "./crds/crds.yaml" - depCrdPath := "./crds/dep/crds.yaml" + crdPath := "./crds" + depCrdPath := "./crds/dep" tracker := commoncrds.NewCRDTracker( append( lockercrd.Required(),