Skip to content

a1994sc/provider-nexus

Repository files navigation

Provider Nexus

provider-nexus is a Crossplane provider that is built using Upjet code generation tools and exposes XRM-conformant managed resources for the Nexus API.

Getting Started

Install the provider by using the following command after changing the image tag to the latest release:

up ctp provider install ghcr.io/a1994sc/crossplane/provider-nexus:v0.0.6

Alternatively, you can use declarative installation:

cat <<EOF | kubectl apply -f -
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: provider-nexus
spec:
  package: ghcr.io/a1994sc/crossplane/provider-nexus:v0.0.6
EOF

Notice that in this example Provider resource is referencing ControllerConfig with debug enabled.

You can see the API reference here.

Terraform Provider

The upstream terraform provider is created and maintained by @datadrivers

Signature

The containers published after v0.0.7 are all signed via cosign and the github oidc issuer!

If you want to verify the image you can run the following:

cosign verify ghcr.io/a1994sc/crossplane/provider-nexus:v0.0.7 \
   --certificate-oidc-issuer https://token.actions.githubusercontent.com \
   --certificate-identity-regexp https://github\.com/a1994sc/provider-nexus/\.github/workflows/ci\.yml@refs/tags/v[0-9]+\.[0-9]+\.[0-9]+

Example output:

Verification for ghcr.io/a1994sc/crossplane/provider-nexus:v0.0.7 --
The following checks were performed on each of these signatures:
  - The cosign claims were validated
  - Existence of the claims in the transparency log was verified offline
  - The code-signing certificate was verified using trusted certificate authority certificates

Developing

Run code-generation pipeline:

go run cmd/generator/main.go "$PWD"

Run against a Kubernetes cluster:

make run

Build, push, and install:

make all

Build binary:

make build

Report a Bug

For filing bugs, suggesting improvements, or requesting new features, please open an issue.