mirror of
https://github.com/swisscom/provider-cortex.git
synced 2026-12-04 16:18:43 +00:00
Read-only mirror of https://github.com/swisscom/provider-cortex — Swisscom. Issues & pull requests at the source.
- Go 67.4%
- Go Template 15.3%
- Shell 9.1%
- Makefile 7.3%
- Dockerfile 0.9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
* read cortex auth from provider config * implement basic auth * parameterize the keys of cortex credentials in secrets |
||
| .github | ||
| apis | ||
| build@2672eeb767 | ||
| cluster | ||
| cmd/provider | ||
| examples | ||
| hack | ||
| internal | ||
| package | ||
| .gitignore | ||
| .gitmodules | ||
| .golangci.yml | ||
| CODE_OF_CONDUCT.md | ||
| DCO | ||
| go.mod | ||
| go.sum | ||
| Jenkinsfile | ||
| LICENSE | ||
| Makefile | ||
| OWNERS.md | ||
| PROVIDER_CHECKLIST.md | ||
| README.md | ||
provider-cortex
provider-cortex is a minimal Crossplane Provider for the Cortex HTTP API. It comes
with the following features:
- A
ProviderConfigtype which allows setting the X-Scope-OrgID header which is required for Cortex' tenant model - A
RuleGroupresource type which implements the RuleGroup API - An
AlertManagerConfigresource type which implements the Alertmanager API
Developing
- Run
make submodulesto initialize the "build" Make submodule we use for CI/CD. - Add your new type by running the following command:
make provider.addtype provider=cortex group=alerts kind=AlertManagerConfiguration
- Implement types and controller
- Run
make reviewableto run code generation, linters, and tests. - Run
make buildto build the provider.
Refer to Crossplane's CONTRIBUTING.md file for more information on how the Crossplane community prefers to work. The Provider Development guide may also be of use.