Skip to content

KafkaSchemaRegistryACL

Usage example

apiVersion: aiven.io/v1alpha1
kind: KafkaSchemaRegistryACL
metadata:
  name: my-kafka-schema-registry-acl
spec:
  authSecretRef:
    name: aiven-token
    key: token

  project: aiven-project-name
  serviceName: my-kafka
  resource: Subject:my-topic
  username: my-user
  permission: schema_registry_read

KafkaSchemaRegistryACL

KafkaSchemaRegistryACL is the Schema for the kafkaschemaregistryacls API.

Required

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

spec

Appears on KafkaSchemaRegistryACL.

KafkaSchemaRegistryACLSpec defines the desired state of KafkaSchemaRegistryACL.

Required

  • permission (string, Enum: schema_registry_read, schema_registry_write, Immutable).
  • project (string, Immutable, MaxLength: 63, Format: ^[a-zA-Z0-9_-]+$). Identifies the project this resource belongs to.
  • resource (string, Immutable, MaxLength: 249). Resource name pattern for the Schema Registry ACL entry.
  • serviceName (string, Immutable, MaxLength: 63, Format: ^[a-z][-a-z0-9]+$). Specifies the name of the service that this resource belongs to.
  • username (string, Immutable, MaxLength: 64). Username pattern for the ACL entry.

Optional

authSecretRef

Appears on spec.

Authentication reference to Aiven token in a secret.

Required

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