Issues
Issues copied to clipboard
Add support for container name variables in "Deploy Kubernetes containers" step template
In our "Deploy Kubernetes containers" step, the container name field does not support variable substitution.
Upon saving after modifying the resource YAML directly to attempt a variable substitution, the following error is produced.

Prerequisites
- [x] I have searched open and closed issues to make sure it isn't already requested
- [x] I have discussed this in #feature-discussion or #backlog and the consensus is that this is something we plan on adding in the near future
- [x] I have written a descriptive issue title
- [x] I have linked the original source of this feature request
- [x] I have labelled the value stream (area/core, area/steps, ...)
- [x] I have added the kind/enhancement label
The enhancement
What is the problem this solves or benefit it gives
Users can easily identify containers for debugging purposes. At the moment, they all have the same name and a random guid attached to it, making it difficult to pin point and search for logs. The use of variables would allow users to easily manage this.
Proposed solution
Support variable substitution for container names.
Workarounds
Workaround is to use Deploy raw Kubernetes YAML over Deploy Kubernetes containers step.