Re:Maybe You Don't Need Kubernetes
by joseph on Saturday March 23, 2019 @12:43AM
(#19469094)
The secrets example isn't very comparable. With Kubernetes, the secrets are injected into the container as environment variables or files, whereas the ECS example requires assigning an IAM role to the task and doing a Parameter Store lookup from within the container. This usually requires a custom docker image with an entrypoint to handle that part. The same is true for ConfigMaps, which I believe ECS lacks.
[ Parent
| on HN ]
No, you don’t need to do any of that. ECS can inject secrets into environment variables in much the same way as Kubernetes. This behaviour is already built-in, there’s no need to build your own solution for it.
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/...