Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/grafana/crossplane-provider-grafana

Crossplane provider of https://github.com/grafana/terraform-provider-grafana. Generated by https://github.com/upbound/upjet
https://github.com/grafana/crossplane-provider-grafana

hacktoberfest

Last synced: 2 months ago
JSON representation

Crossplane provider of https://github.com/grafana/terraform-provider-grafana. Generated by https://github.com/upbound/upjet

Awesome Lists containing this project

README

        

# Provider Grafana

`provider-grafana` is a [Crossplane](https://crossplane.io/) provider that
is built using [Upjet](https://github.com/upbound/upjet) code
generation tools and exposes XRM-conformant managed resources for the
Grafana API.

## Getting Started

Install the provider by using the following command after changing the image tag
to the [latest release](https://marketplace.upbound.io/providers/grafana/provider-grafana):

```
up ctp provider install xpkg.upbound.io/grafana/provider-grafana:v0.5.1
```

Alternatively, you can use declarative installation:

```
cat <
kubectl apply -f ./package/crossplane.yaml
kubectl apply -f ./package/crds
```

### Possible issues when running locally

Below are some issues that have been encountered and may be helpful in the future
to others.

```bash
❯ make generate
14:35:30 [ .. ] generating provider schema for grafana/grafana 2.19.1
make[1]: *** [config/schema.json] Error 1
make: *** [generate] Error 2
```

**Solution**: ensure that you do not have a `.terraformrc` defined somewhere. For example
`~/.terraformrc`:

```bash
❯ cat ~/.terraformrc
provider_installation {
dev_overrides {
"grafana/grafana" = "/Users/joeyorlando/coding/grafana/terraform-provider-grafana"
}
}
```

Additionally, you can check the `terraform` logs via:

```bash
❯ cat ./.work/terraform/terraform-logs.txt
...
```

Lastly, make sure that you have the following defined in your `.bashrc` (or `.zshrc`):

```bash
export PATH="$PATH:$HOME/go/bin"
```

## Report a Bug

For filing bugs, suggesting improvements, or requesting new features, please
open an [issue](https://github.com/grafana/crossplane-provider-grafana/issues).