Skip to content

Commit

Permalink
fix: changelog entries without description
Browse files Browse the repository at this point in the history
  • Loading branch information
byashimov committed Nov 19, 2024
1 parent 179a133 commit 9aa8548
Show file tree
Hide file tree
Showing 17 changed files with 287 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ updates:
- package-ecosystem: gomod
directory: /
schedule:
interval: weekly
interval: daily
open-pull-requests-limit: 0
ignore:
# These libs are updated by a Makefile command
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@ nav_order: 1
<!-- Always keep the following header in place: -->
<!--## [MAJOR.MINOR.PATCH] - YYYY-MM-DD -->

## [MAJOR.MINOR.PATCH] - YYYY-MM-DD

- Add `aiven_opensearch` resource field `opensearch_user_config.opensearch.search_insights_top_queries`
- Add `aiven_thanos` resource field `thanos_user_config.private_access`: Allow access to selected service ports from
private networks
- Add `aiven_thanos` resource field `thanos_user_config.privatelink_access`: Allow access to selected service components
through Privatelink
- Add `aiven_opensearch` datasource field `opensearch_user_config.opensearch.search_insights_top_queries`
- Add `aiven_thanos` datasource field `thanos_user_config.private_access`: Allow access to selected service ports from
private networks
- Add `aiven_thanos` datasource field `thanos_user_config.privatelink_access`: Allow access to selected service components
through Privatelink

## [4.29.0] - 2024-11-14

- Add support for `autoscaler` service integration
Expand Down
9 changes: 5 additions & 4 deletions changelog/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,10 @@ func (c *Diff) String() string {
}

// Adds description
const maxSize = 120
if c.Description != "" {
msg = fmt.Sprintf("%s: %s", msg, c.Description)
}

