This is an automated email from the ASF dual-hosted git repository. eamonford pushed a commit to branch bug_fixes in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexus.git
commit c93dc1d2cbb8b93c04f6df7eb9ea542c89c36bb2 Author: Eamon Ford <[email protected]> AuthorDate: Thu Sep 17 10:37:49 2020 -0700 Add flag to disable crd creation --- helm/{crds => templates}/gitbasedconfig-crd.yml | 3 ++- helm/values.yaml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/helm/crds/gitbasedconfig-crd.yml b/helm/templates/gitbasedconfig-crd.yml similarity index 92% rename from helm/crds/gitbasedconfig-crd.yml rename to helm/templates/gitbasedconfig-crd.yml index 6143752..8c1dd4c 100644 --- a/helm/crds/gitbasedconfig-crd.yml +++ b/helm/templates/gitbasedconfig-crd.yml @@ -1,3 +1,4 @@ +{{ if .Values.ingestion.collections.createCrd }} apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: @@ -31,4 +32,4 @@ spec: type: string config-map: type: string - +{{ end }} diff --git a/helm/values.yaml b/helm/values.yaml index b2e1a91..8f1efda 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -75,6 +75,7 @@ ingestion: ## ref: https://github.com/apache/incubator-sdap-ingester/tree/dev/collection_manager#the-collections-configuration-file ## Either localDir should be set, or the git options, but not both. collections: + createCrd: True ## Load the Collections Config file from a local path ## This is a future option that is not yet supported!
