Warning
This repository is archived and is no longer maintained.
Issues and pull requests are not monitored.
provider-civo-upjet is a Crossplane provider that
is built using Upjet code
generation tools and exposes XRM-conformant managed resources for the
Civo API.
Right now there are 3 CRDs: Network, Firewall and KubernetesCluster.
Install the provider by using the following command after changing the image tag to the latest release:
up ctp provider install upsidr/provider-civo-upjet:v0.1.0
Alternatively, you can use declarative installation:
cat <<EOF | kubectl apply -f -
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
name: provider-civo-upjet
spec:
package: upsidr/provider-civo-upjet:v0.1.0
EOF
Notice that in this example Provider resource is referencing ControllerConfig with debug enabled.
You can see the API reference here.
This was generated using the Upjet docs.
First, don't forget to fetch the build submodule:
make submodulesInstall Crossplane in a kind cluster. Create your secret.yaml from the template in examples/providerconfig/.
# Create "crossplane-system" namespace if not exists
kubectl create namespace crossplane-system --dry-run=client -o yaml | kubectl apply -f -
kubectl apply -f package/crds
kubectl apply -f examples/providerconfig/secret.yaml
kubectl apply -f examples/providerconfig/providerconfig.yamlNow run the provider locally against a Kubernetes cluster:
make runReady! Take a look at the
examples/directory and apply some resources.
Generate code and CRDs:
make generateBuild, push, and install:
# don't forget to review first
make reviewable test
make allBuild binary:
make buildFor filing bugs, suggesting improvements, or requesting new features, please open an issue.