feat: add sftpgo tofu deploy
Some checks failed
checks / k8s (push) Successful in 13s
checks / tflint (push) Successful in 11s
OpenTofu deployments / adguard (push) Successful in 29s
checks / pre-commit (push) Successful in 1m6s
OpenTofu deployments / authentik (push) Failing after 3h1m9s
Kaniko deployments / nextcloud (push) Failing after 3m15s
Some checks failed
checks / k8s (push) Successful in 13s
checks / tflint (push) Successful in 11s
OpenTofu deployments / adguard (push) Successful in 29s
checks / pre-commit (push) Successful in 1m6s
OpenTofu deployments / authentik (push) Failing after 3h1m9s
Kaniko deployments / nextcloud (push) Failing after 3m15s
This commit is contained in:
parent
ca10dff87f
commit
4ec9a00370
2 changed files with 39 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ data "authentik_user" "catalin" {
|
|||
username = "catalin"
|
||||
}
|
||||
|
||||
|
||||
resource "authentik_group" "ci" {
|
||||
name = "ci"
|
||||
users = [data.authentik_user.catalin.id]
|
||||
|
|
@ -32,6 +33,10 @@ resource "authentik_group" "vpn" {
|
|||
is_superuser = false
|
||||
}
|
||||
|
||||
resource "authentik_group" "ftp" {
|
||||
name = "ftp"
|
||||
is_superuser = false
|
||||
}
|
||||
|
||||
module "gitea" {
|
||||
source = "../modules/authentik-oidc"
|
||||
|
|
@ -141,6 +146,30 @@ module "lidarr" {
|
|||
app_icon = "https://lidarr.audio/img/background/logo.png"
|
||||
}
|
||||
|
||||
module "sftpgo" {
|
||||
source = "../modules/authentik-oidc"
|
||||
app_name = "SFTPGo"
|
||||
app_slug = "SFTPGo"
|
||||
client_id = var.sftpgo_client_id
|
||||
client_secret = var.sftpgo_client_secret
|
||||
client_type = "confidential"
|
||||
app_access_group_id = authentik_group.ftp.id
|
||||
redirect_uris = [
|
||||
{
|
||||
matching_mode = "regex",
|
||||
url = "https://ftp.fukurokuju.dev/.*"
|
||||
}
|
||||
]
|
||||
extra_property_mappings = [
|
||||
|
||||
]
|
||||
app_icon = "https://ftp.fukurokuju.dev/static/img/logo.png"
|
||||
access_token_validity = "days=10"
|
||||
app_url = "https://ftp.fukurokuju.dev"
|
||||
app_description = "SFTPGo"
|
||||
sub_mode = "user_username"
|
||||
}
|
||||
|
||||
module "netbird" {
|
||||
source = "../modules/authentik-oidc"
|
||||
app_name = "netbird"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue