Adjust generate-yamls.sh due to pkg/embeddedyamls/yamls.go removal

...from submariner-operator in lieu of using Go embed functionality.
The charts project needs to obtain the RBAC and CRD yaml files from the
submariner, submariner-operator and mcs-api projects. To achieve this,
define a simple Go file that statically references the packages
containing the desired embed.go and yaml files. The generate-yamls.sh
script uses 'go mod' commands to create the go.mod file and vendor
directory, which also downloads the yaml files.

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
This commit is contained in:
Tom Pantelis
2025-08-20 09:49:08 -04:00
committed by Thomas Pantelis
parent 2d26f4a2e4
commit 75074350ef
4 changed files with 100 additions and 68 deletions
+3 -1
View File
@@ -6,7 +6,9 @@ Makefile.dapper
Makefile.shipyard
Dockerfile.*
helm_repo
yamls
yamls/go.mod
yamls/go.sum
yamls/vendor
submariner-k8s-broker/crds/crd.yaml
submariner-k8s-broker/templates/_role.tpl
submariner-operator/crds/crd.yaml