janeczku / go-rancher-gen

:cow: Generate configuration files using templates and Rancher Metadata
MIT License
32 stars 4 forks source link

Template #5

Open adi90x opened 7 years ago

adi90x commented 7 years ago

Hello, I am not really good at go template but what I try to do is the following: service A => label : foo=value1, scale 2 : IP1 & IP2 service B => label : foo=value2, scale 1 : IP3 service C => label : foo=value1, scale 1: IP4

And I try to get something like : value1 = IP1, IP2, IP4 value2 = IP3

Is there a way to get that from go-rancher-gen? Regards,