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

Allow KUDO to apply all files in a folder, without having to manually list out each file individually. #1793

Open
ChristianKlass opened this issue May 4, 2021 · 0 comments

Comments

@ChristianKlass
Copy link

What would you like to be added:
If say I have folder in the templates folder, let's call it config, so the folder structure is as follows:

operators/someoperator:
operator.yaml  params.yaml  templates

operators/someoperator/templates:
configs  deployment.yaml  service.yaml

operators/someoperator/templates/configs:
configmap_001.yaml  configmap_002.yaml  ...

It would be good if I could do something like this to have KUDO process all the files in that folder:

tasks:
  - name: add-configs
    kind: apply
    spec:
      resources:
        - configs/*.yaml
        # or maybe
        - configs

Why is this needed:
It would be nice because it's possible that we would have generated configmaps in the config folder (like in my situation), and we wouldn't know how many there will be.

Thanks!

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