sonatype-nexus3
by prom3theu5
Helm chartv1.0.1App 3.58.1
Helm chart for Sonatype Nexus 3 OSS.
About this chart
Sonatype: Nexus 3
Configuration
The following table lists the configurable parameters of the Nexus 3 chart and their default values.
| Parameter | Description | Default |
|---|---|---|
image.repository | Image repository. | sonatype/nexus3 |
image.tag | Image tag. | .Chart.AppVersion |
image.pullPolicy | Image pull policy. | IfNotPresent |
image.pullSecrets | DEPRECATED Image pull secrets, use imagePullSecrets instead. | [] |
imagePullSecrets | Image pull secrets, will override image.pullSecrets. | [] |
nameOverride | Override the name of the chart. | |
fullnameOverride | Override the full name of the chart. | |
commonLabels | Labels to add to all chart resources. | {} |
serviceAccount.create | If true, create a new service account. | true |
serviceAccount.labels | Labels to add to the service account. | {} |
serviceAccount.annotations | Annotations to add to the service account. | {} |
serviceAccount.name | Service account to be used. If not set and serviceAccount.create is true, a name is generated using the full name template. | |
serviceAccount.automountToken | If true, mount the ServiceAccount token. | false |
deployment | If true, run as a Deployment, otherwise run as a StatefulSet. | true |
podLabels | Labels to add to the pod. | {} |
podAnnotations | Annotations to add to the pod. | {} |
podSecurityContext | Security context for the pod. | { fsGroup: 200 } |
securityContext | Security context for the nexus3 container. | {} |
priorityClassName | Priority class name to use. | "" |
livenessProbe | The liveness probe. | See values.yaml |
readinessProbe | The readiness probe. | See values.yaml |
service.type | Service type. | ClusterIP |
service.clusterIP | Service cluster IP. | |
service.annotations | Annotations to add to the service. | {} |
service.port | Service port. | 8881 |
service.additionalPorts | Additional ports exposed by the service and used by repository connectors. | |
metrics.enabled | If true, metrics will be enabled (with anonymous access configured). | false |
metrics.serviceMonitor.enabled | If true, create a Prometheus service monitor. | false |
metrics.serviceMonitor.additionalLabels | Additional labels to be set on the service monitor. | {} |
metrics.serviceMonitor.endpointConfig | Additional endpoint configuration for the ServiceMonitor. | {} |
metrics.serviceMonitor.interval | DEPRECATED Prometheus scrape frequency, use metrics.serviceMonitor.endpointConfig.interval instead. | "" |
ingress.enabled | If true, create an ingress object. | false |
ingress.annotations | Ingress annotations. | {} |
ingress.ingressClassName | Ingress class to use. | "" |
ingress.hosts | Ingress hosts. | [] |
ingress.tls | Ingress TLS configuration | [] |
persistence.enabled | If true, create a PVC. | false |
persistence.annotations | Annotations to add to the PVC. | {} |
persistence.existingClaim | Use an existing PVC to persist data. | |
persistence.accessMode | Persistence access mode. | ReadWriteOnce |
persistence.storageClass | PVC storage class (use - for default). | standard |
persistence.size | Size of PVC to create. | 8Gi |
extraVolumeMounts | Additional volume mounts for the nexus3 container. | [] |
resources | Resource requests and limits for the nexus3 container. | {} |
chownDataDir | If the chown init container should be used. | true |
extraInitContainers | Additional init containers for the pod. | [] |
extraVolumes | Additional volumes. | [] |
terminationGracePeriodSeconds | Termination grace period in seconds. | 30 |
nodeSelector | Node labels for pod assignment. | {} |
affinity | Affinity settings for pod assignment. If an explicit label selector is not provided for pod affinity or pod anti-affinity one will be created from the pod selector labels. | {} |
topologySpreadConstraints | Topology spread constraints for pod assignment. If an explicit label selector is not provided one will be created from the pod selector labels. | [] |
tolerations | Tolerations for p |
Deploy sonatype-nexus3 with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has sonatype-nexus3 on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartsonatype-nexus3 is pinned at v1.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply