mayadata-io / mayadata-io/d-operators

feat: add clone action to recipe

Open
#127 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bulk clone recipe
Dominant language
Go
Stars
10
Forks
6
PR merge metrics
No merged PRs in 30d

Description

kind: Recipe
spec:
  tasks:
  - name:
    clone:
      # state will provide apiversion, kind to filter the gvk
      # name is mandatory
      state:
      generate: 
        name:
        namespace:
        nameReplicas: # these many names i.e. resources will get created
        namespaceReplicas: # these many namespaces will get created
kind: Recipe
spec:
  tasks:
  - name:
    cloneAll:
      apiVersion:
      kind:
      labelSelector: 
      generate:
        name:
        namespace:
        nameReplicas:
        namespaceReplicas:
kind: Recipe
spec:
  tasks:
  - name:
    bulkClone:
      resources:
      - apiVersion:
        kind:
      labelSelector: 
      generate:
        name:
        namespace:
        nameReplicas:
        namespaceReplicas:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the Recipe task and action definitions in the repository, then compare existing action behavior before deciding where clone, cloneAll, and bulkClone belong. The YAML sketches do not define validation, cloning semantics, or completion criteria, so those requirements need clarification before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.