mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add PVs manifests,Tolerations and updated docker images. (#7919)
* Add PVs manifests,Tolerations and updated docker images. Signed-off-by: Vardit Natanson <v.natanson@travelaudience.com> * Update images tag to support alpine 3.8.1 Signed-off-by: Vardit Natanson <v.natanson@travelaudience.com> * lint and test-install fixes Signed-off-by: Vardit Natanson <v.natanson@travelaudience.com> * Update appVersion in Chart.yaml Signed-off-by: Vardit Natanson <v.natanson@travelaudience.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
name: sonatype-nexus
|
||||
version: 1.7.0
|
||||
appVersion: 3.12.1-01
|
||||
version: 1.8.0
|
||||
appVersion: 3.13.0-01
|
||||
description: Sonatype Nexus is an open source repository manager
|
||||
keywords:
|
||||
- artifacts
|
||||
|
||||
@@ -113,6 +113,7 @@ The following table lists the configurable parameters of the Nexus chart and the
|
||||
| `ingress.tls.enabled` | Enable TLS | `false` |
|
||||
| `ingress.tls.secretName` | Name of the secret storing TLS cert, `false` to use the Ingress' default certificate | `nexus-tls` |
|
||||
| `ingress.path` | Path for ingress rules. GCP users should set to `/*` | `/` |
|
||||
| `tolerations` | tolerations list | `[]` |
|
||||
|
||||
If `nexusProxy.env.cloudIamAuthEnabled` is set to `true` the following variables need to be configured
|
||||
|
||||
@@ -125,6 +126,7 @@ If `nexusProxy.env.cloudIamAuthEnabled` is set to `true` the following variables
|
||||
| `nexusProxy.secrets.keystore` | base-64 encoded value of the keystore file needed for the proxy to sign user tokens. Example: cat keystore.jceks | base64 | `nil` |
|
||||
| `nexusProxy.secrets.password` | Password to the Java Keystore file | `nil` |
|
||||
|
||||
|
||||
```bash
|
||||
$ helm install --name my-release --set persistence.enabled=false stable/sonatype-nexus
|
||||
```
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
{{- if .Values.nexusBackup.persistence.pdName -}}
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: {{ .Values.nexusBackup.persistence.pdName }}
|
||||
labels:
|
||||
{{ include "nexus.labels" . | indent 4 }}
|
||||
spec:
|
||||
capacity:
|
||||
storage: {{ .Values.nexusBackup.persistence.storageSize }}
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
claimRef:
|
||||
name: {{ template "nexus.fullname" . }}-backup
|
||||
gcePersistentDisk:
|
||||
pdName: {{ .Values.nexusBackup.persistence.pdName }}
|
||||
fsType: {{ .Values.nexusBackup.persistence.fsType }}
|
||||
{{- end }}
|
||||
@@ -166,3 +166,7 @@ spec:
|
||||
{{- else }}
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
{{- with .Values.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
{{- if .Values.persistence.pdName -}}
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: {{ .Values.persistence.pdName }}
|
||||
labels:
|
||||
{{ include "nexus.labels" . | indent 4 }}
|
||||
spec:
|
||||
capacity:
|
||||
storage: {{ .Values.persistence.storageSize }}
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
claimRef:
|
||||
name: {{ template "nexus.fullname" . }}-data
|
||||
gcePersistentDisk:
|
||||
pdName: {{ .Values.persistence.pdName }}
|
||||
fsType: {{ .Values.persistence.fsType }}
|
||||
{{- end }}
|
||||
@@ -2,7 +2,7 @@ replicaCount: 1
|
||||
|
||||
nexus:
|
||||
imageName: quay.io/travelaudience/docker-nexus
|
||||
imageTag: 3.12.1
|
||||
imageTag: 3.13.0_alpine_3.8.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: install4jAddVmParams
|
||||
@@ -47,7 +47,7 @@ nexus:
|
||||
|
||||
nexusProxy:
|
||||
imageName: quay.io/travelaudience/docker-nexus-proxy
|
||||
imageTag: 2.1.0
|
||||
imageTag: 2.3.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
port: 8080
|
||||
env:
|
||||
@@ -84,11 +84,14 @@ persistence:
|
||||
# "helm.sh/resource-policy": keep
|
||||
# storageClass: "-"
|
||||
storageSize: 8Gi
|
||||
# If PersistentDisk already exists you can create a PV for it by including the 2 following keypairs.
|
||||
# pdName: nexus-data-disk
|
||||
# fsType: ext4
|
||||
|
||||
nexusBackup:
|
||||
enabled: false
|
||||
imageName: quay.io/travelaudience/docker-nexus-backup
|
||||
imageTag: 1.2.0
|
||||
imageTag: 1.3.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
targetBucket:
|
||||
@@ -102,6 +105,9 @@ nexusBackup:
|
||||
# See comment above for information on setting the backup storageClass
|
||||
# storageClass: "-"
|
||||
storageSize: 8Gi
|
||||
# If PersistentDisk already exists you can create a PV for it by including the 2 following keypairs.
|
||||
# pdName: nexus-backup-disk
|
||||
# fsType: ext4
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
@@ -115,3 +121,5 @@ ingress:
|
||||
tls:
|
||||
enabled: true
|
||||
secretName: nexus-tls
|
||||
|
||||
tolerations: []
|
||||
|
||||
Reference in New Issue
Block a user