-
Notifications
You must be signed in to change notification settings - Fork 656
rancherctl service enable: when using a custom service, it's annoying that the file must be placed in a specific folder location #209
Comments
enforce needing the location of a service enabled to either |
@deniseschannon What is needed here? Only the error message, if service is not found in that location? |
yes, basically an error message indicating that the yaml file needs to be in right now, we add in the name of the service into the rancher.yml even if the file isn't located in that directory like i did |
I think enable should validate that the service is
|
@ibuildthecloud If you look at the code change I made, the above three cases are taken care of. |
@ibuildthecloud -- If #1 is not met, then it throws an error |
@ibuildthecloud I've pushed the changes to enforce #2. |
Also, I assumed #1 means no trailing |
Just tested this out with |
We can check if it doesn't start with http then print that message. |
@ibuildthecloud just made the PR. |
It's annoying that I have to save a folder in a specific folder location (
/var/lib/rancher/conf/
) AND I have to name the the service/var/lib/rancher/conf/example.yml
in order for my service to work.The text was updated successfully, but these errors were encountered: