provider-nexus

module
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2024 License: Apache-2.0

README

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 https://github.com/a1994sc/provider-nexus/.github/workflows/ci.yml@refs/heads/main

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.

Directories

Path Synopsis
Package apis contains Kubernetes API for the provider.
Package apis contains Kubernetes API for the provider.
blobstore/v1alpha1
+kubebuilder:object:generate=true +groupName=blobstore.nexus.adrp.xyz +versionName=v1alpha1
+kubebuilder:object:generate=true +groupName=blobstore.nexus.adrp.xyz +versionName=v1alpha1
repository/v1alpha1
+kubebuilder:object:generate=true +groupName=repository.nexus.adrp.xyz +versionName=v1alpha1
+kubebuilder:object:generate=true +groupName=repository.nexus.adrp.xyz +versionName=v1alpha1
routing/v1alpha1
+kubebuilder:object:generate=true +groupName=routing.nexus.adrp.xyz +versionName=v1alpha1
+kubebuilder:object:generate=true +groupName=routing.nexus.adrp.xyz +versionName=v1alpha1
security/v1alpha1
+kubebuilder:object:generate=true +groupName=security.nexus.adrp.xyz +versionName=v1alpha1
+kubebuilder:object:generate=true +groupName=security.nexus.adrp.xyz +versionName=v1alpha1
v1alpha1
Package v1alpha1 contains the core resources of the nexus jet provider.
Package v1alpha1 contains the core resources of the nexus jet provider.
v1beta1
Package v1beta1 contains the core resources of the nexus upjet provider.
Package v1beta1 contains the core resources of the nexus upjet provider.
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL