ExecutionNamespaceCondition ExecutionNamespaceCondition

yaml
type: "io.kestra.plugin.core.condition.ExecutionNamespaceCondition"

Condition for an execution namespace.

Examples

yaml
- conditions:
    - type: io.kestra.plugin.core.condition.ExecutionNamespaceCondition
      namespace: company.team
      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

Outputs

Definitions

Was this page helpful?