feat: add orgs as variable

main
RaviAnand Mohabir 2 years ago
parent 5285e0ebf9
commit 0956812ebd

@ -285,6 +285,7 @@ resource "kubernetes_config_map" "woodpecker_server" {
WOODPECKER_ADMIN = var.woodpecker_admin WOODPECKER_ADMIN = var.woodpecker_admin
WOODPECKER_HOST = var.woodpecker_host WOODPECKER_HOST = var.woodpecker_host
WOODPECKER_OPEN = var.woodpecker_open WOODPECKER_OPEN = var.woodpecker_open
WOODPECKER_ORGS = var.woodpecker_orgs
WOODPECKER_GITEA = var.woodpecker_gitea WOODPECKER_GITEA = var.woodpecker_gitea
WOODPECKER_GITEA_URL = var.woodpecker_gitea_url WOODPECKER_GITEA_URL = var.woodpecker_gitea_url
WOODPECKER_GITEA_CLIENT = var.woodpecker_gitea_client WOODPECKER_GITEA_CLIENT = var.woodpecker_gitea_client

@ -74,6 +74,12 @@ variable "woodpecker_open" {
default = true default = true
} }
variable "woodpecker_orgs" {
description = "Comma-delimited list of organizations granted to use Woodpecker"
type = string
default = ""
}
variable "woodpecker_gitea" { variable "woodpecker_gitea" {
description = "Enable Woodpecker Gitea integration" description = "Enable Woodpecker Gitea integration"
type = bool type = bool

Loading…
Cancel
Save