Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add clone action to recipe #127

Open
AmitKumarDas opened this issue Aug 8, 2020 · 0 comments
Open

feat: add clone action to recipe #127

AmitKumarDas opened this issue Aug 8, 2020 · 0 comments

Comments

@AmitKumarDas
Copy link

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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant