Disable olm and flux by default
This commit is contained in:
@@ -2,6 +2,7 @@ const VERSION="2.13.1";
|
||||
const SRC=src;
|
||||
const DEST=dest;
|
||||
const DOIT=config.apply;
|
||||
const PURGE=config.purge;
|
||||
const sourcesDir=`https://github.com/kedacore/keda/releases/download/v${VERSION}`;
|
||||
const sources=[
|
||||
`keda-${VERSION}-crds.yaml`
|
||||
@@ -27,7 +28,7 @@ fn pre_install() {
|
||||
}
|
||||
}
|
||||
fn post_destroy() {
|
||||
if ! global::DOIT {
|
||||
if ! global::PURGE {
|
||||
return;
|
||||
}
|
||||
for file in global::crdFiles {
|
||||
|
||||
@@ -11,6 +11,11 @@ options:
|
||||
examples:
|
||||
- true
|
||||
type: boolean
|
||||
purge:
|
||||
default: false
|
||||
examples:
|
||||
- false
|
||||
type: boolean
|
||||
dependencies: []
|
||||
providers: null
|
||||
tfaddtype: null
|
||||
|
||||
Reference in New Issue
Block a user