-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add option to set the settings.yaml path #45
Comments
Would be great to have .config/cloudwatch/ in the search path as well, it is where most of us expect config files these days :) |
Hi @adrianriobo Can I work on this issue? |
Yeah I guess you can ask @jyejare , I just reported it but can not work on it...I think it would be great if you add this feature |
Hey @bovem you are more than welcome for contribution :) |
Thanks, I'll raise a PR. |
@bovem Where are you upto on this? Are you still interested ? |
@jyejare Yes, I am working on it. I will create a WIP PR for progress tracking. I have added the flag but I think I have to make changes to individual provider's cleanup code to add settings path param. |
@bovem I would love to see what great stuffs your PR brings up :) |
According to documentation currently the settings.yaml file should be filled and placed at
~/cloudwash/settings.yaml
. I was expecting that would be the path where cloudwash looks for the file. Instead it is looking for the file at current path where the tool is been executed.Using the image on a different context like
Tekton
the execution will end on error:This is because the working dir (from where swach will be executed) for the tekton task is
/tekton/home
and the file is at/tekton/home/cloudwash/settings.yaml
So it would be great if a new option for passing the settings file path would be added:
swach --settings-file /custom_path/settings.yaml
The text was updated successfully, but these errors were encountered: