provider-ovh is a Crossplane provider that
is built using Upjet code
generation tools and exposes XRM-conformant managed resources for the
OVH API.
- Install up CLI
- Install Crossplane in your cluster
Install the provider by using the following command:
up ctp provider install edixos/provider-ovh
Alternatively, you can use declarative installation:
cat <<EOF | kubectl apply -f -
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
name: provider-ovh
spec:
package: edixos/provider-ovh
EOF
If you want to specify a version of the provider, add an image tag
to the latest release.
Example:
edixos/provider-ovh:v.0.1.4
Notice that in this example Provider resource is referencing ControllerConfig with debug enabled.
You can see the API reference here.
Run code-generation pipeline:
go run cmd/generator/main.go "$PWD"Run against a Kubernetes cluster:
make runBuild, push, and install:
make allBuild binary:
make buildFor filing bugs, suggesting improvements, or requesting new features, please open an issue.
This repository includes optional Marketplace extension assets under the extensions/ directory:
extensions/
icons/icon.svg # Provider icon
readme/readme.md # Marketplace readme (concise overview)
release-notes/release_notes.md # Human-authored release notes per version
sboms/sbom.json # CycloneDX SBOM (regenerated in CI)
During CI publish, we run:
up alpha xpkg append --extensions-root=./extensions xpkg.upbound.io/edixos/provider-ovh:<version>
Where <version> is read from _output/version produced by the build. You can test locally after logging into the Upbound registry:
curl -sL https://cli.upbound.io | sh
VERSION=$(cat _output/version)
up alpha xpkg append --extensions-root=./extensions xpkg.upbound.io/edixos/provider-ovh:${VERSION}To update for a new release:
- Edit
extensions/release-notes/release_notes.mdadding a section for the newvX.Y.Z. - Optionally refine
extensions/readme/readme.mdor update the icon. - Commit changes before tagging the release so CI appends correct assets.
SBOM generation currently uses Syft in CI to regenerate extensions/sboms/sbom.json. You can reproduce locally:
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
syft dir:. -o cyclonedx-json > extensions/sboms/sbom.jsonThis is an alpha feature (requires up CLI v0.39.0+).