This commit is contained in:
2024-04-22 13:09:15 +02:00
parent c73830a5c2
commit a3a4506638
2 changed files with 3 additions and 3 deletions

View File

@@ -81,7 +81,7 @@ resource "kubernetes_secret" "ci-docker-config" {
"${data.kubernetes_ingress_v1.gitea.spec[0].rule[0].host}" = {
"username" = gitea_user.user-ci[0].username
"password" = random_password.password.result
"email" = var.registry_email
"email" = "auto-ci@${data.kubernetes_ingress_v1.gitea.spec[0].rule[0].host}"
"auth" = base64encode("${gitea_user.user-ci[0].username}:${random_password.password.result}")
}
}