Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/grafana/crossplane-provider-grafana
- Owner: grafana
- License: apache-2.0
- Created: 2022-11-22T02:42:59.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-16T16:44:11.000Z (3 months ago)
- Last Synced: 2024-09-28T15:01:37.364Z (3 months ago)
- Topics: hacktoberfest
- Language: Go
- Homepage:
- Size: 1.78 MB
- Stars: 26
- Watchers: 107
- Forks: 14
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-repositories - grafana/crossplane-provider-grafana - Crossplane provider of https://github.com/grafana/terraform-provider-grafana (Go)
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).