josmo/drone-rancher

How to clear a specific rancher environment?

Closed this issue · 3 comments

I have many environment in rancher, How to assign a specific one to drone-rancher to update stack/service?

0rax commented

Hey, I do not know if there is a specific way of doing so with a multi-environment API Key though I would suggest to use an environment specific key for the plugin, which can be created in API > Keys section under Advanced options.

The key generated here will only have access to the specific environment it has been created in and will allow you to do what you want.

Thanks for your help! It worked with your idea.

josmo commented

@sirius1024 since it sounds like you have a solution I'm going to close it out. Feel free to re-open if it's still an issue :)