ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
70
terraform/internal/forgejo/variables.tf
Normal file
70
terraform/internal/forgejo/variables.tf
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
variable "forgejo_host" {
|
||||
description = "Forgejo base URL used by Terraform to manage Forgejo resources."
|
||||
type = string
|
||||
default = "https://forge.quorate.internal"
|
||||
}
|
||||
|
||||
variable "organization_name" {
|
||||
description = "Forgejo organization that owns the GitOps repository."
|
||||
type = string
|
||||
default = "quorate"
|
||||
}
|
||||
|
||||
variable "organization_full_name" {
|
||||
description = "Display name for the Forgejo organization."
|
||||
type = string
|
||||
default = "Quorate"
|
||||
}
|
||||
|
||||
variable "repository_name" {
|
||||
description = "Forgejo repository name used as Flux's Git source."
|
||||
type = string
|
||||
default = "cluster"
|
||||
}
|
||||
|
||||
variable "repository_description" {
|
||||
description = "Description for the Flux GitOps repository."
|
||||
type = string
|
||||
default = "Declarative cluster state."
|
||||
}
|
||||
|
||||
variable "repository_default_branch" {
|
||||
description = "Default branch for the Flux GitOps repository."
|
||||
type = string
|
||||
default = "master"
|
||||
}
|
||||
|
||||
variable "flux_git_deploy_key_title" {
|
||||
description = "Title of the Forgejo deploy key Flux uses for Git-over-SSH."
|
||||
type = string
|
||||
default = "flux-system"
|
||||
}
|
||||
|
||||
variable "flux_git_ssh_known_hosts" {
|
||||
description = "SSH known_hosts entries Flux should trust for the Forgejo SSH endpoint."
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "vault_kv_mount" {
|
||||
description = "Vault KV v2 mount where the Flux Git deploy key is mirrored."
|
||||
type = string
|
||||
default = "secret"
|
||||
}
|
||||
|
||||
variable "forgejo_admin_vault_path" {
|
||||
description = "Vault KV path containing the Forgejo admin API token used by Terraform."
|
||||
type = string
|
||||
default = "forgejo/terraform-admin"
|
||||
}
|
||||
|
||||
variable "forgejo_admin_api_token_key" {
|
||||
description = "Key in forgejo_admin_vault_path containing the Forgejo API token."
|
||||
type = string
|
||||
default = "apiToken"
|
||||
}
|
||||
|
||||
variable "flux_git_ssh_vault_path" {
|
||||
description = "Vault KV path for the Flux Git-over-SSH credential."
|
||||
type = string
|
||||
default = "flux/forgejo/git-ssh"
|
||||
}
|
||||
Loading…
Reference in a new issue