Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.1 KB

File metadata and controls

24 lines (17 loc) · 1.1 KB

Nexus CRD

This repository contains Custom Resource Definitions for Nexus, packed in a Helm Chart. This chart must be installed for Nexus deployment to work.

Quickstart

Install the chart directly from GHCR. Commands below assume a controller cluster kind-nexus-controller and a shard cluster kind-nexus-shard-0:

helm install --kube-context kind-nexus-controller --namespace nexus --create-namespace --version v1.0.0 nexus-crd oci://ghcr.io/sneaksanddata/helm/nexus-crd
helm install --kube-context kind-nexus-shard-0 --namespace nexus --create-namespace --version v1.0.0 nexus-crd oci://ghcr.io/sneaksanddata/helm/nexus-crd

Updating the CRD

CRDs are generated from nexus-core. First, clone nexus-core and download controller-gen >=0.17.*. When ready, run:

export NEXUS_CORE_LOCATION=<path to nexus-core>
export CONTROLLER_GEN_BINARY=<path to controller-gen binary>

chmod +x CONTROLLER_GEN_BINARY

./update-crd.sh

Once the script completes, create PR with corresponding changes.