Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
[sonatype-nexus] provide granular resource requests to nexus backup c…
Browse files Browse the repository at this point in the history
…ontainer (#21123)

Signed-off-by: Jeff Knurek <j.knurek@travelaudience.com>
  • Loading branch information
k8s-ci-robot authored Mar 4, 2020
1 parent 97cb579 commit 7aa91a6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/sonatype-nexus/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: sonatype-nexus
version: 1.22.0
version: 1.23.0
appVersion: 3.20.1-01
description: Sonatype Nexus is an open source repository manager
keywords:
Expand Down
1 change: 1 addition & 0 deletions stable/sonatype-nexus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ The following table lists the configurable parameters of the Nexus chart and the
| `nexusBackup.persistence.storageSize` | Size of Nexus backup data volume | `8Gi` |
| `nexusBackup.persistence.annotations` | PV annotations for backup | `{}` |
| `nexusBackup.persistence.existingClaim` | Existing PV name for backup | `nil` |
| `nexusBackup.resources` | Backup resource requests and limits | `{}` |
| `ingress.enabled` | Create an ingress for Nexus | `true` |
| `ingress.annotations` | Annotations to enhance ingress configuration | `{}` |
| `ingress.tls.enabled` | Enable TLS | `true` |
Expand Down
2 changes: 2 additions & 0 deletions stable/sonatype-nexus/templates/deployment-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ spec:
- name: nexus-backup
image: {{ .Values.nexusBackup.imageName }}:{{ .Values.nexusBackup.imageTag }}
imagePullPolicy: {{ .Values.nexusBackup.imagePullPolicy }}
resources:
{{ toYaml .Values.nexusBackup.resources | indent 12 }}
env:
- name: NEXUS_AUTHORIZATION
valueFrom:
Expand Down
7 changes: 7 additions & 0 deletions stable/sonatype-nexus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,13 @@ nexusBackup:
# If PersistentDisk already exists you can create a PV for it by including the 2 following keypairs.
# pdName: nexus-backup-disk
# fsType: ext4
resources: {}
# requests:
# cpu: 100m
# memory: 256Mi
# limits:
# cpu: 200m
# memory: 512Mi

serviceAccount:
# Specifies whether a service account should be created
Expand Down

0 comments on commit 7aa91a6

Please sign in to comment.