From 621d7ad42906a197474ac581a6639f2aaecfd5f4 Mon Sep 17 00:00:00 2001 From: Mohamed Zekri Date: Tue, 17 Nov 2020 17:24:36 +0100 Subject: [PATCH] update nexus backup image tag and add streamingUploadCutoff parameter --- charts/sonatype-nexus/templates/deployment-statefulset.yaml | 2 ++ charts/sonatype-nexus/values.yaml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/sonatype-nexus/templates/deployment-statefulset.yaml b/charts/sonatype-nexus/templates/deployment-statefulset.yaml index 5b2fa84..33336b5 100644 --- a/charts/sonatype-nexus/templates/deployment-statefulset.yaml +++ b/charts/sonatype-nexus/templates/deployment-statefulset.yaml @@ -227,6 +227,8 @@ spec: value: .backup - name: RCLONE_REMOTE value: {{ .Values.nexusBackup.env.rcloneRemote | quote }} + - name: STREAMING_UPLOAD_CUTOFF + value: {{ .Values.nexusBackup.env.streamingUploadCutoff | default "5000000" | quote }} {{- if .Values.nexusCloudiam.enabled }} - name: CLOUD_IAM_SERVICE_ACCOUNT_KEY_PATH value: /nexus-data/cloudiam/service-account-key.json diff --git a/charts/sonatype-nexus/values.yaml b/charts/sonatype-nexus/values.yaml index cf34d95..f4a598a 100644 --- a/charts/sonatype-nexus/values.yaml +++ b/charts/sonatype-nexus/values.yaml @@ -152,12 +152,14 @@ persistence: nexusBackup: enabled: false imageName: dbcc/docker-nexus-backup - imageTag: latest + imageTag: 0.0.1 imagePullPolicy: IfNotPresent env: rcloneRemote: targetBucket: nexusAuthorization: + # Size of the data chunk to stream to the remote + streamingUploadCutoff: "5000000" offlineRepos: "maven-central maven-public maven-releases maven-snapshots" gracePeriod: 60 # This should match the value of `initAdminPassword.password` if `initAdminPassword.enabled` is true