Skip to content

Commit

Permalink
Merge pull request #42 from streamnative/zxc/fix-storageclass-encryption
Browse files Browse the repository at this point in the history
Fix storageclass encryption config.
  • Loading branch information
jrsdav authored Jan 20, 2022
2 parents 0cbf6c4 + 35419bb commit b5f10f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions csi.tf
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ resource "kubernetes_storage_class" "sn_default" {
storage_provisioner = var.enable_csi ? "ebs.csi.aws.com" : "kubernetes.io/aws-ebs"
parameters = {
type = "gp3"
encryption = "true"
encrypted = "true"
kmsKeyId = local.kms_key
}
reclaim_policy = "Delete"
Expand All @@ -262,7 +262,7 @@ resource "kubernetes_storage_class" "sn_ssd" {
storage_provisioner = var.enable_csi ? "ebs.csi.aws.com" : "kubernetes.io/aws-ebs"
parameters = {
type = "gp3"
encryption = "true"
encrypted = "true"
kmsKeyId = local.kms_key
}
reclaim_policy = "Delete"
Expand Down

0 comments on commit b5f10f1

Please sign in to comment.