Skip to content

Commit

Permalink
Update nexus3 scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehipwell committed Feb 14, 2020
1 parent abf8c94 commit f78022a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 1.2.3
version: 1.2.4
appVersion: 3.20.1
description: Sonatype Nexus OSS is an open source repository manager
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/nexus3/files/metrics.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def params = new JsonSlurper().parseText(args)
if (params.enabled) {
def metricsRole = "nx-metrics"

if (!security.securitySystem.listRoles().any { it.source == "default" && it.roleId == metricsName }) {
if (!security.securitySystem.listRoles().any { it.source == "default" && it.roleId == metricsRole }) {
security.addRole(metricsRole, metricsRole, "Metrics collection role", [], ["nx-metrics-all"])
}

Expand Down

0 comments on commit f78022a

Please sign in to comment.