What happened:
After upgrading from EKS 1.15 to EKS 1.16, podsare missing the following env vars:
AWS_ROLE_ARN=arn:aws:iam::xxx:role/oidc-my-service-api-qa
AWS_WEB_IDENTITY_TOKEN_FILE=/var/run/secrets/eks.amazonaws.com/serviceaccount/token
Found that pod-identity-webhook (which is responsible of injecting those) is missing in 1.16. It's still present on our 1.15 clusters.
EKS 1.15
kubectl get mutatingwebhookconfigurations pod-identity-webhook
NAME CREATED AT
pod-identity-webhook 2020-01-11T17:01:52Z
EKS 1.16
kubectl get mutatingwebhookconfigurations pod-identity-webhook
Error from server (NotFound): mutatingwebhookconfigurations.admissionregistration.k8s.io "pod-identity-webhook" not found
What you expected to happen:
pod-identity-webhook to be present after upgrade.
How to reproduce it (as minimally and precisely as possible):
Upgrade EKS 1.15 to 1.16 and execute kubectl get mutatingwebhookconfigurations pod-identity-webhook
Environment:
- AWS Region: ap-southeast-1
- EKS Platform version: "eks.2"
- Kubernetes version: "1.16"
- Webhook Version: -
What happened:
After upgrading from EKS 1.15 to EKS 1.16, podsare missing the following env vars:
Found that pod-identity-webhook (which is responsible of injecting those) is missing in 1.16. It's still present on our 1.15 clusters.
EKS 1.15
EKS 1.16
What you expected to happen:
pod-identity-webhook to be present after upgrade.
How to reproduce it (as minimally and precisely as possible):
Upgrade EKS 1.15 to 1.16 and execute
kubectl get mutatingwebhookconfigurations pod-identity-webhookEnvironment: