Using StackName in catalogs

Trying to use the stack name / service in a custom catalog.

The stack name is input from the catalog page.


How do i go about pulling in the stack name and service into the yml files?

the ${stack_name}/${service_name} are understood by Rancher when making scheduling decisions. You’ll need to escape them with a $ so, $${stack_name}/$${service_name}

If you want them from inside the container while running, then you just need to query metadata:


from inside the container.