Skip to content

pydantic/provider-upjet-logfire

Provider Logfire

provider-upjet-logfire is a Crossplane provider for the Logfire API, generated with Upjet.

The current provider surface is intentionally small:

  • Alert
  • Channel
  • Dashboard
  • Project
  • ReadToken
  • WriteToken

Install

Published provider packages are currently installed from GitHub Container Registry:

ghcr.io/pydantic/provider-upjet-logfire

For complete examples, see:

  • examples/install.yaml
  • examples/cluster/providerconfig/providerconfig.yaml
  • examples/cluster/smoke/project.yaml
  • examples/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.1

Credentials

The provider expects credentials as JSON with:

  • api_key
  • optional base_url

Example secret payload:

{
  "api_key": "pylf_v2_...",
  "base_url": "https://logfire.example.com"
}

Developing

Generate code:

make generate

Run the repo checks that gate CI:

go test ./...
make check-examples
make check-diff

Build and run the provider in a local Crossplane control plane:

make local-deploy

Run 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

About

Crossplane Upjet provider for Logfire

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors