ExecutionNamespaceCondition​Execution​Namespace​Condition

ExecutionNamespaceCondition ExecutionNamespaceCondition

yaml
type: "io.kestra.core.models.conditions.types.ExecutionNamespaceCondition"

Condition for an execution namespace.

Examples

yaml
- conditions:
    - type: io.kestra.core.models.conditions.types.ExecutionNamespaceCondition
      namespace: io.kestra.tests
      comparison: PREFIX

Properties

namespace

  • Type: string
  • Dynamic:
  • Required: ✔️

String against which to match the execution namespace depending on the provided comparison.

comparison

  • Type: string
  • Dynamic:
  • Required:
  • Possible Values:
    • EQUALS
    • PREFIX
    • SUFFIX

Comparison to use when checking if namespace matches. If not provided, it will use EQUALS by default.

prefix

  • Type: boolean
  • Dynamic:
  • Required:
  • Default: false

Whether to look at the flow namespace by prefix. Shortcut for comparison: PREFIX.

Only used when comparison is not set