This commit is contained in:
2024-04-22 13:25:20 +02:00
parent a3a4506638
commit 18bd380e3b
4 changed files with 7 additions and 5 deletions

View File

@@ -80,9 +80,9 @@ resource "kubernetes_secret" "ci-docker-config" {
auths = {
"${data.kubernetes_ingress_v1.gitea.spec[0].rule[0].host}" = {
"username" = gitea_user.user-ci[0].username
"password" = random_password.password.result
"password" = local.ci-user-password
"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}")
"auth" = base64encode("${gitea_user.user-ci[0].username}:${local.ci-user-password}")
}
}
})