---
title: "VirtualClusterNamespaceAdditionalProperties"
url: "https://nov18-dev.movespot.fyi/apis/konnect-control-planes-configuration-for-event-gateways-1/versions/f4366232-3186-4be9-93bd-be3e4b16fb19/schemas/VirtualClusterNamespaceAdditionalProperties"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-control-planes-configuration-for-event-gateways-1/versions/f4366232-3186-4be9-93bd-be3e4b16fb19.md

# VirtualClusterNamespaceAdditionalProperties

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Konnect Control Planes Configuration for Event Gateways
  version: 1.0.0
servers:
  - url: https://us.api.konghq.com/v1
    description: United-States Production region
  - url: https://eu.api.konghq.com/v1
    description: Europe Production region
  - url: https://au.api.konghq.com/v1
    description: Australia Production region
  - url: https://me.api.konghq.com/v1
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v1
    description: India Production region
  - url: https://sg.api.konghq.com/v1
    description: Singapore Production region
components:
  schemas:
    VirtualClusterNamespaceTopicSelector:
      type: object
      discriminator:
        propertyName: type
        mapping:
          glob: "#/components/schemas/VirtualClusterNamespaceTopicSelectorGlob"
          exact_list: "#/components/schemas/VirtualClusterNamespaceTopicSelectorExactList"
      oneOf:
        - $ref: "#/components/schemas/VirtualClusterNamespaceTopicSelectorGlob"
        - $ref: "#/components/schemas/VirtualClusterNamespaceTopicSelectorExactList"
      required:
        - type
    VirtualClusterNamespaceIdSelector:
      type: object
      discriminator:
        propertyName: type
        mapping:
          glob: "#/components/schemas/VirtualClusterNamespaceIdSelectorGlob"
          exact_list: "#/components/schemas/VirtualClusterNamespaceIdSelectorExactList"
      oneOf:
        - $ref: "#/components/schemas/VirtualClusterNamespaceIdSelectorGlob"
        - $ref: "#/components/schemas/VirtualClusterNamespaceIdSelectorExactList"
      required:
        - type
    VirtualClusterNamespaceTopicSelectorGlob:
      type: object
      properties:
        type:
          type: string
          enum:
            - glob
          x-terraform-transform-const: true
        glob:
          description: Expose any backend topic that matches this glob pattern (e.g.,
            `operations_data_*`).
          type: string
          format: glob
          minLength: 1
          pattern: ^[A-Za-z0-9._?*-]+$
        conflict:
          description: >
            How to inform the user about conflicts where multiple backend topics
            would map to the same virtual topic name.

            * warn - log in the Event Gateway logs. Additionally, it sets
            knep_namespace_topic_conflict to 1.

            * ignore - do not do anything. It does not cause
            knep_namespace_topic_conflict metric to be set to 1.
          type: string
          default: warn
          enum:
            - warn
            - ignore
      required:
        - type
        - glob
    VirtualClusterNamespaceTopicSelectorExactList:
      type: object
      properties:
        type:
          type: string
          enum:
            - exact_list
          x-terraform-transform-const: true
        exact_list:
          description: Explicit allow-list of backend topic names.
          type: array
          items:
            $ref: "#/components/schemas/NamespaceExactAllowListItem"
          minItems: 1
        conflict:
          description: >
            How to inform the user about conflicts where multiple backend topics
            would map to the same virtual topic name.

            * warn - log in the Event Gateway logs. Additionally, it sets
            knep_namespace_topic_conflict to 1.

            * ignore - do not do anything. It does not cause
            knep_namespace_topic_conflict metric to be set to 1.
          type: string
          default: warn
          enum:
            - warn
            - ignore
      required:
        - type
    VirtualClusterNamespaceIdSelectorGlob:
      type: object
      properties:
        type:
          type: string
          enum:
            - glob
          x-terraform-transform-const: true
        glob:
          description: Expose any id that matches this glob pattern (e.g., `my_id_*`).
          type: string
          format: glob
          minLength: 1
          pattern: ^[A-Za-z0-9._?*-]+$
      required:
        - type
        - glob
    VirtualClusterNamespaceIdSelectorExactList:
      type: object
      properties:
        type:
          type: string
          enum:
            - exact_list
          x-terraform-transform-const: true
        exact_list:
          type: array
          items:
            type: object
            required:
              - value
            properties:
              value:
                type: string
                minLength: 1
          minItems: 1
      required:
        - type
    NamespaceExactAllowListItem:
      type: object
      properties:
        backend:
          type: string
          minLength: 1
      required:
        - backend
    VirtualClusterNamespaceAdditionalProperties:
      type: object
      properties:
        topics:
          description: >
            Additional backend topics to expose even if they don't match the
            namespace prefix.

            The topics are not affected by the hide/enforce prefix mode.

            If the client tries to create a topic that matches this list, the
            request is rejected.
          type: array
          items:
            $ref: "#/components/schemas/VirtualClusterNamespaceTopicSelector"
        consumer_groups:
          description: >
            Consumer group IDs to expose even if they don't start with the
            namespace prefix.
          type: array
          items:
            $ref: "#/components/schemas/VirtualClusterNamespaceIdSelector"
```
