nexus-iq-server
by Sonatype
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 newiq.license.secretoriq.license.existingSecretparameters 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
| Parameter | Description | Default |
|---|---|---|
image.name | The image name to use for the IQ Container | sonatype/nexus-iq-server |
image.tag | The version/tag to use for the IQ Container | See values.yaml |
imagePullSecrets | The names of the kubernetes secrets with credentials to login to a registry | [] |
iq.applicationPort | Port of the application connector. Must match the value in the configYaml property | 8070 |
iq.adminPort | Port of the application connector. Must match the value in the configYaml property | 8071 |
iq.license.secret | The base-64 encoded license file to be installed at startup | "" |
iq.license.existingSecret | Name of an existing secret containing the license (with key 'license_lic') | "" |
iq.env | IQ server environment variables, including JAVA_OPTS | See values.yaml |
iq.secretName | The name of a secret to mount inside the container | See values.yaml |
iq.secretMountName | Where in the container to mount the data from secretName | See values.yaml |
iq.livenessProbe.initialDelaySeconds | LivenessProbe initial delay | 10 |
iq.livenessProbe.periodSeconds | Seconds between polls | 10 |
iq.livenessProbe.failureThreshold | Number of attempts before failure | 3 |
iq.livenessProbe.timeoutSeconds | Time in seconds after liveness probe times out | 2 |
iq.livenessProbe.successThreshold | Number of attempts for the probe to be considered successful | 1 |
iq.readinessProbe.initialDelaySeconds | ReadinessProbe initial delay | 10 |
iq.readinessProbe.periodSeconds | Seconds between polls | 10 |
iq.readinessProbe.failureThreshold | Number of attempts before failure | 3 |
iq.readinessProbe.timeoutSeconds | Time in seconds after readiness probe times out | 2 |
iq.readinessProbe.successThreshold | Number of attempts for the probe to be considered successful | 1 |
fixOwner.enabled | Change file ownership during IQ upgrade from 1.117 or 1.100 versions | false |
configYaml | A YAML block which will be used as a configuration block for IQ Server. | See values.yaml |
ingress.enabled | Create an ingress for Nexus | false |
ingress.annotations | Annotations to enhance ingress configuration | {} |
ingress.tls.enabled | Enable TLS | true |
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 /* | / |
deployment.preStart.command | Command to run before starting the IQ Server container | nil |
deployment.postStart.command | Command to run after starting the IQ Server container | nil |
deployment.terminationGracePeriodSeconds | Update termination grace period (in seconds) | 120s |
persistence.storageClass | The provisioner class | - (disables dynamic provisioning) |
persistence.storageSize | The amount of drive space to allocate | 1Gi |
persistence.accessMode | Default access mode | ReadWriteOnce |
persistence.existingClaim | Pre-created PVC name for Data Volume | nil |
persistence.existingLogClaim | Pre-created PVC name for Log Volume | nil |
persistence.pdName DEPRECATED | Moved to persistence.gcePersistentDisk.pdName | NA |
persistence.fsType DEPRECATED | Moved to persistence.gcePersistentDisk.fsType | NA |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartnexus-iq-server is pinned at v209.4.0 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