Skip to content

Commit

Permalink
fix: re-set the EBS storage class as the default
Browse files Browse the repository at this point in the history
  • Loading branch information
lentidas committed Aug 14, 2024
1 parent ca79e5d commit 0424d2c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions locals.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
locals {
helm_values = [{
"aws-ebs-csi-driver" = {
defaultStorageClass = {
enabled = var.default_storage_class
}
controller = {
serviceAccount = {
annotations = {
Expand Down
7 changes: 7 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,10 @@ variable "cluster_oidc_issuer_url" {
type = string
default = "" # Use empty string instead of null because of the replace() that uses this variable.
}

variable "default_storage_class" {
description = "Boolean to indicate if the EBS CSI driver should be the default storage class."
type = bool
default = true
nullable = false
}

0 comments on commit 0424d2c

Please sign in to comment.