Disable olm and flux by default
This commit is contained in:
@@ -2,6 +2,7 @@ const VERSION="5.0.14";
|
||||
const SRC=src;
|
||||
const DEST=dest;
|
||||
const DOIT=config.apply;
|
||||
const PURGE=config.purge;
|
||||
const crdFiles=[
|
||||
"apiextensions.k8s.io_v1_CustomResourceDefinition_miniojobs.job.min.io.yaml",
|
||||
"apiextensions.k8s.io_v1_CustomResourceDefinition_policybindings.sts.min.io.yaml",
|
||||
@@ -16,7 +17,7 @@ fn pre_install() {
|
||||
}
|
||||
}
|
||||
fn post_destroy() {
|
||||
if ! global::DOIT {
|
||||
if ! global::PURGE {
|
||||
return;
|
||||
}
|
||||
for file in global::crdFiles {
|
||||
|
||||
@@ -6,16 +6,21 @@ metadata:
|
||||
name: minio
|
||||
description: CRD for minio
|
||||
options:
|
||||
release:
|
||||
default: 8.2.0-2.1.1
|
||||
examples:
|
||||
- 8.2.0-2.1.1
|
||||
type: string
|
||||
apply:
|
||||
default: true
|
||||
examples:
|
||||
- true
|
||||
type: boolean
|
||||
purge:
|
||||
default: false
|
||||
examples:
|
||||
- false
|
||||
type: boolean
|
||||
release:
|
||||
default: 8.2.0-2.1.1
|
||||
examples:
|
||||
- 8.2.0-2.1.1
|
||||
type: string
|
||||
dependencies: []
|
||||
providers: null
|
||||
tfaddtype: null
|
||||
|
||||
Reference in New Issue
Block a user