feat: add labels to allow runtime labels on containers#2186
feat: add labels to allow runtime labels on containers#2186mergify[bot] merged 11 commits intoaws:mainlinefrom
labels to allow runtime labels on containers#2186Conversation
efekarakus
left a comment
There was a problem hiding this comment.
Yay thank you for following-up on this!
iamhopaul123
left a comment
There was a problem hiding this comment.
Thank you so much for continuing this PR!
Co-authored-by: Efe Karakus <efekarakus@gmail.com>
efekarakus
left a comment
There was a problem hiding this comment.
LGTM! just the doc change below, feel free to remove the label when its ready. I wonder if we should also add this field to the sidecar docs as well?
| - Name: !Ref WorkloadName | ||
| Image: !Ref ContainerImage | ||
| {{include "container-definition-base-properties" . | indent 6}} | ||
| {{include "envvars" . | indent 10}} |
There was a problem hiding this comment.
Was there a reason why we didn't include "envvars" to the new template?
There was a problem hiding this comment.
LB web services have the LB URL as an extra environment variable and that adds messy conditionals.
There was a problem hiding this comment.
Fixed in latest commit.
| @@ -0,0 +1,13 @@ | |||
| ContainerDefinitions: | |||
There was a problem hiding this comment.
I think we should take either one of these routes:
- Transform this file to
container-definitions.ymland includesidecarshere. - Or alternatively rename this file to
workload-container.ymland moveContainerDefinitionsoutside of this file so thatsidecars.ymland this file ends up being individual elements in the list
There was a problem hiding this comment.
I've done 2) in the latest commit.
<!-- Provide summary of changes --> Incorporates and builds on top of aws#2165. This addresses @efekarakus' feedback and adds a test. <!-- Issue number, if available. E.g. "Fixes aws#31", "Addresses aws#42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Incorporates and builds on top of #2165. This addresses @efekarakus' feedback and adds a test.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.