This commit is contained in:
2023-10-15 17:52:56 +02:00
parent 1a818cbad1
commit 01828479be
2 changed files with 60 additions and 50 deletions

View File

@@ -87,3 +87,13 @@ data "kubernetes_secret_v1" "mongos" {
namespace = "${var.mongo[count.index].namespace}"
}
}
provider "restapi" {
uri = "http://authentik.${var.domain}-auth.svc/api/v3/"
headers = local.request_headers
create_method = "PATCH"
update_method = "PATCH"
destroy_method = "PATCH"
write_returns_object = true
id_attribute = "name"
}