Skip to content

Commit

Permalink
feat: add pod identity webhook for IRSA
Browse files Browse the repository at this point in the history
  • Loading branch information
argoyle committed Sep 7, 2022
1 parent e9c6a32 commit 6e50a12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions k8s.tf
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@ resource "kops_cluster" "k8s" {
enable_rebalance_monitoring = var.enable_rebalance_monitoring
}

pod_identity_webhook {
enabled = true
}

service_account_issuer_discovery {
discovery_store = var.aws_oidc_provider ? "s3://${aws_s3_bucket.issuer[0].bucket}" : null
enable_aws_oidc_provider = var.aws_oidc_provider
Expand Down

0 comments on commit 6e50a12

Please sign in to comment.