From 5f7accbdb693c56e0b5732deefe184dd1a9748db Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Apr 2024 11:51:57 +0000 Subject: [PATCH] build(deps): bump github.com/aiven/go-api-schemas from 1.66.0 to 1.67.0 (#692) --- api/v1alpha1/userconfig/service/grafana/grafana.go | 3 +-- api/v1alpha1/userconfig/service/opensearch/opensearch.go | 3 +-- api/v1alpha1/userconfig/service/redis/redis.go | 3 +-- charts/aiven-operator-crds/templates/aiven.io_grafanas.yaml | 2 +- .../aiven-operator-crds/templates/aiven.io_opensearches.yaml | 2 +- charts/aiven-operator-crds/templates/aiven.io_redis.yaml | 2 +- config/crd/bases/aiven.io_grafanas.yaml | 2 +- config/crd/bases/aiven.io_opensearches.yaml | 2 +- config/crd/bases/aiven.io_redis.yaml | 2 +- docs/docs/api-reference/grafana.md | 2 +- docs/docs/api-reference/opensearch.md | 2 +- docs/docs/api-reference/redis.md | 2 +- go.mod | 2 +- go.sum | 4 ++-- 14 files changed, 15 insertions(+), 18 deletions(-) diff --git a/api/v1alpha1/userconfig/service/grafana/grafana.go b/api/v1alpha1/userconfig/service/grafana/grafana.go index 8b2d72d3..402ce754 100644 --- a/api/v1alpha1/userconfig/service/grafana/grafana.go +++ b/api/v1alpha1/userconfig/service/grafana/grafana.go @@ -298,8 +298,7 @@ type SmtpServer struct { } type GrafanaUserConfig struct { // +kubebuilder:validation:MaxItems=1 - // +kubebuilder:deprecatedversion:warning="additional_backup_regions is deprecated" - // Deprecated. Additional Cloud Regions for Backup Replication + // Additional Cloud Regions for Backup Replication AdditionalBackupRegions []string `groups:"create,update" json:"additional_backup_regions,omitempty"` // Enable or disable Grafana legacy alerting functionality. This should not be enabled with unified_alerting_enabled. diff --git a/api/v1alpha1/userconfig/service/opensearch/opensearch.go b/api/v1alpha1/userconfig/service/opensearch/opensearch.go index 09e03a0b..6ae1cb98 100644 --- a/api/v1alpha1/userconfig/service/opensearch/opensearch.go +++ b/api/v1alpha1/userconfig/service/opensearch/opensearch.go @@ -477,8 +477,7 @@ type Saml struct { } type OpensearchUserConfig struct { // +kubebuilder:validation:MaxItems=1 - // +kubebuilder:deprecatedversion:warning="additional_backup_regions is deprecated" - // Deprecated. Additional Cloud Regions for Backup Replication + // Additional Cloud Regions for Backup Replication AdditionalBackupRegions []string `groups:"create,update" json:"additional_backup_regions,omitempty"` // +kubebuilder:validation:MaxLength=255 diff --git a/api/v1alpha1/userconfig/service/redis/redis.go b/api/v1alpha1/userconfig/service/redis/redis.go index 856780bd..2edffd4d 100644 --- a/api/v1alpha1/userconfig/service/redis/redis.go +++ b/api/v1alpha1/userconfig/service/redis/redis.go @@ -77,8 +77,7 @@ type PublicAccess struct { } type RedisUserConfig struct { // +kubebuilder:validation:MaxItems=1 - // +kubebuilder:deprecatedversion:warning="additional_backup_regions is deprecated" - // Deprecated. Additional Cloud Regions for Backup Replication + // Additional Cloud Regions for Backup Replication AdditionalBackupRegions []string `groups:"create,update" json:"additional_backup_regions,omitempty"` // +kubebuilder:validation:MaxItems=1024 diff --git a/charts/aiven-operator-crds/templates/aiven.io_grafanas.yaml b/charts/aiven-operator-crds/templates/aiven.io_grafanas.yaml index 2898ab2f..9f3a5098 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_grafanas.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_grafanas.yaml @@ -221,7 +221,7 @@ spec: description: Cassandra specific user configuration options properties: additional_backup_regions: - description: Deprecated. Additional Cloud Regions for Backup Replication + description: Additional Cloud Regions for Backup Replication items: type: string maxItems: 1 diff --git a/charts/aiven-operator-crds/templates/aiven.io_opensearches.yaml b/charts/aiven-operator-crds/templates/aiven.io_opensearches.yaml index 9fab2c38..a5ff94ae 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_opensearches.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_opensearches.yaml @@ -208,7 +208,7 @@ spec: description: OpenSearch specific user configuration options properties: additional_backup_regions: - description: Deprecated. Additional Cloud Regions for Backup Replication + description: Additional Cloud Regions for Backup Replication items: type: string maxItems: 1 diff --git a/charts/aiven-operator-crds/templates/aiven.io_redis.yaml b/charts/aiven-operator-crds/templates/aiven.io_redis.yaml index e54a7c08..17e1b81f 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_redis.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_redis.yaml @@ -207,7 +207,7 @@ spec: description: Redis specific user configuration options properties: additional_backup_regions: - description: Deprecated. Additional Cloud Regions for Backup Replication + description: Additional Cloud Regions for Backup Replication items: type: string maxItems: 1 diff --git a/config/crd/bases/aiven.io_grafanas.yaml b/config/crd/bases/aiven.io_grafanas.yaml index 2898ab2f..9f3a5098 100644 --- a/config/crd/bases/aiven.io_grafanas.yaml +++ b/config/crd/bases/aiven.io_grafanas.yaml @@ -221,7 +221,7 @@ spec: description: Cassandra specific user configuration options properties: additional_backup_regions: - description: Deprecated. Additional Cloud Regions for Backup Replication + description: Additional Cloud Regions for Backup Replication items: type: string maxItems: 1 diff --git a/config/crd/bases/aiven.io_opensearches.yaml b/config/crd/bases/aiven.io_opensearches.yaml index 9fab2c38..a5ff94ae 100644 --- a/config/crd/bases/aiven.io_opensearches.yaml +++ b/config/crd/bases/aiven.io_opensearches.yaml @@ -208,7 +208,7 @@ spec: description: OpenSearch specific user configuration options properties: additional_backup_regions: - description: Deprecated. Additional Cloud Regions for Backup Replication + description: Additional Cloud Regions for Backup Replication items: type: string maxItems: 1 diff --git a/config/crd/bases/aiven.io_redis.yaml b/config/crd/bases/aiven.io_redis.yaml index e54a7c08..17e1b81f 100644 --- a/config/crd/bases/aiven.io_redis.yaml +++ b/config/crd/bases/aiven.io_redis.yaml @@ -207,7 +207,7 @@ spec: description: Redis specific user configuration options properties: additional_backup_regions: - description: Deprecated. Additional Cloud Regions for Backup Replication + description: Additional Cloud Regions for Backup Replication items: type: string maxItems: 1 diff --git a/docs/docs/api-reference/grafana.md b/docs/docs/api-reference/grafana.md index 1fcf757c..22899723 100644 --- a/docs/docs/api-reference/grafana.md +++ b/docs/docs/api-reference/grafana.md @@ -147,7 +147,7 @@ Cassandra specific user configuration options. **Optional** -- [`additional_backup_regions`](#spec.userConfig.additional_backup_regions-property){: name='spec.userConfig.additional_backup_regions-property'} (array of strings, MaxItems: 1). Deprecated. Additional Cloud Regions for Backup Replication. +- [`additional_backup_regions`](#spec.userConfig.additional_backup_regions-property){: name='spec.userConfig.additional_backup_regions-property'} (array of strings, MaxItems: 1). Additional Cloud Regions for Backup Replication. - [`alerting_enabled`](#spec.userConfig.alerting_enabled-property){: name='spec.userConfig.alerting_enabled-property'} (boolean). Enable or disable Grafana legacy alerting functionality. This should not be enabled with unified_alerting_enabled. - [`alerting_error_or_timeout`](#spec.userConfig.alerting_error_or_timeout-property){: name='spec.userConfig.alerting_error_or_timeout-property'} (string, Enum: `alerting`, `keep_state`). Default error or timeout setting for new alerting rules. - [`alerting_max_annotations_to_keep`](#spec.userConfig.alerting_max_annotations_to_keep-property){: name='spec.userConfig.alerting_max_annotations_to_keep-property'} (integer, Minimum: 0, Maximum: 1000000). Max number of alert annotations that Grafana stores. 0 (default) keeps all alert annotations. diff --git a/docs/docs/api-reference/opensearch.md b/docs/docs/api-reference/opensearch.md index 2f47bb45..797aa3a8 100644 --- a/docs/docs/api-reference/opensearch.md +++ b/docs/docs/api-reference/opensearch.md @@ -140,7 +140,7 @@ OpenSearch specific user configuration options. **Optional** -- [`additional_backup_regions`](#spec.userConfig.additional_backup_regions-property){: name='spec.userConfig.additional_backup_regions-property'} (array of strings, MaxItems: 1). Deprecated. Additional Cloud Regions for Backup Replication. +- [`additional_backup_regions`](#spec.userConfig.additional_backup_regions-property){: name='spec.userConfig.additional_backup_regions-property'} (array of strings, MaxItems: 1). Additional Cloud Regions for Backup Replication. - [`custom_domain`](#spec.userConfig.custom_domain-property){: name='spec.userConfig.custom_domain-property'} (string, MaxLength: 255). Serve the web frontend using a custom CNAME pointing to the Aiven DNS name. - [`disable_replication_factor_adjustment`](#spec.userConfig.disable_replication_factor_adjustment-property){: name='spec.userConfig.disable_replication_factor_adjustment-property'} (boolean). DEPRECATED: Disable automatic replication factor adjustment for multi-node services. By default, Aiven ensures all indexes are replicated at least to two nodes. Note: Due to potential data loss in case of losing a service node, this setting can no longer be activated. - [`index_patterns`](#spec.userConfig.index_patterns-property){: name='spec.userConfig.index_patterns-property'} (array of objects, MaxItems: 512). Index patterns. See below for [nested schema](#spec.userConfig.index_patterns). diff --git a/docs/docs/api-reference/redis.md b/docs/docs/api-reference/redis.md index 2538f6cb..f87abce5 100644 --- a/docs/docs/api-reference/redis.md +++ b/docs/docs/api-reference/redis.md @@ -142,7 +142,7 @@ Redis specific user configuration options. **Optional** -- [`additional_backup_regions`](#spec.userConfig.additional_backup_regions-property){: name='spec.userConfig.additional_backup_regions-property'} (array of strings, MaxItems: 1). Deprecated. Additional Cloud Regions for Backup Replication. +- [`additional_backup_regions`](#spec.userConfig.additional_backup_regions-property){: name='spec.userConfig.additional_backup_regions-property'} (array of strings, MaxItems: 1). Additional Cloud Regions for Backup Replication. - [`ip_filter`](#spec.userConfig.ip_filter-property){: name='spec.userConfig.ip_filter-property'} (array of objects, MaxItems: 1024). Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`. See below for [nested schema](#spec.userConfig.ip_filter). - [`migration`](#spec.userConfig.migration-property){: name='spec.userConfig.migration-property'} (object). Migrate data from existing server. See below for [nested schema](#spec.userConfig.migration). - [`private_access`](#spec.userConfig.private_access-property){: name='spec.userConfig.private_access-property'} (object). Allow access to selected service ports from private networks. See below for [nested schema](#spec.userConfig.private_access). diff --git a/go.mod b/go.mod index a3e70a54..426dfd53 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/aiven/aiven-go-client/v2 v2.14.0 - github.com/aiven/go-api-schemas v1.66.0 + github.com/aiven/go-api-schemas v1.67.0 github.com/aiven/go-client-codegen v0.4.0 github.com/dave/jennifer v1.7.0 github.com/docker/go-units v0.5.0 diff --git a/go.sum b/go.sum index 398ede1c..638ed529 100644 --- a/go.sum +++ b/go.sum @@ -35,8 +35,8 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/aiven/aiven-go-client/v2 v2.14.0 h1:4FEbB3baj+jA3Gd3vXpzoN6Vi9lGLCcIAYo75vSnx4k= github.com/aiven/aiven-go-client/v2 v2.14.0/go.mod h1:x0xhzxWEKAwKv0xY5FvECiI6tesWshcPHvjwl0B/1SU= -github.com/aiven/go-api-schemas v1.66.0 h1:Bn7E4CLcV9GMOdwmVtPEPud/9AKh/1fw7qT3epV+LXE= -github.com/aiven/go-api-schemas v1.66.0/go.mod h1:/bPxBUHza/2Aeer6hIIdB++GxKiw9K1KCBtRa2rtZ5I= +github.com/aiven/go-api-schemas v1.67.0 h1:cxnxUwXjncGTOsploEq5NsNpKa1d+GMP2/oxwzYxiU8= +github.com/aiven/go-api-schemas v1.67.0/go.mod h1:/bPxBUHza/2Aeer6hIIdB++GxKiw9K1KCBtRa2rtZ5I= github.com/aiven/go-client-codegen v0.4.0 h1:8wY+JjcrFY0KvlRc0pwKEwY/JYAaxmtePkzi8reXX+A= github.com/aiven/go-client-codegen v0.4.0/go.mod h1:R6nTHRxO0+R6vy6eOMYa2TVy2Ma3zewE/aeogV9NGuo= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=