I installed fluxcd via terraform on my AKS Cluster.
If i rename a Service in the Flux Repo, it deployes the Service with the new name - but doesn't delete the old Service.
Is this normal or do i have to configure this?
My terraform Script to install fluxcd:
resource "azurerm_kubernetes_flux_configuration" "main" {
name = "flux"
namespace = "flux-system"
cluster_id = var.aks_cluster_id
scope = "cluster"
git_repository {
url = "https://dev.azure.com/***/_git/gitops"
reference_type = "branch"
reference_value = var.gitops_repo_branch_name
https_user = var.username
https_key_base64 = base64encode(var.personal_access_token)
sync_interval_in_seconds = 60
timeout_in_seconds = 600
}
kustomizations {
name = "kustomization"
path = "clusters/${var.namespace}"
retry_interval_in_seconds = 60
sync_interval_in_seconds = 600
timeout_in_seconds = 600
}
depends_on = [
azurerm_kubernetes_cluster_extension.flux
]
}