GSA / data.gov

Main repository for the data.gov service
https://data.gov
Other
626 stars 99 forks source link

Mysterious Unencrypted EBS Volume #3694

Closed nickumia-reisys closed 2 years ago

nickumia-reisys commented 2 years ago

EKS Brokerpak v2.3.2+

How to reproduce

  1. Bring up an EKS Cluster

Expected behavior

All Volumes are encrypted.

Actual behavior

New volumes using our custom ebs-sc (ebs storage class) are encrypted. (This was verified in https://github.com/GSA/datagov-deploy/issues/3683) However, during startup there is a volume that mysteriously gets created and is not encrypted.

image

Sketch

mogul commented 2 years ago

I'm pretty sure that the EBS volume we're seeing here is the volume attached to the managed-node group EC2 instance. We are not setting any parameters that we could be to ensure MNGs use encrypted volumes by default. In other words this is unrelated to the PVC/CSI work we did recently.