msg += ": "
msg += shorten(maxSize-len(msg), c.Description)
return msg
const maxSize = 120
return shorten(maxSize, msg)
}
41 changes: 41 additions & 0 deletions docs/data-sources/opensearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ Read-Only:
- `reindex_remote_whitelist` (List of String)
- `script_max_compilations_rate` (String)
- `search_backpressure` (List of Object) (see [below for nested schema](#nestedobjatt--opensearch_user_config--opensearch--search_backpressure))
- `search_insights_top_queries` (List of Object) (see [below for nested schema](#nestedobjatt--opensearch_user_config--opensearch--search_insights_top_queries))
- `search_max_buckets` (Number)
- `shard_indexing_pressure` (List of Object) (see [below for nested schema](#nestedobjatt--opensearch_user_config--opensearch--shard_indexing_pressure))
- `thread_pool_analyze_queue_size` (Number)
Expand Down Expand Up @@ -353,6 +354,46 @@ Read-Only:



<a id="nestedobjatt--opensearch_user_config--opensearch--search_insights_top_queries"></a>
### Nested Schema for `opensearch_user_config.opensearch.search_insights_top_queries`

Read-Only:

- `cpu` (List of Object) (see [below for nested schema](#nestedobjatt--opensearch_user_config--opensearch--search_insights_top_queries--cpu))
- `latency` (List of Object) (see [below for nested schema](#nestedobjatt--opensearch_user_config--opensearch--search_insights_top_queries--latency))
- `memory` (List of Object) (see [below for nested schema](#nestedobjatt--opensearch_user_config--opensearch--search_insights_top_queries--memory))

<a id="nestedobjatt--opensearch_user_config--opensearch--search_insights_top_queries--cpu"></a>
### Nested Schema for `opensearch_user_config.opensearch.search_insights_top_queries.cpu`

Read-Only:

- `enabled` (Boolean)
- `top_n_size` (Number)
- `window_size` (String)


<a id="nestedobjatt--opensearch_user_config--opensearch--search_insights_top_queries--latency"></a>
### Nested Schema for `opensearch_user_config.opensearch.search_insights_top_queries.latency`

Read-Only:

- `enabled` (Boolean)
- `top_n_size` (Number)
- `window_size` (String)


<a id="nestedobjatt--opensearch_user_config--opensearch--search_insights_top_queries--memory"></a>
### Nested Schema for `opensearch_user_config.opensearch.search_insights_top_queries.memory`

Read-Only:

- `enabled` (Boolean)
- `top_n_size` (Number)
- `window_size` (String)



<a id="nestedobjatt--opensearch_user_config--opensearch--shard_indexing_pressure"></a>
### Nested Schema for `opensearch_user_config.opensearch.shard_indexing_pressure`

Expand Down
20 changes: 20 additions & 0 deletions docs/data-sources/thanos.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ Read-Only:
- `ip_filter_object` (Set of Object) (see [below for nested schema](#nestedobjatt--thanos_user_config--ip_filter_object))
- `ip_filter_string` (Set of String)
- `object_storage_usage_alert_threshold_gb` (Number)
- `private_access` (List of Object) (see [below for nested schema](#nestedobjatt--thanos_user_config--private_access))
- `privatelink_access` (List of Object) (see [below for nested schema](#nestedobjatt--thanos_user_config--privatelink_access))
- `public_access` (List of Object) (see [below for nested schema](#nestedobjatt--thanos_user_config--public_access))
- `query` (List of Object) (see [below for nested schema](#nestedobjatt--thanos_user_config--query))
- `query_frontend` (List of Object) (see [below for nested schema](#nestedobjatt--thanos_user_config--query_frontend))
Expand Down Expand Up @@ -147,6 +149,24 @@ Read-Only:
- `network` (String)


<a id="nestedobjatt--thanos_user_config--private_access"></a>
### Nested Schema for `thanos_user_config.private_access`

Read-Only:

- `query_frontend` (Boolean)
- `receiver_routing` (Boolean)


<a id="nestedobjatt--thanos_user_config--privatelink_access"></a>
### Nested Schema for `thanos_user_config.privatelink_access`

Read-Only:

- `query_frontend` (Boolean)
- `receiver_routing` (Boolean)


<a id="nestedobjatt--thanos_user_config--public_access"></a>
### Nested Schema for `thanos_user_config.public_access`

Expand Down
4 changes: 2 additions & 2 deletions docs/resources/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ Required:

Optional:

- `aws` (Block List, Max: 1) AWS config for Secret Provider (see [below for nested schema](#nestedblock--kafka_user_config--kafka_connect_secret_providers--aws))
- `vault` (Block List, Max: 1) Vault Config for Secret Provider (see [below for nested schema](#nestedblock--kafka_user_config--kafka_connect_secret_providers--vault))
- `aws` (Block List, Max: 1) AWS secret provider configuration (see [below for nested schema](#nestedblock--kafka_user_config--kafka_connect_secret_providers--aws))
- `vault` (Block List, Max: 1) Vault secret provider configuration (see [below for nested schema](#nestedblock--kafka_user_config--kafka_connect_secret_providers--vault))

<a id="nestedblock--kafka_user_config--kafka_connect_secret_providers--aws"></a>
### Nested Schema for `kafka_user_config.kafka_connect_secret_providers.aws`
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/kafka_connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ Required:

Optional:

- `aws` (Block List, Max: 1) AWS config for Secret Provider (see [below for nested schema](#nestedblock--kafka_connect_user_config--secret_providers--aws))
- `vault` (Block List, Max: 1) Vault Config for Secret Provider (see [below for nested schema](#nestedblock--kafka_connect_user_config--secret_providers--vault))
- `aws` (Block List, Max: 1) AWS secret provider configuration (see [below for nested schema](#nestedblock--kafka_connect_user_config--secret_providers--aws))
- `vault` (Block List, Max: 1) Vault secret provider configuration (see [below for nested schema](#nestedblock--kafka_connect_user_config--secret_providers--vault))

<a id="nestedblock--kafka_connect_user_config--secret_providers--aws"></a>
### Nested Schema for `kafka_connect_user_config.secret_providers.aws`
Expand Down
43 changes: 42 additions & 1 deletion docs/resources/opensearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Optional:

Required:

- `account` (String) Azure account name.
- `account` (String) Account name.
- `base_path` (String) The path to the repository data within its container. The value of this setting should not start or end with a /.
- `container` (String) Azure container name.
- `indices` (String) A comma-delimited list of indices to restore from the snapshot. Multi-index syntax is supported. Example: `metrics*,logs*,data-20240823`.
Expand Down Expand Up @@ -275,6 +275,7 @@ Optional:
- `reindex_remote_whitelist` (List of String) Whitelisted addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.
- `script_max_compilations_rate` (String) Script compilation circuit breaker limits the number of inline script compilations within a period of time. Default is use-context. Example: `75/5m`.
- `search_backpressure` (Block List, Max: 1) Search Backpressure Settings (see [below for nested schema](#nestedblock--opensearch_user_config--opensearch--search_backpressure))
- `search_insights_top_queries` (Block List, Max: 1) (see [below for nested schema](#nestedblock--opensearch_user_config--opensearch--search_insights_top_queries))
- `search_max_buckets` (Number) Maximum number of aggregation buckets allowed in a single response. OpenSearch default value is used when this is not defined. Example: `10000`.
- `shard_indexing_pressure` (Block List, Max: 1) Shard indexing back pressure settings (see [below for nested schema](#nestedblock--opensearch_user_config--opensearch--shard_indexing_pressure))
- `thread_pool_analyze_queue_size` (Number) Size for the thread pool queue. See documentation for exact details.
Expand Down Expand Up @@ -378,6 +379,46 @@ Optional:



<a id="nestedblock--opensearch_user_config--opensearch--search_insights_top_queries"></a>
### Nested Schema for `opensearch_user_config.opensearch.search_insights_top_queries`

Optional:

- `cpu` (Block List, Max: 1) Top N queries monitoring by CPU (see [below for nested schema](#nestedblock--opensearch_user_config--opensearch--search_insights_top_queries--cpu))
- `latency` (Block List, Max: 1) Top N queries monitoring by latency (see [below for nested schema](#nestedblock--opensearch_user_config--opensearch--search_insights_top_queries--latency))
- `memory` (Block List, Max: 1) Top N queries monitoring by memory (see [below for nested schema](#nestedblock--opensearch_user_config--opensearch--search_insights_top_queries--memory))

<a id="nestedblock--opensearch_user_config--opensearch--search_insights_top_queries--cpu"></a>
### Nested Schema for `opensearch_user_config.opensearch.search_insights_top_queries.cpu`

Optional:

- `enabled` (Boolean) Enable or disable top N query monitoring by the metric. Default: `false`.
- `top_n_size` (Number) Specify the value of N for the top N queries by the metric.
- `window_size` (String) The window size of the top N queries by the metric.


<a id="nestedblock--opensearch_user_config--opensearch--search_insights_top_queries--latency"></a>
### Nested Schema for `opensearch_user_config.opensearch.search_insights_top_queries.latency`

Optional:

- `enabled` (Boolean) Enable or disable top N query monitoring by the metric. Default: `false`.
- `top_n_size` (Number) Specify the value of N for the top N queries by the metric.
- `window_size` (String) The window size of the top N queries by the metric.


<a id="nestedblock--opensearch_user_config--opensearch--search_insights_top_queries--memory"></a>
### Nested Schema for `opensearch_user_config.opensearch.search_insights_top_queries.memory`

Optional:

- `enabled` (Boolean) Enable or disable top N query monitoring by the metric. Default: `false`.
- `top_n_size` (Number) Specify the value of N for the top N queries by the metric.
- `window_size` (String) The window size of the top N queries by the metric.



<a id="nestedblock--opensearch_user_config--opensearch--shard_indexing_pressure"></a>
### Nested Schema for `opensearch_user_config.opensearch.shard_indexing_pressure`

Expand Down
34 changes: 27 additions & 7 deletions docs/resources/thanos.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,21 +115,23 @@ Read-Only:

Optional:

- `compactor` (Block List, Max: 1) ThanosCompactor (see [below for nested schema](#nestedblock--thanos_user_config--compactor))
- `compactor` (Block List, Max: 1) Configuration options for Thanos Compactor (see [below for nested schema](#nestedblock--thanos_user_config--compactor))
- `env` (Map of String, Deprecated) Environmental variables.
- `ip_filter` (Set of String, Deprecated) Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`.
- `ip_filter_object` (Block Set, Max: 1024) Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16` (see [below for nested schema](#nestedblock--thanos_user_config--ip_filter_object))
- `ip_filter_string` (Set of String) Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`.
- `object_storage_usage_alert_threshold_gb` (Number) After exceeding the limit a service alert is going to be raised (0 means not set).
- `private_access` (Block List, Max: 1) Allow access to selected service ports from private networks (see [below for nested schema](#nestedblock--thanos_user_config--private_access))
- `privatelink_access` (Block List, Max: 1) Allow access to selected service components through Privatelink (see [below for nested schema](#nestedblock--thanos_user_config--privatelink_access))
- `public_access` (Block List, Max: 1) Allow access to selected service ports from the public Internet (see [below for nested schema](#nestedblock--thanos_user_config--public_access))
- `query` (Block List, Max: 1) ThanosQuery (see [below for nested schema](#nestedblock--thanos_user_config--query))
- `query_frontend` (Block List, Max: 1) ThanosQueryFrontend (see [below for nested schema](#nestedblock--thanos_user_config--query_frontend))
- `receiver_ingesting` (Map of String) CommonReceive.
- `receiver_routing` (Map of String) ThanosReceiveRouting.
- `ruler` (Map of String) ThanosRuler.
- `query` (Block List, Max: 1) Configuration options for Thanos Query (see [below for nested schema](#nestedblock--thanos_user_config--query))
- `query_frontend` (Block List, Max: 1) Configuration options for Thanos Query Frontend (see [below for nested schema](#nestedblock--thanos_user_config--query_frontend))
- `receiver_ingesting` (Map of String) Common configuration options for Thanos Receive.
- `receiver_routing` (Map of String) Configuration options for Thanos Receive Routing.
- `ruler` (Map of String) Configuration options for Thanos Ruler.
- `service_log` (Boolean) Store logs for the service so that they are available in the HTTP API and console.
- `static_ips` (Boolean) Use static public IP addresses.
- `store` (Map of String) ThanosStore.
- `store` (Map of String) Configuration options for Thanos Store.

<a id="nestedblock--thanos_user_config--compactor"></a>
### Nested Schema for `thanos_user_config.compactor`
Expand All @@ -151,6 +153,24 @@ Optional:
- `description` (String) Description for IP filter list entry. Example: `Production service IP range`.


<a id="nestedblock--thanos_user_config--private_access"></a>
### Nested Schema for `thanos_user_config.private_access`

Optional:

- `query_frontend` (Boolean) Allow clients to connect to query_frontend with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- `receiver_routing` (Boolean) Allow clients to connect to receiver_routing with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.


<a id="nestedblock--thanos_user_config--privatelink_access"></a>
### Nested Schema for `thanos_user_config.privatelink_access`

Optional:

- `query_frontend` (Boolean) Enable query_frontend.
- `receiver_routing` (Boolean) Enable receiver_routing.


<a id="nestedblock--thanos_user_config--public_access"></a>
### Nested Schema for `thanos_user_config.public_access`

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.23

require (
github.com/aiven/aiven-go-client/v2 v2.31.0
github.com/aiven/go-client-codegen v0.52.0
github.com/aiven/go-client-codegen v0.55.0
github.com/avast/retry-go v3.0.0+incompatible
github.com/dave/jennifer v1.7.1
github.com/docker/go-units v0.5.0
Expand Down Expand Up @@ -60,7 +60,7 @@ require (
cloud.google.com/go v0.112.0 // indirect
cloud.google.com/go/storage v1.36.0 // indirect
github.com/agext/levenshtein v1.2.3 // indirect
github.com/aiven/go-api-schemas v1.100.0
github.com/aiven/go-api-schemas v1.103.0
github.com/aws/aws-sdk-go v1.44.122 // indirect
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,10 @@ github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7l
github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
github.com/aiven/aiven-go-client/v2 v2.31.0 h1:ThPtEQiKDxtq5GDfPW8bAmrT2d6oHRP492CQ7gXwuTI=
github.com/aiven/aiven-go-client/v2 v2.31.0/go.mod h1:AXfB5OeioOln+hYh1XAJaYyi+f+TV6xInc7VZ9DwnY4=
github.com/aiven/go-api-schemas v1.100.0 h1:jDkhyM17CG5WA0tVnGUwy3Ux6BzS4QV2ntrPOXKtCz8=
github.com/aiven/go-api-schemas v1.100.0/go.mod h1:gtyL4LloZ2lRqcyEZTCSizi1eKm6tdzQdUdlIHlvdlY=
github.com/aiven/go-client-codegen v0.52.0 h1:43fryFs7Komt6qgo+iiDttS+yIdEUh1O69gfZoNUzMc=
github.com/aiven/go-client-codegen v0.52.0/go.mod h1:FfbH32Xb+Hx5zeKTIug1Y8SfMeB+AKNRzxgrzkts2oA=
github.com/aiven/go-api-schemas v1.103.0 h1:jz1/Nu/l26gQF46PhL12tNAQLd79wrpagSrbqVJgVZU=
github.com/aiven/go-api-schemas v1.103.0/go.mod h1:gtyL4LloZ2lRqcyEZTCSizi1eKm6tdzQdUdlIHlvdlY=
github.com/aiven/go-client-codegen v0.55.0 h1:XaIPUfb6/S7RNUljbFp7ZsCLZ0pKMvsgQ1fSHZbp6eI=
github.com/aiven/go-client-codegen v0.55.0/go.mod h1:FfbH32Xb+Hx5zeKTIug1Y8SfMeB+AKNRzxgrzkts2oA=
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM=
github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk=
Expand Down
4 changes: 2 additions & 2 deletions internal/sdkprovider/userconfig/service/kafka.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions internal/sdkprovider/userconfig/service/kafka_connect.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9aa8548

Please sign in to comment.