Disable olm and flux by default

This commit is contained in:
2024-04-07 14:38:21 +02:00
parent 451fdb09fc
commit 05ce097727
34 changed files with 191 additions and 103 deletions

View File

@@ -2,6 +2,7 @@ const VERSION="0.6.3";
const SRC=src;
const DEST=dest;
const DOIT=config.apply;
const PURGE=config.purge;
const sourcesDir=`https://github.com/k8snetworkplumbingwg/whereabouts/raw/v${VERSION}/doc/crds`;
const sources=[
"whereabouts.cni.cncf.io_ippools.yaml",
@@ -25,7 +26,7 @@ fn pre_install() {
}
}
fn post_destroy() {
if ! global::DOIT {
if ! global::PURGE {
return;
}
for file in global::crdFiles {