sonatype-nexus3

by prom3theu5

Helm chartv1.0.1App 3.58.1

Helm chart for Sonatype Nexus 3 OSS.

About this chart

Sonatype: Nexus 3

Sonatype Nexus 3

Configuration

The following table lists the configurable parameters of the Nexus 3 chart and their default values.

ParameterDescriptionDefault
image.repositoryImage repository.sonatype/nexus3
image.tagImage tag..Chart.AppVersion
image.pullPolicyImage pull policy.IfNotPresent
image.pullSecretsDEPRECATED Image pull secrets, use imagePullSecrets instead.[]
imagePullSecretsImage pull secrets, will override image.pullSecrets.[]
nameOverrideOverride the name of the chart.
fullnameOverrideOverride the full name of the chart.
commonLabelsLabels to add to all chart resources.{}
serviceAccount.createIf true, create a new service account.true
serviceAccount.labelsLabels to add to the service account.{}
serviceAccount.annotationsAnnotations to add to the service account.{}
serviceAccount.nameService account to be used. If not set and serviceAccount.create is true, a name is generated using the full name template.
serviceAccount.automountTokenIf true, mount the ServiceAccount token.false
deploymentIf true, run as a Deployment, otherwise run as a StatefulSet.true
podLabelsLabels to add to the pod.{}
podAnnotationsAnnotations to add to the pod.{}
podSecurityContextSecurity context for the pod.{ fsGroup: 200 }
securityContextSecurity context for the nexus3 container.{}
priorityClassNamePriority class name to use.""
livenessProbeThe liveness probe.See values.yaml
readinessProbeThe readiness probe.See values.yaml
service.typeService type.ClusterIP
service.clusterIPService cluster IP.
service.annotationsAnnotations to add to the service.{}
service.portService port.8881
service.additionalPortsAdditional ports exposed by the service and used by repository connectors.
metrics.enabledIf true, metrics will be enabled (with anonymous access configured).false
metrics.serviceMonitor.enabledIf true, create a Prometheus service monitor.false
metrics.serviceMonitor.additionalLabelsAdditional labels to be set on the service monitor.{}
metrics.serviceMonitor.endpointConfigAdditional endpoint configuration for the ServiceMonitor.{}
metrics.serviceMonitor.intervalDEPRECATED Prometheus scrape frequency, use metrics.serviceMonitor.endpointConfig.interval instead.""
ingress.enabledIf true, create an ingress object.false
ingress.annotationsIngress annotations.{}
ingress.ingressClassNameIngress class to use.""
ingress.hostsIngress hosts.[]
ingress.tlsIngress TLS configuration[]
persistence.enabledIf true, create a PVC.false
persistence.annotationsAnnotations to add to the PVC.{}
persistence.existingClaimUse an existing PVC to persist data.
persistence.accessModePersistence access mode.ReadWriteOnce
persistence.storageClassPVC storage class (use - for default).standard
persistence.sizeSize of PVC to create.8Gi
extraVolumeMountsAdditional volume mounts for the nexus3 container.[]
resourcesResource requests and limits for the nexus3 container.{}
chownDataDirIf the chown init container should be used.true
extraInitContainersAdditional init containers for the pod.[]
extraVolumesAdditional volumes.[]
terminationGracePeriodSecondsTermination grace period in seconds.30
nodeSelectorNode labels for pod assignment.{}
affinityAffinity 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.{}
topologySpreadConstraintsTopology spread constraints for pod assignment. If an explicit label selector is not provided one will be created from the pod selector labels.[]
tolerationsTolerations 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartsonatype-nexus3 is pinned at v1.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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