From 5e2c54ac6c1ccd9deecef8d312dd5f8634edd17a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Thu, 26 Oct 2023 00:59:40 +0000 Subject: [PATCH] chore(userconfigs): generate files --- .../kafka_mirrormaker/kafka_mirrormaker.go | 2 +- .../userconfig/service/clickhouse/clickhouse.go | 9 +++++++++ .../templates/aiven.io_clickhouses.yaml | 13 +++++++++++++ .../templates/aiven.io_serviceintegrations.yaml | 2 +- config/crd/bases/aiven.io_clickhouses.yaml | 13 +++++++++++++ config/crd/bases/aiven.io_serviceintegrations.yaml | 2 +- docs/docs/api-reference/clickhouse.md | 3 +++ docs/docs/api-reference/serviceintegration.md | 2 +- 8 files changed, 42 insertions(+), 4 deletions(-) diff --git a/api/v1alpha1/userconfig/integration/kafka_mirrormaker/kafka_mirrormaker.go b/api/v1alpha1/userconfig/integration/kafka_mirrormaker/kafka_mirrormaker.go index 46edae9ae..b03e4cc08 100644 --- a/api/v1alpha1/userconfig/integration/kafka_mirrormaker/kafka_mirrormaker.go +++ b/api/v1alpha1/userconfig/integration/kafka_mirrormaker/kafka_mirrormaker.go @@ -30,7 +30,7 @@ type KafkaMirrormaker struct { ProducerLingerMs *int `groups:"create,update" json:"producer_linger_ms,omitempty"` // +kubebuilder:validation:Minimum=0 - // +kubebuilder:validation:Maximum=67108864 + // +kubebuilder:validation:Maximum=268435456 // The maximum request size in bytes. ProducerMaxRequestSize *int `groups:"create,update" json:"producer_max_request_size,omitempty"` } diff --git a/api/v1alpha1/userconfig/service/clickhouse/clickhouse.go b/api/v1alpha1/userconfig/service/clickhouse/clickhouse.go index 1ac223dc2..47d94248a 100644 --- a/api/v1alpha1/userconfig/service/clickhouse/clickhouse.go +++ b/api/v1alpha1/userconfig/service/clickhouse/clickhouse.go @@ -22,6 +22,9 @@ type PrivateAccess struct { // Allow clients to connect to clickhouse_https with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations ClickhouseHttps *bool `groups:"create,update" json:"clickhouse_https,omitempty"` + // Allow clients to connect to clickhouse_mysql with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations + ClickhouseMysql *bool `groups:"create,update" json:"clickhouse_mysql,omitempty"` + // Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations Prometheus *bool `groups:"create,update" json:"prometheus,omitempty"` } @@ -34,6 +37,9 @@ type PrivatelinkAccess struct { // Enable clickhouse_https ClickhouseHttps *bool `groups:"create,update" json:"clickhouse_https,omitempty"` + // Enable clickhouse_mysql + ClickhouseMysql *bool `groups:"create,update" json:"clickhouse_mysql,omitempty"` + // Enable prometheus Prometheus *bool `groups:"create,update" json:"prometheus,omitempty"` } @@ -46,6 +52,9 @@ type PublicAccess struct { // Allow clients to connect to clickhouse_https from the public internet for service nodes that are in a project VPC or another type of private network ClickhouseHttps *bool `groups:"create,update" json:"clickhouse_https,omitempty"` + // Allow clients to connect to clickhouse_mysql from the public internet for service nodes that are in a project VPC or another type of private network + ClickhouseMysql *bool `groups:"create,update" json:"clickhouse_mysql,omitempty"` + // Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network Prometheus *bool `groups:"create,update" json:"prometheus,omitempty"` } diff --git a/charts/aiven-operator-crds/templates/aiven.io_clickhouses.yaml b/charts/aiven-operator-crds/templates/aiven.io_clickhouses.yaml index e00dc3f15..904f1d481 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_clickhouses.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_clickhouses.yaml @@ -209,6 +209,11 @@ spec: with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations type: boolean + clickhouse_mysql: + description: Allow clients to connect to clickhouse_mysql + with a DNS name that always resolves to the service's private + IP addresses. Only available in certain network locations + type: boolean prometheus: description: Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP @@ -225,6 +230,9 @@ spec: clickhouse_https: description: Enable clickhouse_https type: boolean + clickhouse_mysql: + description: Enable clickhouse_mysql + type: boolean prometheus: description: Enable prometheus type: boolean @@ -251,6 +259,11 @@ spec: from the public internet for service nodes that are in a project VPC or another type of private network type: boolean + clickhouse_mysql: + description: Allow clients to connect to clickhouse_mysql + from the public internet for service nodes that are in a + project VPC or another type of private network + type: boolean prometheus: description: Allow clients to connect to prometheus from the public internet for service nodes that are in a project diff --git a/charts/aiven-operator-crds/templates/aiven.io_serviceintegrations.yaml b/charts/aiven-operator-crds/templates/aiven.io_serviceintegrations.yaml index 20301f114..7ba61edd7 100644 --- a/charts/aiven-operator-crds/templates/aiven.io_serviceintegrations.yaml +++ b/charts/aiven-operator-crds/templates/aiven.io_serviceintegrations.yaml @@ -516,7 +516,7 @@ spec: type: integer producer_max_request_size: description: The maximum request size in bytes. - maximum: 67108864 + maximum: 268435456 minimum: 0 type: integer type: object diff --git a/config/crd/bases/aiven.io_clickhouses.yaml b/config/crd/bases/aiven.io_clickhouses.yaml index e00dc3f15..904f1d481 100644 --- a/config/crd/bases/aiven.io_clickhouses.yaml +++ b/config/crd/bases/aiven.io_clickhouses.yaml @@ -209,6 +209,11 @@ spec: with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations type: boolean + clickhouse_mysql: + description: Allow clients to connect to clickhouse_mysql + with a DNS name that always resolves to the service's private + IP addresses. Only available in certain network locations + type: boolean prometheus: description: Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP @@ -225,6 +230,9 @@ spec: clickhouse_https: description: Enable clickhouse_https type: boolean + clickhouse_mysql: + description: Enable clickhouse_mysql + type: boolean prometheus: description: Enable prometheus type: boolean @@ -251,6 +259,11 @@ spec: from the public internet for service nodes that are in a project VPC or another type of private network type: boolean + clickhouse_mysql: + description: Allow clients to connect to clickhouse_mysql + from the public internet for service nodes that are in a + project VPC or another type of private network + type: boolean prometheus: description: Allow clients to connect to prometheus from the public internet for service nodes that are in a project diff --git a/config/crd/bases/aiven.io_serviceintegrations.yaml b/config/crd/bases/aiven.io_serviceintegrations.yaml index 20301f114..7ba61edd7 100644 --- a/config/crd/bases/aiven.io_serviceintegrations.yaml +++ b/config/crd/bases/aiven.io_serviceintegrations.yaml @@ -516,7 +516,7 @@ spec: type: integer producer_max_request_size: description: The maximum request size in bytes. - maximum: 67108864 + maximum: 268435456 minimum: 0 type: integer type: object diff --git a/docs/docs/api-reference/clickhouse.md b/docs/docs/api-reference/clickhouse.md index 15c90685c..a4952277b 100644 --- a/docs/docs/api-reference/clickhouse.md +++ b/docs/docs/api-reference/clickhouse.md @@ -160,6 +160,7 @@ Allow access to selected service ports from private networks. - [`clickhouse`](#spec.userConfig.private_access.clickhouse-property){: name='spec.userConfig.private_access.clickhouse-property'} (boolean). Allow clients to connect to clickhouse with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations. - [`clickhouse_https`](#spec.userConfig.private_access.clickhouse_https-property){: name='spec.userConfig.private_access.clickhouse_https-property'} (boolean). Allow clients to connect to clickhouse_https with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations. +- [`clickhouse_mysql`](#spec.userConfig.private_access.clickhouse_mysql-property){: name='spec.userConfig.private_access.clickhouse_mysql-property'} (boolean). Allow clients to connect to clickhouse_mysql with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations. - [`prometheus`](#spec.userConfig.private_access.prometheus-property){: name='spec.userConfig.private_access.prometheus-property'} (boolean). Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations. ### privatelink_access {: #spec.userConfig.privatelink_access } @@ -172,6 +173,7 @@ Allow access to selected service components through Privatelink. - [`clickhouse`](#spec.userConfig.privatelink_access.clickhouse-property){: name='spec.userConfig.privatelink_access.clickhouse-property'} (boolean). Enable clickhouse. - [`clickhouse_https`](#spec.userConfig.privatelink_access.clickhouse_https-property){: name='spec.userConfig.privatelink_access.clickhouse_https-property'} (boolean). Enable clickhouse_https. +- [`clickhouse_mysql`](#spec.userConfig.privatelink_access.clickhouse_mysql-property){: name='spec.userConfig.privatelink_access.clickhouse_mysql-property'} (boolean). Enable clickhouse_mysql. - [`prometheus`](#spec.userConfig.privatelink_access.prometheus-property){: name='spec.userConfig.privatelink_access.prometheus-property'} (boolean). Enable prometheus. ### public_access {: #spec.userConfig.public_access } @@ -184,5 +186,6 @@ Allow access to selected service ports from the public Internet. - [`clickhouse`](#spec.userConfig.public_access.clickhouse-property){: name='spec.userConfig.public_access.clickhouse-property'} (boolean). Allow clients to connect to clickhouse from the public internet for service nodes that are in a project VPC or another type of private network. - [`clickhouse_https`](#spec.userConfig.public_access.clickhouse_https-property){: name='spec.userConfig.public_access.clickhouse_https-property'} (boolean). Allow clients to connect to clickhouse_https from the public internet for service nodes that are in a project VPC or another type of private network. +- [`clickhouse_mysql`](#spec.userConfig.public_access.clickhouse_mysql-property){: name='spec.userConfig.public_access.clickhouse_mysql-property'} (boolean). Allow clients to connect to clickhouse_mysql from the public internet for service nodes that are in a project VPC or another type of private network. - [`prometheus`](#spec.userConfig.public_access.prometheus-property){: name='spec.userConfig.public_access.prometheus-property'} (boolean). Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network. diff --git a/docs/docs/api-reference/serviceintegration.md b/docs/docs/api-reference/serviceintegration.md index e33b8aa7c..0f0822eb4 100644 --- a/docs/docs/api-reference/serviceintegration.md +++ b/docs/docs/api-reference/serviceintegration.md @@ -302,7 +302,7 @@ Kafka MirrorMaker configuration values. - [`producer_buffer_memory`](#spec.kafkaMirrormaker.kafka_mirrormaker.producer_buffer_memory-property){: name='spec.kafkaMirrormaker.kafka_mirrormaker.producer_buffer_memory-property'} (integer, Minimum: 5242880, Maximum: 134217728). The amount of bytes producer can use for buffering data before publishing to broker. - [`producer_compression_type`](#spec.kafkaMirrormaker.kafka_mirrormaker.producer_compression_type-property){: name='spec.kafkaMirrormaker.kafka_mirrormaker.producer_compression_type-property'} (string, Enum: `gzip`, `snappy`, `lz4`, `zstd`, `none`). Specify the default compression type for producers. This configuration accepts the standard compression codecs (`gzip`, `snappy`, `lz4`, `zstd`). It additionally accepts `none` which is the default and equivalent to no compression. - [`producer_linger_ms`](#spec.kafkaMirrormaker.kafka_mirrormaker.producer_linger_ms-property){: name='spec.kafkaMirrormaker.kafka_mirrormaker.producer_linger_ms-property'} (integer, Minimum: 0, Maximum: 5000). The linger time (ms) for waiting new data to arrive for publishing. -- [`producer_max_request_size`](#spec.kafkaMirrormaker.kafka_mirrormaker.producer_max_request_size-property){: name='spec.kafkaMirrormaker.kafka_mirrormaker.producer_max_request_size-property'} (integer, Minimum: 0, Maximum: 67108864). The maximum request size in bytes. +- [`producer_max_request_size`](#spec.kafkaMirrormaker.kafka_mirrormaker.producer_max_request_size-property){: name='spec.kafkaMirrormaker.kafka_mirrormaker.producer_max_request_size-property'} (integer, Minimum: 0, Maximum: 268435456). The maximum request size in bytes. ## logs {: #spec.logs }