Skip to content

Commit

Permalink
Enable pod-readiness-gate-inject
Browse files Browse the repository at this point in the history
  • Loading branch information
hanazuki committed Sep 3, 2022
1 parent 477f8a1 commit ae37486
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tf/k8s/load-balancer-controller.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,18 @@ resource "kubernetes_service_account" "load-balancer-controller" {
automount_service_account_token = true
}

resource "kubernetes_labels" "example" {
api_version = "v1"
kind = "Namespace"
metadata {
name = "default"
}
labels = {
# https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.4/deploy/pod_readiness_gate/
"elbv2.k8s.aws/pod-readiness-gate-inject" = "enabled"
}
}

# module.cluster.oidc_config.url
# module.cluster.oidc_config.arn
# module.cluster.oidc_config.condition

0 comments on commit ae37486

Please sign in to comment.