Files
Isaiah Olson 5654ac4e3d Initial support for FoundationDB operator
Signed-off-by: Isaiah Olson <isaiah@olson-network.com>
2025-09-17 01:16:09 -05:00

19 lines
949 B
Makefile

export NAME=foundationdb-operator
export NAMESPACE=cozy-$(NAME)
include ../../../scripts/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