feat: Allow enable/disable of EKS pod identity for the Karpenter controller (#2902)

* Made EKS pod identities for the controller role toggleable

* Switched the variable to the singular form

---------

Co-authored-by: Tyler Culp <tyler.culp@polestardefense.com>
This commit is contained in:
tculp
2024-02-06 09:34:04 -05:00
committed by GitHub
parent f6992b159c
commit cc6919de81
3 changed files with 21 additions and 10 deletions

View File

@@ -104,12 +104,18 @@ variable "ami_id_ssm_parameter_arns" {
default = []
}
variable "enable_pod_identity" {
description = "Determines whether to enable support for EKS pod identity"
type = bool
default = true
}
################################################################################
# IAM Role for Service Account (IRSA)
################################################################################
variable "enable_irsa" {
description = "Determines whether to enable support IAM role for service account"
description = "Determines whether to enable support for IAM role for service accounts"
type = bool
default = false
}