nexus-iq-server

by Sonatype

Helm chartv209.4.0App 1.209.4Apache-2.0Verified publisherOfficial

Sonatype Nexus IQ Server continuously monitors your entire software supply chain

About this chart

Sonatype IQ server

Sonatype Nexus IQ Server is everything you need to know to trust your software supply chain. It powers Nexus Firewall, Nexus Lifecycle, and Nexus Auditor.

Prerequisites

  • Kubernetes 1.19+
  • PV provisioner support in the underlying infrastructure
  • Helm 3

These charts are designed to work out of the box with minikube using both ingess and ingress-dns addons.

The current releases have been tested on minikube v1.25.1 running Kubernetes v1.23.1.

Adding the Sonatype Repository to your Helm

To Add as a Helm Repo helm repo add sonatype https://sonatype.github.io/helm3-charts/

Testing the Chart

To test the chart:

$ helm install --dry-run --debug --generate-name ./

To test the chart with your own values:

$ helm install --dry-run --debug --generate-name -f myvalues.yaml ./ 

Installing the Chart

To install the chart:

$ helm install nexus-iq sonatype/nexus-iq-server [ --version v90.0.0 ]

The above command deploys IQ on the Kubernetes cluster in the default configuration. Note the optional version flag.

You can pass custom configuration values as:

$ helm install -f myvalues.yaml ./ --name nexus-iq

The default login for the IQ Server is admin/admin123

Upgrading the Chart

$ helm upgrade nexus-iq sonatype/nexus-iq-server [--version v91.0.0]

Note:

  • optional version flag shown.
  • When upgrading from IQ versions 1.117 or 1.100, set fixOwner.enabled to true for changing the file ownership.
  • If you're upgrading from a previous chart version that used iq.licenseSecret, you need to update your values to use the new iq.license.secret or iq.license.existingSecret parameters instead.

Uninstalling the Chart

To uninstall/delete the deployment:

$ helm list
NAME                    NAMESPACE       REVISION        UPDATED                                 STATUS          CHART                   APP VERSION
plinking-gopher	        default         1               2021-03-10 15:13:04.614125 -0800 PST    deployed        nexus-iq-server-106.0.0 1.106.0    
$ helm delete plinking-gopher

The command removes all the Kubernetes components associated with the chart and deletes the release.

Chart Configuration Options

ParameterDescriptionDefault
image.nameThe image name to use for the IQ Containersonatype/nexus-iq-server
image.tagThe version/tag to use for the IQ ContainerSee values.yaml
imagePullSecretsThe names of the kubernetes secrets with credentials to login to a registry[]
iq.applicationPortPort of the application connector. Must match the value in the configYaml property8070
iq.adminPortPort of the application connector. Must match the value in the configYaml property8071
iq.license.secretThe base-64 encoded license file to be installed at startup""
iq.license.existingSecretName of an existing secret containing the license (with key 'license_lic')""
iq.envIQ server environment variables, including JAVA_OPTSSee values.yaml
iq.secretNameThe name of a secret to mount inside the containerSee values.yaml
iq.secretMountNameWhere in the container to mount the data from secretNameSee values.yaml
iq.livenessProbe.initialDelaySecondsLivenessProbe initial delay10
iq.livenessProbe.periodSecondsSeconds between polls10
iq.livenessProbe.failureThresholdNumber of attempts before failure3
iq.livenessProbe.timeoutSecondsTime in seconds after liveness probe times out2
iq.livenessProbe.successThresholdNumber of attempts for the probe to be considered successful1
iq.readinessProbe.initialDelaySecondsReadinessProbe initial delay10
iq.readinessProbe.periodSecondsSeconds between polls10
iq.readinessProbe.failureThresholdNumber of attempts before failure3
iq.readinessProbe.timeoutSecondsTime in seconds after readiness probe times out2
iq.readinessProbe.successThresholdNumber of attempts for the probe to be considered successful1
fixOwner.enabledChange file ownership during IQ upgrade from 1.117 or 1.100 versionsfalse
configYamlA YAML block which will be used as a configuration block for IQ Server.See values.yaml
ingress.enabledCreate an ingress for Nexusfalse
ingress.annotationsAnnotations to enhance ingress configuration{}
ingress.tls.enabledEnable TLStrue
ingress.tls.secretNameName of the secret storing TLS cert, false to use the Ingress' default certificatenexus-tls
ingress.pathPath for ingress rules. GCP users should set to /*/
deployment.preStart.commandCommand to run before starting the IQ Server containernil
deployment.postStart.commandCommand to run after starting the IQ Server containernil
deployment.terminationGracePeriodSecondsUpdate termination grace period (in seconds)120s
persistence.storageClassThe provisioner class- (disables dynamic provisioning)
persistence.storageSizeThe amount of drive space to allocate1Gi
persistence.accessModeDefault access modeReadWriteOnce
persistence.existingClaimPre-created PVC name for Data Volumenil
persistence.existingLogClaimPre-created PVC name for Log Volumenil
persistence.pdName DEPRECATEDMoved to persistence.gcePersistentDisk.pdNameNA
persistence.fsType DEPRECATEDMoved to persistence.gcePersistentDisk.fsTypeNA
persistence.pvName

Deploy nexus-iq-server with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has nexus-iq-server 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 chartnexus-iq-server is pinned at v209.4.0 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