provider-upjet-logfire is a Crossplane provider for the
Logfire API, generated with Upjet.
The current provider surface is intentionally small:
AlertChannelDashboardProjectReadTokenWriteToken
Published provider packages are currently installed from GitHub Container Registry:
ghcr.io/pydantic/provider-upjet-logfire
For complete examples, see:
examples/install.yamlexamples/cluster/providerconfig/providerconfig.yamlexamples/cluster/smoke/project.yamlexamples/cluster/smoke/writetoken.yaml
Per-resource generated reference examples are under examples-generated/ for all supported resources.
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
name: provider-upjet-logfire
spec:
package: ghcr.io/pydantic/provider-upjet-logfire:v0.2.1The provider expects credentials as JSON with:
api_key- optional
base_url
Example secret payload:
{
"api_key": "pylf_v2_...",
"base_url": "https://logfire.example.com"
}Generate code:
make generateRun the repo checks that gate CI:
go test ./...
make check-examples
make check-diffBuild and run the provider in a local Crossplane control plane:
make local-deployRun end-to-end tests against a real Logfire account by providing the credentials
payload expected by cluster/test/setup.sh:
UPTEST_EXAMPLE_LIST=examples/cluster/smoke/project.yaml \
UPTEST_CLOUD_CREDENTIALS='{"api_key":"pylf_v2_..."}' \
make uptest