Move common-envs.mk and package.mk from scripts/ to hack/ directory. Update all Makefile includes to use new paths. Remove unused issue-flux-certificates.sh script. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
19 lines
No EOL
946 B
Makefile
19 lines
No EOL
946 B
Makefile
export NAME=foundationdb-operator
|
|
export NAMESPACE=cozy-$(NAME)
|
|
|
|
include ../../../hack/package.mk
|
|
|
|
update:
|
|
rm -rf charts
|
|
git clone --depth 1 --branch v2.13.0 https://github.com/FoundationDB/fdb-kubernetes-operator.git tmp-repo
|
|
mkdir -p charts
|
|
cp -r tmp-repo/charts/fdb-operator charts/
|
|
# Remove symlinked CRDs and replace with actual files
|
|
rm -f charts/fdb-operator/crds/apps.foundationdb.org_foundationdbbackups.yaml
|
|
rm -f charts/fdb-operator/crds/apps.foundationdb.org_foundationdbclusters.yaml
|
|
rm -f charts/fdb-operator/crds/apps.foundationdb.org_foundationdbrestores.yaml
|
|
cp tmp-repo/config/crd/bases/apps.foundationdb.org_foundationdbbackups.yaml charts/fdb-operator/crds/
|
|
cp tmp-repo/config/crd/bases/apps.foundationdb.org_foundationdbclusters.yaml charts/fdb-operator/crds/
|
|
cp tmp-repo/config/crd/bases/apps.foundationdb.org_foundationdbrestores.yaml charts/fdb-operator/crds/
|
|
rm -rf tmp-repo
|
|
rm -rf charts/fdb-operator/charts
|