provider-http
is a Crossplane Provider designed to facilitate sending HTTP requests as resources.
To install provider-http
, you have two options:
-
Using the Crossplane CLI in a Kubernetes cluster where Crossplane is installed:
crossplane xpkg install provider xpkg.upbound.io/crossplane-contrib/provider-http:v1.0.5
-
Manually creating a Provider by applying the following YAML:
apiVersion: pkg.crossplane.io/v1 kind: Provider metadata: name: provider-http spec: package: "xpkg.upbound.io/crossplane-contrib/provider-http:v1.0.5"
provider-http
supports the following resources:
- DisposableRequest: Initiates a one-time HTTP request. See DisposableRequest CRD documentation.
- Request: Manages a resource through HTTP requests. See Request CRD documentation.
Create a DisposableRequest
resource to initiate a single-use HTTP interaction:
apiVersion: http.crossplane.io/v1alpha2
kind: DisposableRequest
metadata:
name: example-disposable-request
spec:
# Add your DisposableRequest specification here
For more detailed examples and configuration options, refer to the examples directory.
Manage a resource through HTTP requests with a Request
resource:
apiVersion: http.crossplane.io/v1alpha2
kind: Request
metadata:
name: example-request
spec:
# Add your Request specification here
For more detailed examples and configuration options, refer to the examples directory.
Run controller against the cluster:
make run
If you encounter any issues during installation or usage, refer to the troubleshooting guide for common problems and solutions.