What happened?
First off, I'm not sure if this would qualify as a bug or not, but nonetheless the following does not appear to function as expected.
To give a bit of context, our EKS cluster runs the ebs-csi-driver as a daemonset. It coordinates three ebs-csi-driver pods. We've added the AWS_USE_FIPS_ENDPOINT environment variable to the Daemonset's configuration. After testing the new pods with the added environment variable, we were unable to see the AWS Fips endpoint in the logs. Instead, it was the regular AWS Endpoint that got used.
What you expected to happen?
We expected Cloudtrail logs to display the AWS FIPS endpoint instead of the regular endpoint.
We made sure that the version aws-ebs-csi-driver is using uses the correct go SDK version supporting the AWS_USE_FIPS_ENDPOINT env variable.
How to reproduce it (as minimally and precisely as possible)?
Deploy aws-ebs-driver with the following environment variable.
Hi @repl-richard-puth, the AWS_USE_FIPS_ENDPOINT env var needs to be set in the controller's configuration, not in the DaemonSet configuration (the controller pod exercises the API calls).
/kind bug
What happened? First off, I'm not sure if this would qualify as a bug or not, but nonetheless the following does not appear to function as expected. To give a bit of context, our EKS cluster runs the ebs-csi-driver as a daemonset. It coordinates three ebs-csi-driver pods. We've added the
AWS_USE_FIPS_ENDPOINT
environment variable to the Daemonset's configuration. After testing the new pods with the added environment variable, we were unable to see the AWS Fips endpoint in the logs. Instead, it was the regular AWS Endpoint that got used.What you expected to happen? We expected Cloudtrail logs to display the AWS FIPS endpoint instead of the regular endpoint. We made sure that the version aws-ebs-csi-driver is using uses the correct go SDK version supporting the
AWS_USE_FIPS_ENDPOINT
env variable.How to reproduce it (as minimally and precisely as possible)?
AttachVolume
. This event shows what was endpoint is used.Anything else we need to know?:
Environment
kubectl version
):