Added wiki generator
This commit is contained in:
@@ -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
|
||||||
|
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user