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 1f79341 do not delete history pvc
1f79341 is described below
commit 1f793410582ef348e9fc885824da481235eb1093
Author: Eamon Ford <[email protected]>
AuthorDate: Fri Jul 3 15:55:46 2020 -0500
do not delete history pvc
---
helm/templates/collection-manager.yml | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/helm/templates/collection-manager.yml
b/helm/templates/collection-manager.yml
index 7dbefdc..232108c 100644
--- a/helm/templates/collection-manager.yml
+++ b/helm/templates/collection-manager.yml
@@ -1,6 +1,6 @@
+{{- if .Values.ingestion.enabled }}
{{- $history := .Values.ingestion.history | default dict }}
-{{- if .Values.ingestion.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
@@ -66,8 +66,8 @@ spec:
restartPolicy: Always
---
+{{- end }}
-{{- if not $history.url }}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
@@ -77,8 +77,6 @@ spec:
- ReadWriteOnce
resources:
requests:
- storage: 3Gi
+ storage: 1Gi
storageClassName: {{ .Values.storageClass }}
-{{- end }}
-{{- end }}
\ No newline at end of file