Skip to content

Commit

Permalink
chore: generated code for autoscaler types
Browse files Browse the repository at this point in the history
Generated with `make generate`
  • Loading branch information
rriski committed Oct 30, 2024
1 parent 7ab38f8 commit 291b2f8
Show file tree
Hide file tree
Showing 8 changed files with 101 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
aliases alongside their associated indexes. Default is true
- Add `OpenSearch` field `userConfig.s3_migration.include_aliases`, type `boolean`: Whether to restore
aliases alongside their associated indexes. Default is true
- Add `ServiceIntegration` field `autoscaler`, type `object`: Autoscaler specific user configuration options
- Add `ServiceIntegrationEndpoint` field `autoscaler`, type `object`: Autoscaler configuration values

## v0.25.0 - 2024-09-19

Expand Down
12 changes: 12 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

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

Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,35 @@ spec:
- key
- name
type: object
autoscaler:
description: Autoscaler configuration values
properties:
autoscaling:
description: Configure autoscaling thresholds for a service
items:
description: AutoscalingProperties
properties:
cap_gb:
description:
The maximum total disk size (in gb) to allow
autoscaler to scale up to
maximum: 10000
minimum: 50
type: integer
type:
description: Type of autoscale event
enum:
- autoscale_disk
type: string
required:
- cap_gb
- type
type: object
maxItems: 64
type: array
required:
- autoscaling
type: object
datadog:
description: Datadog configuration values
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ spec:
- key
- name
type: object
autoscaler:
description: Autoscaler specific user configuration options
type: object
clickhouseKafka:
description: Clickhouse Kafka configuration values
properties:
Expand Down
29 changes: 29 additions & 0 deletions config/crd/bases/aiven.io_serviceintegrationendpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,35 @@ spec:
- key
- name
type: object
autoscaler:
description: Autoscaler configuration values
properties:
autoscaling:
description: Configure autoscaling thresholds for a service
items:
description: AutoscalingProperties
properties:
cap_gb:
description:
The maximum total disk size (in gb) to allow
autoscaler to scale up to
maximum: 10000
minimum: 50
type: integer
type:
description: Type of autoscale event
enum:
- autoscale_disk
type: string
required:
- cap_gb
- type
type: object
maxItems: 64
type: array
required:
- autoscaling
type: object
datadog:
description: Datadog configuration values
properties:
Expand Down
3 changes: 3 additions & 0 deletions config/crd/bases/aiven.io_serviceintegrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ spec:
- key
- name
type: object
autoscaler:
description: Autoscaler specific user configuration options
type: object
clickhouseKafka:
description: Clickhouse Kafka configuration values
properties:
Expand Down
1 change: 1 addition & 0 deletions docs/docs/api-reference/serviceintegration.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ ServiceIntegrationSpec defines the desired state of ServiceIntegration.
**Optional**

- [`authSecretRef`](#spec.authSecretRef-property){: name='spec.authSecretRef-property'} (object). Authentication reference to Aiven token in a secret. See below for [nested schema](#spec.authSecretRef).
- [`autoscaler`](#spec.autoscaler-property){: name='spec.autoscaler-property'} (object). Autoscaler specific user configuration options.
- [`clickhouseKafka`](#spec.clickhouseKafka-property){: name='spec.clickhouseKafka-property'} (object). Clickhouse Kafka configuration values. See below for [nested schema](#spec.clickhouseKafka).
- [`clickhousePostgresql`](#spec.clickhousePostgresql-property){: name='spec.clickhousePostgresql-property'} (object). Clickhouse PostgreSQL configuration values. See below for [nested schema](#spec.clickhousePostgresql).
- [`datadog`](#spec.datadog-property){: name='spec.datadog-property'} (object). Datadog specific user configuration options. See below for [nested schema](#spec.datadog).
Expand Down
22 changes: 22 additions & 0 deletions docs/docs/api-reference/serviceintegrationendpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ ServiceIntegrationEndpointSpec defines the desired state of ServiceIntegrationEn
**Optional**

- [`authSecretRef`](#spec.authSecretRef-property){: name='spec.authSecretRef-property'} (object). Authentication reference to Aiven token in a secret. See below for [nested schema](#spec.authSecretRef).
- [`autoscaler`](#spec.autoscaler-property){: name='spec.autoscaler-property'} (object). Autoscaler configuration values. See below for [nested schema](#spec.autoscaler).
- [`datadog`](#spec.datadog-property){: name='spec.datadog-property'} (object). Datadog configuration values. See below for [nested schema](#spec.datadog).
- [`endpointName`](#spec.endpointName-property){: name='spec.endpointName-property'} (string, Immutable, MaxLength: 36). Source endpoint for the integration (if any).
- [`externalAWSCloudwatchLogs`](#spec.externalAWSCloudwatchLogs-property){: name='spec.externalAWSCloudwatchLogs-property'} (object). ExternalAwsCloudwatchLogs configuration values. See below for [nested schema](#spec.externalAWSCloudwatchLogs).
Expand All @@ -121,6 +122,27 @@ Authentication reference to Aiven token in a secret.
- [`key`](#spec.authSecretRef.key-property){: name='spec.authSecretRef.key-property'} (string, MinLength: 1).
- [`name`](#spec.authSecretRef.name-property){: name='spec.authSecretRef.name-property'} (string, MinLength: 1).

## autoscaler {: #spec.autoscaler }

_Appears on [`spec`](#spec)._

Autoscaler configuration values.

**Required**

- [`autoscaling`](#spec.autoscaler.autoscaling-property){: name='spec.autoscaler.autoscaling-property'} (array of objects, MaxItems: 64). Configure autoscaling thresholds for a service. See below for [nested schema](#spec.autoscaler.autoscaling).

### autoscaling {: #spec.autoscaler.autoscaling }

_Appears on [`spec.autoscaler`](#spec.autoscaler)._

AutoscalingProperties.

**Required**

- [`cap_gb`](#spec.autoscaler.autoscaling.cap_gb-property){: name='spec.autoscaler.autoscaling.cap_gb-property'} (integer, Minimum: 50, Maximum: 10000). The maximum total disk size (in gb) to allow autoscaler to scale up to.
- [`type`](#spec.autoscaler.autoscaling.type-property){: name='spec.autoscaler.autoscaling.type-property'} (string, Enum: `autoscale_disk`). Type of autoscale event.

## datadog {: #spec.datadog }

_Appears on [`spec`](#spec)._
Expand Down

0 comments on commit 291b2f8

Please sign in to comment.