Skip to content

mariusz-gomse-centra/provider-github

Repository files navigation

Provider Template

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

Getting Started

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

up ctp provider install upbound/upjet-provider-template:v0.1.0

Alternatively, you can use declarative installation:

cat <<EOF | kubectl apply -f -
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: upjet-provider-template
spec:
  package: upbound/upjet-provider-template:v0.1.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.