mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-19 16:21:09 +01:00
feat: Add support for Pod Identity assocation on Karpenter sub-module (#3031)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
This commit is contained in:
@@ -138,6 +138,28 @@ variable "irsa_assume_role_condition_test" {
|
||||
default = "StringEquals"
|
||||
}
|
||||
|
||||
################################################################################
|
||||
# Pod Identity Association
|
||||
################################################################################
|
||||
# TODO - Change default to `true` at next breaking change
|
||||
variable "create_pod_identity_association" {
|
||||
description = "Determines whether to create pod identity association"
|
||||
type = bool
|
||||
default = false
|
||||
}
|
||||
|
||||
variable "namespace" {
|
||||
description = "Namespace to associate with the Karpenter Pod Identity"
|
||||
type = string
|
||||
default = "kube-system"
|
||||
}
|
||||
|
||||
variable "service_account" {
|
||||
description = "Service account to associate with the Karpenter Pod Identity"
|
||||
type = string
|
||||
default = "karpenter"
|
||||
}
|
||||
|
||||
################################################################################
|
||||
# Node Termination Queue
|
||||
################################################################################
|
||||
|
||||
Reference in New Issue
Block a user