This commit is contained in:
2023-07-14 12:53:52 +02:00
parent 284dc650c4
commit 4c33e34f45
13 changed files with 204 additions and 128 deletions

View File

@@ -37,7 +37,7 @@ resource "kubectl_manifest" "authentik" {
namespace: "${var.namespace}-auth"
labels: ${jsonencode(local.common-labels)}
spec:
distrib: "core"
distrib: "${var.distributions.domain}"
category: "share"
component: "authentik"
options: ${jsonencode(merge(local.global, local.authentik))}
@@ -55,7 +55,7 @@ resource "kubectl_manifest" "authentik-ldap" {
namespace: "${var.namespace}-auth"
labels: ${jsonencode(local.common-labels)}
spec:
distrib: "core"
distrib: "${var.distributions.domain}"
category: "share"
component: "authentik-ldap"
options: ${jsonencode(merge(local.global, local.authentik-ldap))}
@@ -73,7 +73,7 @@ resource "kubectl_manifest" "authentik-forward" {
namespace: "${var.namespace}-auth"
labels: ${jsonencode(local.common-labels)}
spec:
distrib: "core"
distrib: "${var.distributions.domain}"
category: "share"
component: "authentik-forward"
options: ${jsonencode(merge(local.global, local.authentik-forward))}

View File

@@ -6,31 +6,26 @@ metadata:
name: domain-auth
description: null
options:
authentik-ldap:
default:
enable: false
examples:
- enable: false
properties:
enable:
default: false
type: boolean
type: object
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
domain-name:
default: your_company.com
distributions:
default:
core: core
domain: domain
examples:
- your_company.com
type: string
ingress-class:
default: traefik
examples:
- traefik
type: string
- core: core
domain: domain
properties:
core:
default: core
type: string
domain:
default: domain
type: string
type: object
authentik:
default:
enable: true
@@ -41,6 +36,21 @@ options:
default: true
type: boolean
type: object
authentik-ldap:
default:
enable: false
examples:
- enable: false
properties:
enable:
default: false
type: boolean
type: object
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
authentik-forward:
default:
enable: false
@@ -51,6 +61,11 @@ options:
default: false
type: boolean
type: object
ingress-class:
default: traefik
examples:
- traefik
type: string
domain:
default: your-company
examples: