Added wiki generator
Some checks failed
Terraform / Terraform (push) Has been cancelled
Update Authentik Applications Wiki / Generate and Update Wiki (push) Failing after 19s

This commit is contained in:
AB from home.homenet
2025-09-16 15:57:48 +03:00
parent 3daf7cf79a
commit 993cf1985d
2 changed files with 17 additions and 15 deletions

View File

@@ -2,6 +2,8 @@ name: Check with kubeconform
on: on:
push: push:
branches: [ main ] branches: [ main ]
paths:
- 'k8s/**'
jobs: jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@@ -99,24 +99,24 @@ output "applications_for_wiki" {
value = { value = {
proxy_apps = { proxy_apps = {
for k, v in var.proxy_applications : k => { for k, v in var.proxy_applications : k => {
name = v.name name = v.name
type = "Proxy" type = "Proxy"
url = v.external_host url = v.external_host
group = v.group group = v.group
description = v.meta_description description = v.meta_description
icon = v.meta_icon icon = v.meta_icon
slug = v.slug slug = v.slug
} }
} }
oauth_apps = { oauth_apps = {
for k, v in var.oauth_applications : k => { for k, v in var.oauth_applications : k => {
name = v.name name = v.name
type = "OAuth2/OpenID" type = "OAuth2/OpenID"
url = length(v.redirect_uris) > 0 ? "https://${split("/", replace(v.redirect_uris[0], "https://", ""))[0]}" : "" url = length(v.redirect_uris) > 0 ? "https://${split("/", replace(v.redirect_uris[0], "https://", ""))[0]}" : ""
group = v.group group = v.group
description = v.meta_description description = v.meta_description
icon = v.meta_icon icon = v.meta_icon
slug = v.slug slug = v.slug
} }
} }
} }