Skip to content

Commit

Permalink
Fix Nexus default values (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehipwell authored Jul 15, 2020
1 parent b52a795 commit 3656bb7
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 39 deletions.
2 changes: 1 addition & 1 deletion charts/nexus3/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: nexus3
version: 2.5.2
version: 2.5.3
appVersion: 3.25.0
description: Sonatype Nexus OSS is an open source repository manager
keywords:
Expand Down
2 changes: 2 additions & 0 deletions charts/nexus3/files/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ do
echo "Could not update script ${name}." >&2
exit 1
fi

echo "Script ${script_file} updated."
done

json_file="${base_dir}/conf/ldap.json"
Expand Down
76 changes: 38 additions & 38 deletions charts/nexus3/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,41 +126,41 @@ config:
# # groupMemberAttribute: ""
# # groupMemberFormat: ""
# adminGroup: ""
cleanup:
- name: ExampleCleanup
notes: "Cleanup content that hasn't been updated in 14 days downloaded in 28 days."
format: ALL_FORMATS
mode: delete
criteria:
lastBlobUpdated: "1209600"
lastDownloaded: "2419200"
repos:
- name: test-repo
type: raw-hosted
online: true
attributes:
storage:
blobStoreName: default
strictContentTypeValidation: false
writePolicy: ALLOW
cleanup:
policyName: ExampleCleanup
tasks:
- name: "Cleanup service"
typeId: repository.cleanup
crontab: "0 0 0 * * ?"
- name: "Docker cleanup uploads"
typeId: repository.docker.upload-purge
crontab: "0 0 0 * * ?"
attributes:
age: "24"
- name: "Docker cleanup artifacts"
typeId: repository.docker.gc
crontab: "0 0 1 * * ?"
attributes:
repositoryName: "*"
- name: "Cleanup blob store"
typeId: blobstore.compact
crontab: "0 0 2 * * ?"
attributes:
blobstoreName: "default"
cleanup: []
# - name: ExampleCleanup
# notes: "Cleanup content that hasn't been updated in 14 days downloaded in 28 days."
# format: ALL_FORMATS
# mode: delete
# criteria:
# lastBlobUpdated: "1209600"
# lastDownloaded: "2419200"
repos: []
# - name: test-repo
# type: raw-hosted
# online: true
# attributes:
# storage:
# blobStoreName: default
# strictContentTypeValidation: false
# writePolicy: ALLOW
# cleanup:
# policyName: ExampleCleanup
tasks: []
# - name: "Cleanup service"
# typeId: repository.cleanup
# crontab: "0 0 0 * * ?"
# - name: "Docker cleanup uploads"
# typeId: repository.docker.upload-purge
# crontab: "0 0 0 * * ?"
# attributes:
# age: "24"
# - name: "Docker cleanup artifacts"
# typeId: repository.docker.gc
# crontab: "0 0 1 * * ?"
# attributes:
# repositoryName: "*"
# - name: "Cleanup blob store"
# typeId: blobstore.compact
# crontab: "0 0 2 * * ?"
# attributes:
# blobstoreName: "default"

0 comments on commit 3656bb7

Please sign in to comment.