From b7dfcebf7ea331be8d7a43efccc2c4b51c415912 Mon Sep 17 00:00:00 2001 From: Timo Riski Date: Thu, 19 Sep 2024 13:00:46 +0300 Subject: [PATCH 1/2] chore(release): v0.25.0 --- CHANGELOG.md | 18 ++++++++------- charts/aiven-operator-crds/Chart.yaml | 4 ++-- charts/aiven-operator/Chart.yaml | 4 ++-- docs/docs/changelog.md | 33 +++++++++++++++++++++++++++ 4 files changed, 47 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ed77c02..43e963ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,14 @@ ## [MAJOR.MINOR.PATCH] - YYYY-MM-DD +## v0.25.0 - 2024-09-19 + - Fix `KafkaTopic`: fails to create a topic with the replication factor set more than running Kafka nodes - Fix `ServiceIntegration`: sends empty source and destination projects - Fix `KafkaSchema`: poll resource availability - Add `KafkaSchema` field `schemaType`, type `string`: Schema type - Add `Kafka` field `userConfig.follower_fetching`, type `object`: Enable follower fetching +- Add `Kafka` field `userConfig.kafka_sasl_mechanisms`, type `object`: Kafka SASL mechanisms - Change `Kafka` field `userConfig.kafka.sasl_oauthbearer_sub_claim_name`: pattern ~~`^[^\r\n]*$`~~ → `^[^\r\n]*\S[^\r\n]*$` - Add `MySQL` field `userConfig.migration.ignore_roles`, type `string`: Comma-separated list of database @@ -18,20 +21,19 @@ statement pooling modes when max_prepared_statements is set to a non-zero value - Add `Redis` field `userConfig.migration.ignore_roles`, type `string`: Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment) +- Add `Redis` field `userConfig.backup_hour`, type `integer`: The hour of day (in UTC) when backup for + the service is started +- Add `Redis` field `userConfig.backup_minute`, type `integer`: The minute of an hour when backup for + the service is started - Add `Grafana` field `userConfig.wal`, type `boolean`: Setting to enable/disable Write-Ahead Logging. The default value is false (disabled) -- Add `Kafka` field `userConfig.kafka_sasl_mechanisms`, type `object`: Kafka SASL mechanisms -- Add `OpenSearch` field `userConfig.azure_migration`, type `object`: -- Add `OpenSearch` field `userConfig.gcs_migration`, type `object`: +- Add `OpenSearch` field `userConfig.azure_migration`, type `object`: Azure migration settings +- Add `OpenSearch` field `userConfig.gcs_migration`, type `object`: Google Cloud Storage migration settings - Add `OpenSearch` field `userConfig.index_rollup`, type `object`: Index rollup settings -- Add `OpenSearch` field `userConfig.s3_migration`, type `object`: +- Add `OpenSearch` field `userConfig.s3_migration`, type `object`: AWS S3 / AWS S3 compatible migration settings - Change `OpenSearch` field `userConfig.openid.connect_url`: pattern `^[^\r\n]*$` - Change `OpenSearch` field `userConfig.opensearch.script_max_compilations_rate`: pattern `^[^\r\n]*$` - Change `OpenSearch` field `userConfig.saml.idp_metadata_url`: pattern `^[^\r\n]*$` -- Add `Redis` field `userConfig.backup_hour`, type `integer`: The hour of day (in UTC) when backup for - the service is started -- Add `Redis` field `userConfig.backup_minute`, type `integer`: The minute of an hour when backup for - the service is started ## v0.24.0 - 2024-07-16 diff --git a/charts/aiven-operator-crds/Chart.yaml b/charts/aiven-operator-crds/Chart.yaml index 7dc1f31a..c3a26838 100644 --- a/charts/aiven-operator-crds/Chart.yaml +++ b/charts/aiven-operator-crds/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: aiven-operator-crds description: A Helm chart to deploy the aiven operator custom resource definitions type: application -version: v0.24.0 -appVersion: v0.24.0 +version: v0.25.0 +appVersion: v0.25.0 maintainers: - name: byashimov url: https://www.aiven.io diff --git a/charts/aiven-operator/Chart.yaml b/charts/aiven-operator/Chart.yaml index 148d5652..f8dc920d 100644 --- a/charts/aiven-operator/Chart.yaml +++ b/charts/aiven-operator/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: aiven-operator description: A Helm chart to deploy the aiven operator type: application -version: v0.24.0 -appVersion: v0.24.0 +version: v0.25.0 +appVersion: v0.25.0 maintainers: - name: byashimov url: https://www.aiven.io diff --git a/docs/docs/changelog.md b/docs/docs/changelog.md index b40f1807..afbbaf30 100644 --- a/docs/docs/changelog.md +++ b/docs/docs/changelog.md @@ -1,6 +1,39 @@ # Changelog +## v0.25.0 - 2024-09-19 + +- Fix `KafkaTopic`: fails to create a topic with the replication factor set more than running Kafka nodes +- Fix `ServiceIntegration`: sends empty source and destination projects +- Fix `KafkaSchema`: poll resource availability +- Add `KafkaSchema` field `schemaType`, type `string`: Schema type +- Add `Kafka` field `userConfig.follower_fetching`, type `object`: Enable follower fetching +- Add `Kafka` field `userConfig.kafka_sasl_mechanisms`, type `object`: Kafka SASL mechanisms +- Change `Kafka` field `userConfig.kafka.sasl_oauthbearer_sub_claim_name`: pattern ~~`^[^\r\n]*$`~~ → + `^[^\r\n]*\S[^\r\n]*$` +- Add `MySQL` field `userConfig.migration.ignore_roles`, type `string`: Comma-separated list of database + roles, which should be ignored during migration (supported by PostgreSQL only at the moment) +- Add `PostgreSQL` field `userConfig.migration.ignore_roles`, type `string`: Comma-separated list of + database roles, which should be ignored during migration (supported by PostgreSQL only at the moment) +- Add `PostgreSQL` field `userConfig.pgbouncer.max_prepared_statements`, type `integer`: PgBouncer tracks + protocol-level named prepared statements related commands sent by the client in transaction and + statement pooling modes when max_prepared_statements is set to a non-zero value +- Add `Redis` field `userConfig.migration.ignore_roles`, type `string`: Comma-separated list of database + roles, which should be ignored during migration (supported by PostgreSQL only at the moment) +- Add `Redis` field `userConfig.backup_hour`, type `integer`: The hour of day (in UTC) when backup for + the service is started +- Add `Redis` field `userConfig.backup_minute`, type `integer`: The minute of an hour when backup for + the service is started +- Add `Grafana` field `userConfig.wal`, type `boolean`: Setting to enable/disable Write-Ahead Logging. + The default value is false (disabled) +- Add `OpenSearch` field `userConfig.azure_migration`, type `object`: Azure migration settings +- Add `OpenSearch` field `userConfig.gcs_migration`, type `object`: Google Cloud Storage migration settings +- Add `OpenSearch` field `userConfig.index_rollup`, type `object`: Index rollup settings +- Add `OpenSearch` field `userConfig.s3_migration`, type `object`: AWS S3 / AWS S3 compatible migration settings +- Change `OpenSearch` field `userConfig.openid.connect_url`: pattern `^[^\r\n]*$` +- Change `OpenSearch` field `userConfig.opensearch.script_max_compilations_rate`: pattern `^[^\r\n]*$` +- Change `OpenSearch` field `userConfig.saml.idp_metadata_url`: pattern `^[^\r\n]*$` + ## v0.24.0 - 2024-07-16 - Fix `PostgreSQL`: wait for a valid backup to create read replica From a3fe67acff8375afbd37a1f47d01433307419cd0 Mon Sep 17 00:00:00 2001 From: Timo Riski Date: Thu, 19 Sep 2024 15:48:32 +0300 Subject: [PATCH 2/2] feat: update go-client-codegen to latest This fixes a flaky test TestKafkaSchema by modifying codegen client retry options. --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 3e1f7453..2ca4127d 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/ClickHouse/clickhouse-go/v2 v2.28.2 github.com/aiven/aiven-go-client/v2 v2.26.0 github.com/aiven/go-api-schemas v1.85.0 - github.com/aiven/go-client-codegen v0.31.0 + github.com/aiven/go-client-codegen v0.33.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 diff --git a/go.sum b/go.sum index c3080a6a..1b042a50 100644 --- a/go.sum +++ b/go.sum @@ -43,6 +43,8 @@ github.com/aiven/go-api-schemas v1.85.0 h1:wpTCQWjTLKQvVQq184u6Ji0ZksDZkNPqS6f6z github.com/aiven/go-api-schemas v1.85.0/go.mod h1:/F7Rr8UVErsRxhgGN7CSo+Ac/uAg/OiAVCEKCfm3VAo= github.com/aiven/go-client-codegen v0.31.0 h1:kFJnrdgVTmGoLfTnWV6Qxlzjg6APZ/321ApiOHLwIpM= github.com/aiven/go-client-codegen v0.31.0/go.mod h1:FfbH32Xb+Hx5zeKTIug1Y8SfMeB+AKNRzxgrzkts2oA= +github.com/aiven/go-client-codegen v0.33.0 h1:NBkY+zhFO0RWr1Cn+BBEZufT2WZ4uold3sf1Qciwz+w= +github.com/aiven/go-client-codegen v0.33.0/go.mod h1:FfbH32Xb+Hx5zeKTIug1Y8SfMeB+AKNRzxgrzkts2oA= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=