diff --git a/share/organisation/ci-space.tf b/share/organisation/ci-space.tf index 824e3a1..e9ef498 100644 --- a/share/organisation/ci-space.tf +++ b/share/organisation/ci-space.tf @@ -72,6 +72,7 @@ resource "gitea_token" "ci-user-token" { count = var.haveGitea && var.haveTekton?1:0 username = gitea_user.user-ci[0].username name = "tekton-${var.instance}-${var.component}" + scopes = ["repository","write"] } resource "kubernetes_secret_v1" "ci-user-token-secret" {