From 2208432f57978ebc0d4fa509fdf639f88c82de56 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 Mar 2024 16:13:41 +0200 Subject: [PATCH] build(deps): bump github.com/aiven/go-api-schemas from 1.62.0 to 1.63.0 (#665) --- CHANGELOG.md | 2 ++ api/v1alpha1/userconfig/service/redis/redis.go | 2 +- charts/aiven-operator-crds/templates/aiven.io_redis.yaml | 2 +- config/crd/bases/aiven.io_redis.yaml | 2 +- docs/docs/api-reference/redis.md | 2 +- go.mod | 2 +- go.sum | 4 ++-- 7 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 75ae87c8..19b3cca0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,8 @@ - Change `Redis` field `userConfig.service_to_fork_from`: pattern `^[a-z][-a-z0-9]{0,63}$|^$` - Add `OpenSearch` field `userConfig.opensearch.plugins_alerting_filter_by_backend_roles`, type `boolean`: Enable or disable filtering of alerting by backend roles. Requires Security plugin +- Change `Redis` field `userConfig.redis_notify_keyspace_events`: pattern ~~`^[KEg\$lshzxeA]*$`~~ → + `^[KEg\$lshzxentdmA]*$` ## v0.17.0 - 2024-02-01 diff --git a/api/v1alpha1/userconfig/service/redis/redis.go b/api/v1alpha1/userconfig/service/redis/redis.go index faa11e71..856780bd 100644 --- a/api/v1alpha1/userconfig/service/redis/redis.go +++ b/api/v1alpha1/userconfig/service/redis/redis.go @@ -132,7 +132,7 @@ type RedisUserConfig struct { RedisMaxmemoryPolicy *string `groups:"create,update" json:"redis_maxmemory_policy,omitempty"` // +kubebuilder:validation:MaxLength=32 - // +kubebuilder:validation:Pattern=`^[KEg\$lshzxeA]*$` + // +kubebuilder:validation:Pattern=`^[KEg\$lshzxentdmA]*$` // Set notify-keyspace-events option RedisNotifyKeyspaceEvents *string `groups:"create,update" json:"redis_notify_keyspace_events,omitempty"` diff --git a/charts/aiven-operator-crds/templates/aiven.io_redis.yaml b/charts/aiven-operator-crds/templates/aiven.io_redis.yaml index 29134443..e54a7c08 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_redis.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_redis.yaml @@ -397,7 +397,7 @@ spec: redis_notify_keyspace_events: description: Set notify-keyspace-events option maxLength: 32 - pattern: ^[KEg\$lshzxeA]*$ + pattern: ^[KEg\$lshzxentdmA]*$ type: string redis_number_of_databases: description: diff --git a/config/crd/bases/aiven.io_redis.yaml b/config/crd/bases/aiven.io_redis.yaml index 29134443..e54a7c08 100644 --- a/config/crd/bases/aiven.io_redis.yaml +++ b/config/crd/bases/aiven.io_redis.yaml @@ -397,7 +397,7 @@ spec: redis_notify_keyspace_events: description: Set notify-keyspace-events option maxLength: 32 - pattern: ^[KEg\$lshzxeA]*$ + pattern: ^[KEg\$lshzxentdmA]*$ type: string redis_number_of_databases: description: diff --git a/docs/docs/api-reference/redis.md b/docs/docs/api-reference/redis.md index 917d8256..2538f6cb 100644 --- a/docs/docs/api-reference/redis.md +++ b/docs/docs/api-reference/redis.md @@ -155,7 +155,7 @@ Redis specific user configuration options. - [`redis_lfu_decay_time`](#spec.userConfig.redis_lfu_decay_time-property){: name='spec.userConfig.redis_lfu_decay_time-property'} (integer, Minimum: 1, Maximum: 120). LFU maxmemory-policy counter decay time in minutes. - [`redis_lfu_log_factor`](#spec.userConfig.redis_lfu_log_factor-property){: name='spec.userConfig.redis_lfu_log_factor-property'} (integer, Minimum: 0, Maximum: 100). Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies. - [`redis_maxmemory_policy`](#spec.userConfig.redis_maxmemory_policy-property){: name='spec.userConfig.redis_maxmemory_policy-property'} (string, Enum: `noeviction`, `allkeys-lru`, `volatile-lru`, `allkeys-random`, `volatile-random`, `volatile-ttl`, `volatile-lfu`, `allkeys-lfu`). Redis maxmemory-policy. -- [`redis_notify_keyspace_events`](#spec.userConfig.redis_notify_keyspace_events-property){: name='spec.userConfig.redis_notify_keyspace_events-property'} (string, Pattern: `^[KEg\$lshzxeA]*$`, MaxLength: 32). Set notify-keyspace-events option. +- [`redis_notify_keyspace_events`](#spec.userConfig.redis_notify_keyspace_events-property){: name='spec.userConfig.redis_notify_keyspace_events-property'} (string, Pattern: `^[KEg\$lshzxentdmA]*$`, MaxLength: 32). Set notify-keyspace-events option. - [`redis_number_of_databases`](#spec.userConfig.redis_number_of_databases-property){: name='spec.userConfig.redis_number_of_databases-property'} (integer, Minimum: 1, Maximum: 128). Set number of Redis databases. Changing this will cause a restart of the Redis service. - [`redis_persistence`](#spec.userConfig.redis_persistence-property){: name='spec.userConfig.redis_persistence-property'} (string, Enum: `off`, `rdb`). When persistence is `rdb`, Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to backup schedule for backup purposes. When persistence is `off`, no RDB dumps and backups are done, so data can be lost at any moment if service is restarted for any reason, or if service is powered off. Also service can't be forked. - [`redis_pubsub_client_output_buffer_limit`](#spec.userConfig.redis_pubsub_client_output_buffer_limit-property){: name='spec.userConfig.redis_pubsub_client_output_buffer_limit-property'} (integer, Minimum: 32, Maximum: 512). Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan. diff --git a/go.mod b/go.mod index 633f9b27..b0a8846d 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/aiven/aiven-go-client/v2 v2.12.0 - github.com/aiven/go-api-schemas v1.62.0 + github.com/aiven/go-api-schemas v1.63.0 github.com/aiven/go-client-codegen v0.2.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 759ad6b8..8997e8c3 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.12.0 h1:VxOfn61AtfLjy2B+DdXF2/7OHyyFZ1aQaIlE3TOyIsE= github.com/aiven/aiven-go-client/v2 v2.12.0/go.mod h1:x0xhzxWEKAwKv0xY5FvECiI6tesWshcPHvjwl0B/1SU= -github.com/aiven/go-api-schemas v1.62.0 h1:p5FkZUbTWYl7B7ZHKJqSgKZpE3teUvfNWkH+MPd4sbk= -github.com/aiven/go-api-schemas v1.62.0/go.mod h1:/bPxBUHza/2Aeer6hIIdB++GxKiw9K1KCBtRa2rtZ5I= +github.com/aiven/go-api-schemas v1.63.0 h1:fk4yOD8j1AByuzIzHmTuxGrpTpvjrIfTaPh1VUkKFjM= +github.com/aiven/go-api-schemas v1.63.0/go.mod h1:/bPxBUHza/2Aeer6hIIdB++GxKiw9K1KCBtRa2rtZ5I= github.com/aiven/go-client-codegen v0.2.0 h1:f82CHhXCBbrBIUa3yworytXjiolp/Q73epnbRjQIwBk= github.com/aiven/go-client-codegen v0.2.0/go.mod h1:qQ5dwRfNnGS4eAYk7JdC5htQI85g7eA/e71ZLyY8pQw= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=