Skip to content

Commit

Permalink
update nexus backup image tag and add streamingUploadCutoff parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedZ3kri committed Nov 17, 2020
1 parent 7e36518 commit 621d7ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions charts/sonatype-nexus/templates/deployment-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion charts/sonatype-nexus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 621d7ad

Please sign in to comment.