-
Notifications
You must be signed in to change notification settings - Fork 390
Description
Describe the bug
Ran into an issue while trying to create an app mesh using the dj-app at aws-app-mesh-examples/examples/apps/djapp/
With the current deployment files, when the envoy proxy sidecar container is automatically injected, it will not have the necessary permission "appmesh:StreamAggregatedResources". This is because the iamserviceaccount that is created as part of the tutorial is not included in the base app deployment definition.
Platform
EKS
To Reproduce
Steps to reproduce the behavior:
- git clone https://github.com/aws/aws-app-mesh-examples
- cd aws-app-mesh-examples/examples/apps/djapp/
- kubectl apply -f 1_base_application/base_app.yaml
- Deploy appmesh-controller using helm
- kubectl apply -f 2_meshed_application/meshed_app.yaml
- Envoy proxy sidecar container fails to initialize due to an iam permission issue.
Expected behavior
The Envoy proxy sidecar container should initialize successfully and there should not be any iam permission error.
Additional context
After adding the serviceAccountName (which has the correct role with policies attached) to all the deployment definition in 1_base_application/base_app.yaml the envoy proxy container initialized successfully without any issue.