Skip to content

spotinst/crossplane-provider-spot

Repository files navigation

Provider Spot

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

Getting Started

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

up ctp provider install xpkg.upbound.io/spot-by-netapp/crossplane-provider-spot:v0.6.0

Alternatively, you can use declarative installation:

cat <<EOF | kubectl apply -f -
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: crossplane-provider-spot
spec:
  package: xpkg.upbound.io/spot-by-netapp/crossplane-provider-spot:v0.6.0
EOF

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

You can see the API reference here.

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.