Skip to content

ClickhouseDatabase

Usage example

apiVersion: aiven.io/v1alpha1
kind: ClickhouseDatabase
metadata:
  name: my-db
spec:
  authSecretRef:
    name: aiven-token
    key: token

  project: aiven-project-name
  serviceName: my-clickhouse

ClickhouseDatabase

ClickhouseDatabase is the Schema for the databases API.

Required

  • apiVersion (string). Value aiven.io/v1alpha1.
  • kind (string). Value ClickhouseDatabase.
  • metadata (object). Data that identifies the object, including a name string and optional namespace.
  • spec (object). ClickhouseDatabaseSpec defines the desired state of ClickhouseDatabase. See below for nested schema.

spec

Appears on ClickhouseDatabase.

ClickhouseDatabaseSpec defines the desired state of ClickhouseDatabase.

Required

  • project (string, Immutable, MaxLength: 63, Format: ^[a-zA-Z0-9_-]+$). Identifies the project this resource belongs to.
  • serviceName (string, Immutable, MaxLength: 63, Format: ^[a-z][-a-z0-9]+$). Specifies the name of the service that this resource belongs to.

Optional

authSecretRef

Appears on spec.

Authentication reference to Aiven token in a secret.

Required

  • key (string, MinLength: 1).
  • name (string, MinLength: 1).