Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crossplane-contrib/provider-http
Crossplane Provider designed to facilitate sending HTTP requests as resources.
https://github.com/crossplane-contrib/provider-http
Last synced: 10 days ago
JSON representation
Crossplane Provider designed to facilitate sending HTTP requests as resources.
- Host: GitHub
- URL: https://github.com/crossplane-contrib/provider-http
- Owner: crossplane-contrib
- License: apache-2.0
- Created: 2023-08-04T08:02:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-26T11:07:34.000Z (16 days ago)
- Last Synced: 2024-11-26T12:21:04.919Z (16 days ago)
- Language: Go
- Homepage:
- Size: 333 KB
- Stars: 51
- Watchers: 3
- Forks: 13
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-repositories - crossplane-contrib/provider-http - Crossplane Provider designed to facilitate sending HTTP requests as resources. (Go)
README
# provider-http
`provider-http` is a Crossplane Provider designed to facilitate sending HTTP requests as resources.
## Installation
To install `provider-http`, you have two options:
1. Using the Crossplane CLI in a Kubernetes cluster where Crossplane is installed:
```console
crossplane xpkg install provider xpkg.upbound.io/crossplane-contrib/provider-http:v1.0.6
```2. Manually creating a Provider by applying the following YAML:
```yaml
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
name: provider-http
spec:
package: "xpkg.upbound.io/crossplane-contrib/provider-http:v1.0.6"
```## Supported Resources
`provider-http` supports the following resources:
- **DisposableRequest:** Initiates a one-time HTTP request. See [DisposableRequest CRD documentation](resources-docs/disposablerequest_docs.md).
- **Request:** Manages a resource through HTTP requests. See [Request CRD documentation](resources-docs/request_docs.md).## Usage
### DisposableRequest
Create a `DisposableRequest` resource to initiate a single-use HTTP interaction:
```yaml
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](examples/sample/).
### Request
Manage a resource through HTTP requests with a `Request` resource:
```yaml
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](examples/sample/).
## Developing locally
Run controller against the cluster:
```
make run
```## Troubleshooting
If you encounter any issues during installation or usage, refer to the [troubleshooting guide](https://docs.crossplane.io/knowledge-base/guides/troubleshoot/) for common problems and solutions.