Skip to content

Latest commit

 

History

History
73 lines (54 loc) · 1.82 KB

README.md

File metadata and controls

73 lines (54 loc) · 1.82 KB

Nexus OSS

Nexus — platform for storing build artifacts

Docs | GitHub

Building image Nexus3 based on eclipse-temurin:17-jre, with fix to issue requiring permissions on mount directories.

Deployment

This deployment is based on kustomize. It features logging to disk, all logs are redirected to the console.

Preparation and installation

Preparing overlays

If you need to make any changes to the basic configuration, then you must to create a project with the configuration.

  • Create a project with a configuration and create an overlay there referring to this base
  • If necessary, you can apply a patch to change:
  • Resource request and limit
  • Storage class
  • Storage size
  • You can also make changes to the configuration files.

At the current moment, the deployment of this database is maximally configured to work with the current resource values.

Creating a secret

Create a secret with an encryption key

export NAMESPACE=nexus
cat << EOF >> secret.json
{
  "active": "secret-key",
  "keys": [
    {
      "id": "secret-key",
      "key": "you-secret-key"
    }
  ]
}
EOF
kubectl create secret -n $NAMESPACE generic nexus-secret-key --from-file secret.json

Deploy

Deploy Nexus using the example base

kubectl create -n $NAMESPACE -k deploy/