This is an automated email from the ASF dual-hosted git repository.

eamonford pushed a commit to branch helm-ingester
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexus.git


The following commit(s) were added to refs/heads/helm-ingester by this push:
     new fd0b484  tie all ingestion stuff to values flag
fd0b484 is described below

commit fd0b484269af911000875398d10b27c75a83dbfd
Author: Eamon Ford <[email protected]>
AuthorDate: Wed Jul 1 11:16:54 2020 -0500

    tie all ingestion stuff to values flag
---
 helm/requirements.yaml                | 1 +
 helm/templates/collection-manager.yml | 2 +-
 helm/templates/config-operator.yml    | 3 ++-
 helm/values.yaml                      | 1 +
 4 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/helm/requirements.yaml b/helm/requirements.yaml
index 154b27d..7970f29 100644
--- a/helm/requirements.yaml
+++ b/helm/requirements.yaml
@@ -6,5 +6,6 @@ dependencies:
   - name: rabbitmq
     version: 7.1.0
     repository: https://charts.bitnami.com/bitnami
+    condition: ingestion.enabled
   
 
diff --git a/helm/templates/collection-manager.yml 
b/helm/templates/collection-manager.yml
index c2e9256..182951e 100644
--- a/helm/templates/collection-manager.yml
+++ b/helm/templates/collection-manager.yml
@@ -1,4 +1,4 @@
-{{ if .Values.collectionManager.enabled }}
+{{ if .Values.ingestion.enabled }}
 apiVersion: apps/v1
 kind: Deployment
 metadata:
diff --git a/helm/templates/config-operator.yml 
b/helm/templates/config-operator.yml
index 7a3952b..b824de1 100644
--- a/helm/templates/config-operator.yml
+++ b/helm/templates/config-operator.yml
@@ -1,3 +1,4 @@
+{{ if .Values.ingestion.enabled }}
 apiVersion: apps/v1
 kind: Deployment
 metadata:
@@ -19,5 +20,5 @@ spec:
         - name: sdap-config-operator
           image: nexusjpl/config-operator:latest
           imagePullPolicy: Always
-
+{{ end }}
 
diff --git a/helm/values.yaml b/helm/values.yaml
index 33a379b..ccaca4b 100644
--- a/helm/values.yaml
+++ b/helm/values.yaml
@@ -21,6 +21,7 @@ webapp:
       memory: "512m"
 
 ingestion:
+  enabled: true
   dataPath: /Users/edford/Desktop/ingestion_test/data
   collectionsConfig:
 #    localDir: /Users/edford/Desktop/collections.yml

Reply via email to