Skip to content

Commit

Permalink
fix(aks): remove deprecated label from repo server service account fo…
Browse files Browse the repository at this point in the history
…r workload id
  • Loading branch information
fsismondi authored and lentidas committed Apr 16, 2024
1 parent 4f05526 commit cc58a8a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ locals {
var.repo_server_azure_workload_identity_clientid != null ? { "azure.workload.identity/client-id" = var.repo_server_azure_workload_identity_clientid } : {}
)

repo_server_service_account_labels = var.repo_server_azure_workload_identity_clientid != null ? { "azure.workload.identity/use" : "true" } : {}

repo_server_pod_labels = merge(
var.repo_server_azure_workload_identity_clientid != null ? { "azure.workload.identity/use" : "true" } : {},
var.repo_server_aadpodidbinding != null ? { "aadpodidbinding" : var.repo_server_aadpodidbinding } : {}
Expand Down Expand Up @@ -213,7 +211,6 @@ locals {
podLabels = local.repo_server_pod_labels
serviceAccount = {
annotations = local.repo_server_service_account_annotations
labels = local.repo_server_service_account_labels
}
}
extraObjects = local.extra_objects
Expand Down

0 comments on commit cc58a8a

Please sign in to comment.