Hi,
Iam using Rancher-CLI (beta) and i’d like to know if there’s a way to use the rancher-cli in a cross environment way? I would like to automate some deployment operations between environments.
I have 2 rancher environments : dev and prod. I’d like to export docker-compose.yaml from dev and import it to prod. But, with rancher CLI, I have to launch a “rancher config” to select the environment I want to work on. Even if I’am using an “account API key”, I only see stacks of one environment at a time. So ti’s not very easy to automate things.
I expected to see everything my API account can access without have to switch environment.
For example, it would be nice to have something like :
rancher up -s <env>/<stack>