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:
Rodrigo Bersa
2024-05-09 13:57:57 +02:00
committed by GitHub
parent f3299cc63d
commit cfcaf27ac7
6 changed files with 127 additions and 63 deletions

View File

@@ -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
################################################################################