Skip to content

Commit

Permalink
feat: update provider CRDs to v0.24.0 (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
Duologic authored Jan 17, 2025
1 parent 6f5844b commit 6782ff1
Show file tree
Hide file tree
Showing 180 changed files with 60,646 additions and 11,567 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
LIBRARY_VERSION:=0.5.2
PROVIDER_VERSION:=0.22.0
PROVIDER_VERSION:=0.24.0
JSONNET_BIN:=jrsonnet
CROSSPLANE?=crossplane
REGISTRY?=ghcr.io
Expand All @@ -22,6 +22,7 @@ generator/crds.yaml:
grafanaplane/zz: $(GENERATOR_DEPTHS)
rm -rf grafanaplane/zz && \
FILES=$$($(JSONNET_BIN) \
-s 1000 \
-S -c -m grafanaplane \
-J generator/vendor \
-A 'version=$(LIBRARY_VERSION)-$(PROVIDER_VERSION)' \
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Most of this library is generated: the Compositions/XRDs packages, Configuration
## Install

```
jb install github.com/grafana/grafana-crossplane-libsonnet/[email protected].22.0
jb install github.com/grafana/grafana-crossplane-libsonnet/[email protected].24.0
```

## Usage
Expand Down
2 changes: 2 additions & 0 deletions docs/configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ local configurations = grafanaplane.configurations;
[
configuration.alerting,
configuration.cloud,
configuration.cloudprovider,
configuration.connections,
configuration.enterprise,
configuration.ml,
configuration.oncall,
Expand Down
1 change: 1 addition & 0 deletions docs/raw/cloud/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

* [v1alpha1.accessPolicy](v1alpha1/accessPolicy/index.md)
* [v1alpha1.accessPolicyToken](v1alpha1/accessPolicyToken.md)
* [v1alpha1.orgMember](v1alpha1/orgMember.md)
* [v1alpha1.pluginInstallation](v1alpha1/pluginInstallation.md)
* [v1alpha1.stack](v1alpha1/stack.md)
* [v1alpha1.stackServiceAccount](v1alpha1/stackServiceAccount.md)
Expand Down
1,262 changes: 1,262 additions & 0 deletions docs/raw/cloud/v1alpha1/orgMember.md

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions docs/raw/cloudprovider/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# cloudprovider



## Subpackages

* [v1alpha1.awsAccount](v1alpha1/awsAccount.md)
* [v1alpha1.awsCloudwatchScrapeJob](v1alpha1/awsCloudwatchScrapeJob/index.md)
* [v1alpha1.azureCredential](v1alpha1/azureCredential/index.md)
1,268 changes: 1,268 additions & 0 deletions docs/raw/cloudprovider/v1alpha1/awsAccount.md

Large diffs are not rendered by default.

1,461 changes: 1,461 additions & 0 deletions docs/raw/cloudprovider/v1alpha1/awsCloudwatchScrapeJob/index.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# customNamespace



## Subpackages

* [metric](metric.md)

## Index

* [`fn withMetric(value)`](#fn-withmetric)
* [`fn withMetricMixin(value)`](#fn-withmetricmixin)
* [`fn withName(value)`](#fn-withname)
* [`fn withScrapeIntervalSeconds(value)`](#fn-withscrapeintervalseconds)

## Fields

### fn withMetric

```jsonnet
withMetric(value)
```

PARAMETERS:

* **value** (`array`)

(Block List) One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects. (see below for nested schema)
One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.
### fn withMetricMixin

```jsonnet
withMetricMixin(value)
```

PARAMETERS:

* **value** (`array`)

(Block List) One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects. (see below for nested schema)
One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.
### fn withName

```jsonnet
withName(value)
```

PARAMETERS:

* **value** (`string`)

(String) The name of the CloudWatch Scrape Job.
The name of the custom namespace to scrape.
### fn withScrapeIntervalSeconds

```jsonnet
withScrapeIntervalSeconds(value)
```

PARAMETERS:

* **value** (`number`)

(Number) The interval in seconds to scrape the custom namespace.
The interval in seconds to scrape the custom namespace.
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# metric



## Index

* [`fn withName(value)`](#fn-withname)
* [`fn withStatistics(value)`](#fn-withstatistics)
* [`fn withStatisticsMixin(value)`](#fn-withstatisticsmixin)

## Fields

### fn withName

```jsonnet
withName(value)
```

PARAMETERS:

* **value** (`string`)

(String) The name of the CloudWatch Scrape Job.
The name of the metric to scrape.
### fn withStatistics

```jsonnet
withStatistics(value)
```

PARAMETERS:

* **value** (`array`)

(Set of String) A set of statistics to scrape.
A set of statistics to scrape.
### fn withStatisticsMixin

```jsonnet
withStatisticsMixin(value)
```

PARAMETERS:

* **value** (`array`)

(Set of String) A set of statistics to scrape.
A set of statistics to scrape.
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
# service



## Subpackages

* [metric](metric.md)
* [resourceDiscoveryTagFilter](resourceDiscoveryTagFilter.md)

## Index

* [`fn withMetric(value)`](#fn-withmetric)
* [`fn withMetricMixin(value)`](#fn-withmetricmixin)
* [`fn withName(value)`](#fn-withname)
* [`fn withResourceDiscoveryTagFilter(value)`](#fn-withresourcediscoverytagfilter)
* [`fn withResourceDiscoveryTagFilterMixin(value)`](#fn-withresourcediscoverytagfiltermixin)
* [`fn withScrapeIntervalSeconds(value)`](#fn-withscrapeintervalseconds)
* [`fn withTagsToAddToMetrics(value)`](#fn-withtagstoaddtometrics)
* [`fn withTagsToAddToMetricsMixin(value)`](#fn-withtagstoaddtometricsmixin)

## Fields

### fn withMetric

```jsonnet
withMetric(value)
```

PARAMETERS:

* **value** (`array`)

(Block List) One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects. (see below for nested schema)
One or more configuration blocks to configure metrics and their statistics to scrape. Please note that AWS metric names must be supplied, and not their PromQL counterparts. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.
### fn withMetricMixin

```jsonnet
withMetricMixin(value)
```

PARAMETERS:

* **value** (`array`)

(Block List) One or more configuration blocks to configure metrics and their statistics to scrape. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects. (see below for nested schema)
One or more configuration blocks to configure metrics and their statistics to scrape. Please note that AWS metric names must be supplied, and not their PromQL counterparts. Each block must represent a distinct metric name. When accessing this as an attribute reference, it is a list of objects.
### fn withName

```jsonnet
withName(value)
```

PARAMETERS:

* **value** (`string`)

(String) The name of the CloudWatch Scrape Job.
The name of the service to scrape. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported services.
### fn withResourceDiscoveryTagFilter

```jsonnet
withResourceDiscoveryTagFilter(value)
```

PARAMETERS:

* **value** (`array`)

(Block List) One or more configuration blocks to configure tag filters applied to discovery of resource entities in the associated AWS account. When accessing this as an attribute reference, it is a list of objects. (see below for nested schema)
One or more configuration blocks to configure tag filters applied to discovery of resource entities in the associated AWS account. When accessing this as an attribute reference, it is a list of objects.
### fn withResourceDiscoveryTagFilterMixin

```jsonnet
withResourceDiscoveryTagFilterMixin(value)
```

PARAMETERS:

* **value** (`array`)

(Block List) One or more configuration blocks to configure tag filters applied to discovery of resource entities in the associated AWS account. When accessing this as an attribute reference, it is a list of objects. (see below for nested schema)
One or more configuration blocks to configure tag filters applied to discovery of resource entities in the associated AWS account. When accessing this as an attribute reference, it is a list of objects.
### fn withScrapeIntervalSeconds

```jsonnet
withScrapeIntervalSeconds(value)
```

PARAMETERS:

* **value** (`number`)

(Number) The interval in seconds to scrape the custom namespace.
The interval in seconds to scrape the service. See https://grafana.com/docs/grafana-cloud/monitor-infrastructure/aws/cloudwatch-metrics/services/ for supported scrape intervals.
### fn withTagsToAddToMetrics

```jsonnet
withTagsToAddToMetrics(value)
```

PARAMETERS:

* **value** (`array`)

(Set of String) A set of tags to add to all metrics exported by this scrape job, for use in PromQL queries.
A set of tags to add to all metrics exported by this scrape job, for use in PromQL queries.
### fn withTagsToAddToMetricsMixin

```jsonnet
withTagsToAddToMetricsMixin(value)
```

PARAMETERS:

* **value** (`array`)

(Set of String) A set of tags to add to all metrics exported by this scrape job, for use in PromQL queries.
A set of tags to add to all metrics exported by this scrape job, for use in PromQL queries.
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# metric



## Index

* [`fn withName(value)`](#fn-withname)
* [`fn withStatistics(value)`](#fn-withstatistics)
* [`fn withStatisticsMixin(value)`](#fn-withstatisticsmixin)

## Fields

### fn withName

```jsonnet
withName(value)
```

PARAMETERS:

* **value** (`string`)

(String) The name of the CloudWatch Scrape Job.
The name of the metric to scrape.
### fn withStatistics

```jsonnet
withStatistics(value)
```

PARAMETERS:

* **value** (`array`)

(Set of String) A set of statistics to scrape.
A set of statistics to scrape.
### fn withStatisticsMixin

```jsonnet
withStatisticsMixin(value)
```

PARAMETERS:

* **value** (`array`)

(Set of String) A set of statistics to scrape.
A set of statistics to scrape.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# resourceDiscoveryTagFilter



## Index

* [`fn withKey(value)`](#fn-withkey)
* [`fn withValue(value)`](#fn-withvalue)

## Fields

### fn withKey

```jsonnet
withKey(value)
```

PARAMETERS:

* **value** (`string`)

(String) The key of the tag filter.
The key of the tag filter.
### fn withValue

```jsonnet
withValue(value)
```

PARAMETERS:

* **value** (`string`)

(String) The value of the tag filter.
The value of the tag filter.
Loading

0 comments on commit 6782ff1

Please sign in to comment.