-
Notifications
You must be signed in to change notification settings - Fork 38
cat: can't open '/tmp/secret': No such file or directory #26
Comments
Hi, Looks like init container did not run and so
|
@amitkarpe You have the same problem I did. See #24. |
Hi @antonosmond , I tried with default namespace still, I am facing the same issue. |
Hi @jicowan, I have created new EKS cluster. I used default namespace.
Deployment Description
Pod status
|
Hi,
|
Looks like the service account you are referencing in your pod.spec doesn't have permission to read the secret from Secrets Manager. If the SA is not mapped to a role that has access to your secret, the init container will not be able to write the secret to the volume. |
@jicowan |
Hi Team,
Current code for webserver.yaml is not working.
Confirmed that created secret is accessible using aws command.
Following is the webserver.yaml code where serviceAccountName set to use
default
sa.The text was updated successfully, but these errors were encountered: