diff --git a/stable/sonatype-nexus/Chart.yaml b/stable/sonatype-nexus/Chart.yaml index e24ad8d161..1dcee33eba 100644 --- a/stable/sonatype-nexus/Chart.yaml +++ b/stable/sonatype-nexus/Chart.yaml @@ -1,5 +1,5 @@ name: sonatype-nexus -version: 1.4.4 +version: 1.5.0 appVersion: 3.12.1-01 description: Sonatype Nexus is an open source repository manager keywords: diff --git a/stable/sonatype-nexus/README.md b/stable/sonatype-nexus/README.md index 23a03b4dd1..ed3f92a0c5 100644 --- a/stable/sonatype-nexus/README.md +++ b/stable/sonatype-nexus/README.md @@ -82,6 +82,7 @@ The following table lists the configurable parameters of the Nexus chart and the | `nexusProxy.imageName` | Proxy image | `quay.io/travelaudience/docker-nexus-proxy` | | `nexusProxy.imageTag` | Proxy image version | `2.1.0` | | `nexusProxy.imagePullPolicy` | Proxy image pull policy | `IfNotPresent` | +| `nexusProxy.resources` | Proxy resource requests and limits | `{}` | | `nexusProxy.env.nexusHttpHost` | Nexus url to access Nexus | `nil` | | `nexusProxy.env.nexusDockerHost` | Containers url to be used with docker | `nil` | | `nexusProxy.env.enforceHttps` | Allow only https access or not | `false` | diff --git a/stable/sonatype-nexus/templates/deployment.yaml b/stable/sonatype-nexus/templates/deployment.yaml index f3d97a18cd..9cd2271f42 100644 --- a/stable/sonatype-nexus/templates/deployment.yaml +++ b/stable/sonatype-nexus/templates/deployment.yaml @@ -54,6 +54,8 @@ spec: name: nexus-backup - name: nexus-proxy image: {{ .Values.nexusProxy.imageName }}:{{ .Values.nexusProxy.imageTag }} + resources: +{{ toYaml .Values.nexusProxy.resources | indent 12 }} imagePullPolicy: {{ .Values.nexusProxy.imagePullPolicy }} env: - name: ALLOWED_USER_AGENTS_ON_ROOT_REGEX diff --git a/stable/sonatype-nexus/values.yaml b/stable/sonatype-nexus/values.yaml index 98f83980f4..94317462df 100644 --- a/stable/sonatype-nexus/values.yaml +++ b/stable/sonatype-nexus/values.yaml @@ -54,7 +54,13 @@ nexusProxy: # secrets: # keystore: "" # password: "" - + resources: {} + # requests: + # cpu: 100m + # memory: 256Mi + # limits: + # cpu: 200m + # memory: 512Mi persistence: enabled: true accessMode: ReadWriteOnce