mayadata-io / d-operators

Declarative patterns to write kubernetes controllers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

enhance(recipe): add managed-by feature to recipe custom resource

AmitKumarDas opened this issue · comments

ProblemStatement: As a Kubernetes automation engineer I want a controlled execution of Recipes based on external condition(s). I would like to control execution of specific Recipes from some other custom resource.

kind: RecipePipe
spec:
  stages:
  - name:
    recipeSelector:
      matchLabels:
kind: Recipe
spec:
  enabled:
    when:
    managedBy:
      kind:
      apiVersion:
      name:
      namespace: