Skip to content

Commit

Permalink
Merge pull request #34 from opzkit/pod-identity-webhook-1.23
Browse files Browse the repository at this point in the history
feat: add pod identity webhook for IRSA
  • Loading branch information
peter-svensson authored Sep 7, 2022
2 parents da00107 + 6e50a12 commit f837ae5
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 f837ae5

Please sign in to comment.