You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sdap.apache.org by tl...@apache.org on 2021/05/14 21:56:33 UTC
[incubator-sdap-nexus] 01/01: make chart work with pre-existing
data-volume (pvc)
This is an automated email from the ASF dual-hosted git repository.
tloubrieu pushed a commit to branch moc
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexus.git
commit e7108a6f7623f9ff8d0826baa2833a37ba18c1a7
Author: thomas loubrieu <th...@jpl.nasa.gov>
AuthorDate: Fri May 14 14:55:56 2021 -0700
make chart work with pre-existing data-volume (pvc)
---
helm/templates/_helpers.tpl | 4 +++-
helm/values.yaml | 4 ++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/helm/templates/_helpers.tpl b/helm/templates/_helpers.tpl
index 56dcb4a..30a5623 100644
--- a/helm/templates/_helpers.tpl
+++ b/helm/templates/_helpers.tpl
@@ -32,9 +32,11 @@ The data volume which is used in both the Collection Manager and the Granule Ing
server: {{ .Values.ingestion.granules.nfsServer }}
path: {{ .Values.ingestion.granules.path }}
{{- else }}
+ {{- if .Values.ingestion.granules.path -}}
hostPath:
path: {{ .Values.ingestion.granules.path }}
-{{- end }}
+ {{- end -}}
+ {{- end -}}
{{- end -}}
{{/*
diff --git a/helm/values.yaml b/helm/values.yaml
index a2cba8c..70c8bba 100644
--- a/helm/values.yaml
+++ b/helm/values.yaml
@@ -29,7 +29,7 @@ ingestion:
granuleIngester:
replicas: 2
- image: nexusjpl/granule-ingester:0.1.5
+ image: nexusjpl/granule-ingester:0.1.6
## cpu refers to both request and limit
cpu: 1
@@ -38,7 +38,7 @@ ingestion:
memory: 1Gi
collectionManager:
- image: nexusjpl/collection-manager:0.1.5
+ image: nexusjpl/collection-manager:0.1.6
## cpu refers to both request and limit
cpu: 0.5