diff --git a/core/olm/operators.coreos.com_v1_OperatorGroup_olm-operators.yaml b/core/olm/operators.coreos.com_v1_OperatorGroup_olm-operators.yaml deleted file mode 100644 index 5eb5c01..0000000 --- a/core/olm/operators.coreos.com_v1_OperatorGroup_olm-operators.yaml +++ /dev/null @@ -1,8 +0,0 @@ -apiVersion: operators.coreos.com/v1 -kind: OperatorGroup -metadata: - name: olm-operators - namespace: olm -spec: - targetNamespaces: - - olm \ No newline at end of file diff --git a/crd/argo-cd/index.rhai b/crd/argo-cd/index.rhai index 4856bd1..84bac50 100644 --- a/crd/argo-cd/index.rhai +++ b/crd/argo-cd/index.rhai @@ -2,6 +2,7 @@ const VERSION="2.10.4"; const SRC=src; const DEST=dest; const DOIT=config.apply; +const PURGE=config.purge; const crdFiles=[ "apiextensions.k8s.io_v1_CustomResourceDefinition_applications.argoproj.io.yaml", "apiextensions.k8s.io_v1_CustomResourceDefinition_applicationsets.argoproj.io.yaml", @@ -16,7 +17,7 @@ fn pre_install() { } } fn post_destroy() { - if ! global::DOIT { + if ! global::PURGE { return; } for file in global::crdFiles { diff --git a/crd/argo-cd/index.yaml b/crd/argo-cd/index.yaml index 216ecc8..0d3af52 100644 --- a/crd/argo-cd/index.yaml +++ b/crd/argo-cd/index.yaml @@ -11,6 +11,11 @@ options: examples: - true type: boolean + purge: + default: false + examples: + - false + type: boolean dependencies: [] providers: null tfaddtype: null diff --git a/crd/argo-events/index.rhai b/crd/argo-events/index.rhai index 1e9c27e..1d42d7c 100644 --- a/crd/argo-events/index.rhai +++ b/crd/argo-events/index.rhai @@ -2,6 +2,7 @@ const VERSION="1.9.1"; const SRC=src; const DEST=dest; const DOIT=config.apply; +const PURGE=config.purge; const crdFiles=[ "apiextensions.k8s.io_v1_CustomResourceDefinition_eventbus.argoproj.io.yaml", "apiextensions.k8s.io_v1_CustomResourceDefinition_eventsources.argoproj.io.yaml", @@ -16,7 +17,7 @@ fn pre_install() { } } fn post_destroy() { - if ! global::DOIT { + if ! global::PURGE { return; } for file in global::crdFiles { diff --git a/crd/argo-events/index.yaml b/crd/argo-events/index.yaml index 6eb3bec..bb288d3 100644 --- a/crd/argo-events/index.yaml +++ b/crd/argo-events/index.yaml @@ -11,6 +11,11 @@ options: examples: - true type: boolean + purge: + default: false + examples: + - false + type: boolean dependencies: [] providers: null tfaddtype: null diff --git a/crd/argo-workflows/index.rhai b/crd/argo-workflows/index.rhai index 5b2b6c8..1461822 100644 --- a/crd/argo-workflows/index.rhai +++ b/crd/argo-workflows/index.rhai @@ -2,6 +2,7 @@ const VERSION="3.5.5"; const SRC=src; const DEST=dest; const DOIT=config.apply; +const PURGE=config.purge; const crdFiles=[ "apiextensions.k8s.io_v1_CustomResourceDefinition_clusterworkflowtemplates.argoproj.io.yaml", "apiextensions.k8s.io_v1_CustomResourceDefinition_cronworkflows.argoproj.io.yaml", @@ -21,7 +22,7 @@ fn pre_install() { } } fn post_destroy() { - if ! global::DOIT { + if ! global::PURGE { return; } for file in global::crdFiles { diff --git a/crd/argo-workflows/index.yaml b/crd/argo-workflows/index.yaml index d09123f..d77936e 100644 --- a/crd/argo-workflows/index.yaml +++ b/crd/argo-workflows/index.yaml @@ -11,6 +11,11 @@ options: examples: - true type: boolean + purge: + default: false + examples: + - false + type: boolean dependencies: [] providers: null tfaddtype: null diff --git a/crd/fission/index.rhai b/crd/fission/index.rhai index 3d07b36..01cbf94 100644 --- a/crd/fission/index.rhai +++ b/crd/fission/index.rhai @@ -2,6 +2,7 @@ const VERSION="1.20.1"; const SRC=src; const DEST=dest; const DOIT=config.apply; +const PURGE=config.purge; const crdFiles=[ "apiextensions.k8s.io_v1_CustomResourceDefinition_canaryconfigs.fission.io.yaml", "apiextensions.k8s.io_v1_CustomResourceDefinition_environments.fission.io.yaml", @@ -27,7 +28,7 @@ fn pre_install() { } } fn post_destroy() { - if ! global::DOIT { + if ! global::PURGE { return; } for file in global::crdFiles { diff --git a/crd/fission/index.yaml b/crd/fission/index.yaml index 194b3f1..ab87dcb 100644 --- a/crd/fission/index.yaml +++ b/crd/fission/index.yaml @@ -11,6 +11,11 @@ options: examples: - true type: boolean + purge: + default: false + examples: + - false + type: boolean dependencies: [] providers: null tfaddtype: null diff --git a/crd/flux/index.rhai b/crd/flux/index.rhai index a2e249b..06e725a 100644 --- a/crd/flux/index.rhai +++ b/crd/flux/index.rhai @@ -2,6 +2,7 @@ const VERSION="2.2.3"; const SRC=src; const DEST=dest; const DOIT=config.apply; +const PURGE=config.purge; const crdFiles=[ "apiextensions.k8s.io_v1_CustomResourceDefinition_alerts.notification.toolkit.fluxcd.io.yaml", "apiextensions.k8s.io_v1_CustomResourceDefinition_buckets.source.toolkit.fluxcd.io.yaml", @@ -29,7 +30,7 @@ fn pre_install() { } } fn post_destroy() { - if ! global::DOIT { + if ! global::PURGE { return; } for file in global::crdFiles { diff --git a/crd/flux/index.yaml b/crd/flux/index.yaml index 09d22b7..684a513 100644 --- a/crd/flux/index.yaml +++ b/crd/flux/index.yaml @@ -11,6 +11,11 @@ options: examples: - true type: boolean + purge: + default: false + examples: + - false + type: boolean dependencies: [] providers: null tfaddtype: null diff --git a/crd/jaeger/index.rhai b/crd/jaeger/index.rhai index 3c5ed22..2f18469 100644 --- a/crd/jaeger/index.rhai +++ b/crd/jaeger/index.rhai @@ -2,6 +2,7 @@ const VERSION="1.53.0"; const SRC=src; const DEST=dest; const DOIT=config.apply; +const PURGE=config.purge; const crdFiles=[ "apiextensions.k8s.io_v1_CustomResourceDefinition_jaegers.jaegertracing.io.yaml", ]; @@ -17,7 +18,7 @@ fn pre_install() { } } fn post_destroy() { - if ! global::DOIT { + if ! global::PURGE { return; } for file in global::crdFiles { diff --git a/crd/jaeger/index.yaml b/crd/jaeger/index.yaml index 2f85efe..1bae4ff 100644 --- a/crd/jaeger/index.yaml +++ b/crd/jaeger/index.yaml @@ -11,6 +11,11 @@ options: examples: - true type: boolean + purge: + default: false + examples: + - false + type: boolean dependencies: [] providers: null tfaddtype: null diff --git a/crd/keda/index.rhai b/crd/keda/index.rhai index e4976be..62eb1c1 100644 --- a/crd/keda/index.rhai +++ b/crd/keda/index.rhai @@ -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 { diff --git a/crd/keda/index.yaml b/crd/keda/index.yaml index 42bd35b..81014a7 100644 --- a/crd/keda/index.yaml +++ b/crd/keda/index.yaml @@ -11,6 +11,11 @@ options: examples: - true type: boolean + purge: + default: false + examples: + - false + type: boolean dependencies: [] providers: null tfaddtype: null diff --git a/crd/minio/index.rhai b/crd/minio/index.rhai index 3e6fe87..23ad0a2 100644 --- a/crd/minio/index.rhai +++ b/crd/minio/index.rhai @@ -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 { diff --git a/crd/minio/index.yaml b/crd/minio/index.yaml index aaf263f..e038226 100644 --- a/crd/minio/index.yaml +++ b/crd/minio/index.yaml @@ -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 diff --git a/crd/olm/index.rhai b/crd/olm/index.rhai index 2f5bd88..a3312a1 100644 --- a/crd/olm/index.rhai +++ b/crd/olm/index.rhai @@ -2,6 +2,7 @@ const VERSION="0.27.0"; const SRC=src; const DEST=dest; const DOIT=config.apply; +const PURGE=config.purge; const sourcesDir=`https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v${VERSION}`; const sources=[ "crds.yaml" @@ -30,7 +31,7 @@ fn pre_install() { } } fn post_destroy() { - if ! global::DOIT { + if ! global::PURGE { return; } for file in global::crdFiles { diff --git a/crd/olm/index.yaml b/crd/olm/index.yaml index 26438ac..599ecb6 100644 --- a/crd/olm/index.yaml +++ b/crd/olm/index.yaml @@ -11,6 +11,11 @@ options: examples: - true type: boolean + purge: + default: false + examples: + - false + type: boolean dependencies: [] providers: null tfaddtype: null diff --git a/crd/opentelemetry/index.rhai b/crd/opentelemetry/index.rhai index 78188f4..d276a8e 100644 --- a/crd/opentelemetry/index.rhai +++ b/crd/opentelemetry/index.rhai @@ -1,6 +1,7 @@ const VERSION="0.93.0"; const SRC=src; const DEST=dest; +const PURGE=config.purge; const DOIT=config.apply; const crdFiles=[ "apiextensions.k8s.io_v1_CustomResourceDefinition_instrumentations.opentelemetry.io.yaml", @@ -16,7 +17,7 @@ fn pre_install() { } } fn post_destroy() { - if ! global::DOIT { + if ! global::PURGE { return; } for file in global::crdFiles { diff --git a/crd/opentelemetry/index.yaml b/crd/opentelemetry/index.yaml index c7ef5c8..ad8db05 100644 --- a/crd/opentelemetry/index.yaml +++ b/crd/opentelemetry/index.yaml @@ -11,6 +11,11 @@ options: examples: - true type: boolean + purge: + default: false + examples: + - false + type: boolean dependencies: [] providers: null tfaddtype: null diff --git a/crd/prometheus/index.rhai b/crd/prometheus/index.rhai index 6504bc2..b0672c1 100644 --- a/crd/prometheus/index.rhai +++ b/crd/prometheus/index.rhai @@ -2,6 +2,7 @@ const VERSION="0.71.0"; const SRC=src; const DEST=dest; const DOIT=config.apply; +const PURGE=config.purge; const sourcesDir=`https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v${VERSION}/example/prometheus-operator-crd`; const sources=[ "monitoring.coreos.com_alertmanagerconfigs.yaml", @@ -39,7 +40,7 @@ fn pre_install() { } } fn post_destroy() { - if ! global::DOIT { + if ! global::PURGE { return; } for file in global::crdFiles { diff --git a/crd/prometheus/index.yaml b/crd/prometheus/index.yaml index beefc12..b7ea06d 100644 --- a/crd/prometheus/index.yaml +++ b/crd/prometheus/index.yaml @@ -11,6 +11,11 @@ options: examples: - true type: boolean + purge: + default: false + examples: + - false + type: boolean dependencies: [] providers: null tfaddtype: null diff --git a/crd/rook/index.rhai b/crd/rook/index.rhai index 05da1b5..5b4bd61 100644 --- a/crd/rook/index.rhai +++ b/crd/rook/index.rhai @@ -2,6 +2,7 @@ const VERSION="1.13"; const SRC=src; const DEST=dest; const DOIT=config.apply; +const PURGE=config.purge; const sourcesDir=`https://github.com/rook/rook/raw/release-${VERSION}/deploy/examples`; const sources=[ "crds.yaml" @@ -41,7 +42,7 @@ fn pre_install() { } } fn post_destroy() { - if ! global::DOIT { + if ! global::PURGE { return; } for file in global::crdFiles { diff --git a/crd/rook/index.yaml b/crd/rook/index.yaml index 8548914..f408d59 100644 --- a/crd/rook/index.yaml +++ b/crd/rook/index.yaml @@ -11,6 +11,11 @@ options: examples: - true type: boolean + purge: + default: false + examples: + - false + type: boolean dependencies: [] providers: null tfaddtype: null diff --git a/crd/tekton-pipelines/index.rhai b/crd/tekton-pipelines/index.rhai index 240fcd5..6ee814e 100644 --- a/crd/tekton-pipelines/index.rhai +++ b/crd/tekton-pipelines/index.rhai @@ -2,6 +2,7 @@ const VERSION="0.57.0"; const SRC=src; const DEST=dest; const DOIT=config.apply; +const PURGE=config.purge; const sourcesDir=`https://storage.googleapis.com/tekton-releases/pipeline/previous/v${VERSION}`; const sources=[ "release.yaml", @@ -38,7 +39,7 @@ fn pre_install() { } } fn post_destroy() { - if ! global::DOIT { + if ! global::PURGE { return; } for file in global::crdFiles { diff --git a/crd/tekton-pipelines/index.yaml b/crd/tekton-pipelines/index.yaml index 886d640..b068726 100644 --- a/crd/tekton-pipelines/index.yaml +++ b/crd/tekton-pipelines/index.yaml @@ -6,16 +6,21 @@ metadata: name: tekton-pipelines description: CRD for tekton pipelines options: - operator_namespace: - default: tekton - examples: - - tekton - type: string apply: default: true examples: - true type: boolean + operator_namespace: + default: tekton + examples: + - tekton + type: string + purge: + default: false + examples: + - false + type: boolean dependencies: [] providers: null tfaddtype: null diff --git a/crd/tekton-triggers/index.rhai b/crd/tekton-triggers/index.rhai index 80a6175..e714fd8 100644 --- a/crd/tekton-triggers/index.rhai +++ b/crd/tekton-triggers/index.rhai @@ -2,6 +2,7 @@ const VERSION="0.26.1"; const SRC=src; const DEST=dest; const DOIT=config.apply; +const PURGE=config.purge; const sourcesDir=`https://storage.googleapis.com/tekton-releases/triggers/previous/v${VERSION}`; const sources=[ "release.yaml", @@ -33,7 +34,7 @@ fn pre_install() { } } fn post_destroy() { - if ! global::DOIT { + if ! global::PURGE { return; } for file in global::crdFiles { diff --git a/crd/tekton-triggers/index.yaml b/crd/tekton-triggers/index.yaml index 07758b9..78962bc 100644 --- a/crd/tekton-triggers/index.yaml +++ b/crd/tekton-triggers/index.yaml @@ -6,16 +6,21 @@ metadata: name: tekton-triggers description: CRD for tekton triggers options: - operator_namespace: - default: tekton - examples: - - tekton - type: string apply: default: true examples: - true type: boolean + operator_namespace: + default: tekton + examples: + - tekton + type: string + purge: + default: false + examples: + - false + type: boolean dependencies: [] providers: null tfaddtype: null diff --git a/crd/volumesnapshot/index.rhai b/crd/volumesnapshot/index.rhai index 0466280..11c8378 100644 --- a/crd/volumesnapshot/index.rhai +++ b/crd/volumesnapshot/index.rhai @@ -2,6 +2,7 @@ const VERSION="7.0"; const SRC=src; const DEST=dest; const DOIT=config.apply; +const PURGE=config.purge; const crdFiles=[ "apiextensions.k8s.io_v1_CustomResourceDefinition_volumesnapshotclasses.snapshot.storage.k8s.io.yaml", "apiextensions.k8s.io_v1_CustomResourceDefinition_volumesnapshotcontents.snapshot.storage.k8s.io.yaml", @@ -16,7 +17,7 @@ fn pre_install() { } } fn post_destroy() { - if ! global::DOIT { + if ! global::PURGE { return; } for file in global::crdFiles { diff --git a/crd/volumesnapshot/index.yaml b/crd/volumesnapshot/index.yaml index 2c6ffa2..dcbffc4 100644 --- a/crd/volumesnapshot/index.yaml +++ b/crd/volumesnapshot/index.yaml @@ -11,6 +11,11 @@ options: examples: - true type: boolean + purge: + default: false + examples: + - false + type: boolean dependencies: [] providers: null tfaddtype: null diff --git a/crd/whereabouts/index.rhai b/crd/whereabouts/index.rhai index b031b9d..cbcb4b2 100644 --- a/crd/whereabouts/index.rhai +++ b/crd/whereabouts/index.rhai @@ -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 { diff --git a/crd/whereabouts/index.yaml b/crd/whereabouts/index.yaml index 48f5503..0dad5f7 100644 --- a/crd/whereabouts/index.yaml +++ b/crd/whereabouts/index.yaml @@ -11,6 +11,11 @@ options: examples: - true type: boolean + purge: + default: false + examples: + - false + type: boolean dependencies: [] providers: null tfaddtype: null diff --git a/meta/addons/index.yaml b/meta/addons/index.yaml index 1900db7..3e1b197 100644 --- a/meta/addons/index.yaml +++ b/meta/addons/index.yaml @@ -6,6 +6,70 @@ metadata: name: addons description: addons meta-component installing all the addons components options: + olm: + default: + enable: false + namespace: olm + examples: + - enable: false + namespace: olm + properties: + enable: + default: false + type: boolean + namespace: + default: olm + type: string + type: object + flux: + default: + enable: false + namespace: flux + examples: + - enable: false + namespace: flux + properties: + enable: + default: false + type: boolean + namespace: + default: flux + type: string + type: object + tools: + default: + keda: + enable: false + namespace: vynil-addons + node_problem_detector: + enable: false + examples: + - keda: + enable: false + namespace: vynil-addons + node_problem_detector: + enable: false + properties: + keda: + default: + enable: false + properties: + enable: + default: false + type: boolean + type: object + namespace: + default: vynil-addons + type: string + node_problem_detector: + default: + enable: false + properties: + enable: + default: false + type: boolean + type: object + type: object monitor: default: jaeger: @@ -86,55 +150,6 @@ options: type: boolean type: object type: object - olm: - default: - enable: true - namespace: olm - examples: - - enable: true - namespace: olm - properties: - enable: - default: true - type: boolean - namespace: - default: olm - type: string - type: object - tools: - default: - keda: - enable: false - namespace: vynil-addons - node_problem_detector: - enable: false - examples: - - keda: - enable: false - namespace: vynil-addons - node_problem_detector: - enable: false - properties: - keda: - default: - enable: false - properties: - enable: - default: false - type: boolean - type: object - namespace: - default: vynil-addons - type: string - node_problem_detector: - default: - enable: false - properties: - enable: - default: false - type: boolean - type: object - type: object crds: default: argo-cd: @@ -320,21 +335,6 @@ options: type: boolean type: object type: object - flux: - default: - enable: true - namespace: flux - examples: - - enable: true - namespace: flux - properties: - enable: - default: true - type: boolean - namespace: - default: flux - type: string - type: object dependencies: [] providers: kubernetes: true