fix
This commit is contained in:
@@ -5,7 +5,10 @@ locals {
|
|||||||
sorted-div-clients = flatten([
|
sorted-div-clients = flatten([
|
||||||
for name in local.sorted-div-clients-names: [
|
for name in local.sorted-div-clients-names: [
|
||||||
for div in var.clients.divisions:
|
for div in var.clients.divisions:
|
||||||
div if div.name == name
|
merge({
|
||||||
|
"apps" = []
|
||||||
|
"teams" = []
|
||||||
|
}, div) if div.name == name
|
||||||
]
|
]
|
||||||
])
|
])
|
||||||
sorted-div-employes-names = reverse(distinct(sort([
|
sorted-div-employes-names = reverse(distinct(sort([
|
||||||
@@ -14,7 +17,10 @@ locals {
|
|||||||
sorted-div-employes = flatten([
|
sorted-div-employes = flatten([
|
||||||
for name in local.sorted-div-employes-names: [
|
for name in local.sorted-div-employes-names: [
|
||||||
for div in var.employes.divisions:
|
for div in var.employes.divisions:
|
||||||
div if div.name == name
|
merge({
|
||||||
|
"apps" = []
|
||||||
|
"teams" = []
|
||||||
|
}, div) if div.name == name
|
||||||
]
|
]
|
||||||
])
|
])
|
||||||
sorted-div-fournisseurs-names = reverse(distinct(sort([
|
sorted-div-fournisseurs-names = reverse(distinct(sort([
|
||||||
@@ -23,7 +29,10 @@ locals {
|
|||||||
sorted-div-fournisseurs = flatten([
|
sorted-div-fournisseurs = flatten([
|
||||||
for name in local.sorted-div-fournisseurs-names: [
|
for name in local.sorted-div-fournisseurs-names: [
|
||||||
for div in var.fournisseurs.divisions:
|
for div in var.fournisseurs.divisions:
|
||||||
div if div.name == name
|
merge({
|
||||||
|
"apps" = []
|
||||||
|
"teams" = []
|
||||||
|
}, div) if div.name == name
|
||||||
]
|
]
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,231 +6,231 @@ metadata:
|
|||||||
name: domain-auth
|
name: domain-auth
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
authentik-ldap:
|
employes:
|
||||||
default:
|
default:
|
||||||
enable: false
|
apps: []
|
||||||
|
divisions: []
|
||||||
|
enable: true
|
||||||
examples:
|
examples:
|
||||||
- enable: false
|
- apps: []
|
||||||
type: object
|
divisions: []
|
||||||
|
enable: true
|
||||||
properties:
|
properties:
|
||||||
|
apps:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
divisions:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
apps:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
teams:
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
enable:
|
enable:
|
||||||
|
default: true
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
type: object
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
domain-name:
|
domain-name:
|
||||||
default: your_company.com
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- your_company.com
|
||||||
type: string
|
type: string
|
||||||
ingress-class:
|
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
|
||||||
storage-classes:
|
|
||||||
default:
|
|
||||||
FilesystemReadWriteMany: ''
|
|
||||||
FilesystemReadWriteOnce: ''
|
|
||||||
BlockReadWriteMany: ''
|
|
||||||
BlockReadWriteOnce: ''
|
|
||||||
examples:
|
|
||||||
- FilesystemReadWriteMany: ''
|
|
||||||
FilesystemReadWriteOnce: ''
|
|
||||||
BlockReadWriteMany: ''
|
|
||||||
BlockReadWriteOnce: ''
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
BlockReadWriteMany:
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
BlockReadWriteOnce:
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
FilesystemReadWriteMany:
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
FilesystemReadWriteOnce:
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
distributions:
|
|
||||||
default:
|
|
||||||
domain: domain
|
|
||||||
core: core
|
|
||||||
examples:
|
|
||||||
- domain: domain
|
|
||||||
core: core
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
core:
|
|
||||||
type: string
|
|
||||||
default: core
|
|
||||||
domain:
|
|
||||||
type: string
|
|
||||||
default: domain
|
|
||||||
authentik:
|
|
||||||
default:
|
|
||||||
enable: true
|
|
||||||
examples:
|
|
||||||
- enable: true
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
type: boolean
|
|
||||||
default: true
|
|
||||||
clients:
|
|
||||||
default:
|
|
||||||
enable: false
|
|
||||||
apps: []
|
|
||||||
divisions: []
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
apps:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
default: []
|
|
||||||
divisions:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
apps:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
teams:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
default: []
|
|
||||||
examples:
|
|
||||||
- enable: false
|
|
||||||
apps: []
|
|
||||||
divisions: []
|
|
||||||
type: object
|
|
||||||
employes:
|
|
||||||
default:
|
|
||||||
enable: true
|
|
||||||
apps: []
|
|
||||||
divisions: []
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
type: boolean
|
|
||||||
default: true
|
|
||||||
apps:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
default: []
|
|
||||||
divisions:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
apps:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
teams:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
default: []
|
|
||||||
examples:
|
|
||||||
- enable: true
|
|
||||||
apps: []
|
|
||||||
divisions: []
|
|
||||||
type: object
|
|
||||||
fournisseurs:
|
|
||||||
default:
|
|
||||||
enable: false
|
|
||||||
apps: []
|
|
||||||
divisions: []
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
apps:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
default: []
|
|
||||||
divisions:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
apps:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
teams:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
default: []
|
|
||||||
examples:
|
|
||||||
- enable: false
|
|
||||||
apps: []
|
|
||||||
divisions: []
|
|
||||||
type: object
|
|
||||||
backups:
|
|
||||||
default:
|
|
||||||
enable: false
|
|
||||||
endpoint: ''
|
|
||||||
secret-name: backup-settings
|
|
||||||
key-id-key: s3-id
|
|
||||||
secret-key: s3-secret
|
|
||||||
examples:
|
|
||||||
- enable: false
|
|
||||||
endpoint: ''
|
|
||||||
secret-name: backup-settings
|
|
||||||
key-id-key: s3-id
|
|
||||||
secret-key: s3-secret
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
endpoint:
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
key-id-key:
|
|
||||||
type: string
|
|
||||||
default: s3-id
|
|
||||||
secret-key:
|
|
||||||
type: string
|
|
||||||
default: s3-secret
|
|
||||||
secret-name:
|
|
||||||
type: string
|
|
||||||
default: backup-settings
|
|
||||||
authentik-forward:
|
authentik-forward:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
examples:
|
examples:
|
||||||
- enable: false
|
- enable: false
|
||||||
type: object
|
|
||||||
properties:
|
properties:
|
||||||
enable:
|
enable:
|
||||||
type: boolean
|
|
||||||
default: false
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
fournisseurs:
|
||||||
|
default:
|
||||||
|
apps: []
|
||||||
|
divisions: []
|
||||||
|
enable: false
|
||||||
|
examples:
|
||||||
|
- apps: []
|
||||||
|
divisions: []
|
||||||
|
enable: false
|
||||||
|
properties:
|
||||||
|
apps:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
divisions:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
apps:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
teams:
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
clients:
|
||||||
|
default:
|
||||||
|
apps: []
|
||||||
|
divisions: []
|
||||||
|
enable: false
|
||||||
|
examples:
|
||||||
|
- apps: []
|
||||||
|
divisions: []
|
||||||
|
enable: false
|
||||||
|
properties:
|
||||||
|
apps:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
divisions:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
apps:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
teams:
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
storage-classes:
|
||||||
|
default:
|
||||||
|
BlockReadWriteMany: ''
|
||||||
|
BlockReadWriteOnce: ''
|
||||||
|
FilesystemReadWriteMany: ''
|
||||||
|
FilesystemReadWriteOnce: ''
|
||||||
|
examples:
|
||||||
|
- BlockReadWriteMany: ''
|
||||||
|
BlockReadWriteOnce: ''
|
||||||
|
FilesystemReadWriteMany: ''
|
||||||
|
FilesystemReadWriteOnce: ''
|
||||||
|
properties:
|
||||||
|
BlockReadWriteMany:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
BlockReadWriteOnce:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
FilesystemReadWriteMany:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
FilesystemReadWriteOnce:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
ingress-class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
|
authentik:
|
||||||
|
default:
|
||||||
|
enable: true
|
||||||
|
examples:
|
||||||
|
- enable: true
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
authentik-ldap:
|
||||||
|
default:
|
||||||
|
enable: false
|
||||||
|
examples:
|
||||||
|
- enable: false
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
backups:
|
||||||
|
default:
|
||||||
|
enable: false
|
||||||
|
endpoint: ''
|
||||||
|
key-id-key: s3-id
|
||||||
|
secret-key: s3-secret
|
||||||
|
secret-name: backup-settings
|
||||||
|
examples:
|
||||||
|
- enable: false
|
||||||
|
endpoint: ''
|
||||||
|
key-id-key: s3-id
|
||||||
|
secret-key: s3-secret
|
||||||
|
secret-name: backup-settings
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
endpoint:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
key-id-key:
|
||||||
|
default: s3-id
|
||||||
|
type: string
|
||||||
|
secret-key:
|
||||||
|
default: s3-secret
|
||||||
|
type: string
|
||||||
|
secret-name:
|
||||||
|
default: backup-settings
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
|
distributions:
|
||||||
|
default:
|
||||||
|
core: core
|
||||||
|
domain: domain
|
||||||
|
examples:
|
||||||
|
- core: core
|
||||||
|
domain: domain
|
||||||
|
properties:
|
||||||
|
core:
|
||||||
|
default: core
|
||||||
|
type: string
|
||||||
|
domain:
|
||||||
|
default: domain
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: true
|
kubernetes: true
|
||||||
@@ -239,4 +239,5 @@ providers:
|
|||||||
postgresql: null
|
postgresql: null
|
||||||
restapi: null
|
restapi: null
|
||||||
http: null
|
http: null
|
||||||
|
gitea: null
|
||||||
tfaddtype: false
|
tfaddtype: false
|
||||||
|
|||||||
@@ -6,84 +6,57 @@ metadata:
|
|||||||
name: domain-devspaces
|
name: domain-devspaces
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
organisations:
|
apps:
|
||||||
default: []
|
|
||||||
examples:
|
|
||||||
- []
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
datasets:
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
databases:
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
default: db
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
engine:
|
|
||||||
default: pg
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
name:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
stages:
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
default: prod
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
images:
|
|
||||||
default:
|
default:
|
||||||
codeserver:
|
dbgate:
|
||||||
pullPolicy: IfNotPresent
|
enable: false
|
||||||
registry: docker.io
|
okd:
|
||||||
repository: sebt3/code-server
|
enable: false
|
||||||
tag: 4.15
|
superset:
|
||||||
|
enable: false
|
||||||
|
yaade:
|
||||||
|
enable: false
|
||||||
examples:
|
examples:
|
||||||
- codeserver:
|
- dbgate:
|
||||||
pullPolicy: IfNotPresent
|
enable: false
|
||||||
registry: docker.io
|
okd:
|
||||||
repository: sebt3/code-server
|
enable: false
|
||||||
tag: 4.15
|
superset:
|
||||||
|
enable: false
|
||||||
|
yaade:
|
||||||
|
enable: false
|
||||||
properties:
|
properties:
|
||||||
codeserver:
|
dbgate:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
enable: false
|
||||||
registry: docker.io
|
|
||||||
repository: sebt3/code-server
|
|
||||||
tag: 4.15
|
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
enable:
|
||||||
default: IfNotPresent
|
default: false
|
||||||
enum:
|
type: boolean
|
||||||
- Always
|
type: object
|
||||||
- Never
|
okd:
|
||||||
- IfNotPresent
|
default:
|
||||||
type: string
|
enable: false
|
||||||
registry:
|
properties:
|
||||||
default: docker.io
|
enable:
|
||||||
type: string
|
default: false
|
||||||
repository:
|
type: boolean
|
||||||
default: sebt3/code-server
|
type: object
|
||||||
type: string
|
superset:
|
||||||
tag:
|
default:
|
||||||
default: 4.15
|
enable: false
|
||||||
type: number
|
properties:
|
||||||
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
yaade:
|
||||||
|
default:
|
||||||
|
enable: false
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
stations-sub-domain:
|
stations-sub-domain:
|
||||||
@@ -91,6 +64,46 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- code
|
- code
|
||||||
type: string
|
type: string
|
||||||
|
storage-classes:
|
||||||
|
default:
|
||||||
|
BlockReadWriteMany: ''
|
||||||
|
BlockReadWriteOnce: ''
|
||||||
|
FilesystemReadWriteMany: ''
|
||||||
|
FilesystemReadWriteOnce: ''
|
||||||
|
examples:
|
||||||
|
- BlockReadWriteMany: ''
|
||||||
|
BlockReadWriteOnce: ''
|
||||||
|
FilesystemReadWriteMany: ''
|
||||||
|
FilesystemReadWriteOnce: ''
|
||||||
|
properties:
|
||||||
|
BlockReadWriteMany:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
BlockReadWriteOnce:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
FilesystemReadWriteMany:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
FilesystemReadWriteOnce:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
app-group:
|
||||||
|
default: dev
|
||||||
|
examples:
|
||||||
|
- dev
|
||||||
|
type: string
|
||||||
|
domain-name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
type: string
|
||||||
|
ingress-class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
external-pgs:
|
external-pgs:
|
||||||
default: []
|
default: []
|
||||||
examples:
|
examples:
|
||||||
@@ -150,69 +163,105 @@ options:
|
|||||||
default: backup-settings
|
default: backup-settings
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
apps:
|
external-marias:
|
||||||
default:
|
default: []
|
||||||
dbgate:
|
|
||||||
enable: false
|
|
||||||
okd:
|
|
||||||
enable: false
|
|
||||||
superset:
|
|
||||||
enable: false
|
|
||||||
yaade:
|
|
||||||
enable: false
|
|
||||||
examples:
|
examples:
|
||||||
- dbgate:
|
- []
|
||||||
enable: false
|
items:
|
||||||
okd:
|
properties:
|
||||||
enable: false
|
name:
|
||||||
superset:
|
default: ''
|
||||||
enable: false
|
type: string
|
||||||
yaade:
|
namespace:
|
||||||
enable: false
|
default: ''
|
||||||
|
type: string
|
||||||
|
secret:
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
username:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
images:
|
||||||
|
default:
|
||||||
|
codeserver:
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
registry: docker.io
|
||||||
|
repository: sebt3/code-server
|
||||||
|
tag: 4.15
|
||||||
|
examples:
|
||||||
|
- codeserver:
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
registry: docker.io
|
||||||
|
repository: sebt3/code-server
|
||||||
|
tag: 4.15
|
||||||
properties:
|
properties:
|
||||||
dbgate:
|
codeserver:
|
||||||
default:
|
default:
|
||||||
enable: false
|
pullPolicy: IfNotPresent
|
||||||
|
registry: docker.io
|
||||||
|
repository: sebt3/code-server
|
||||||
|
tag: 4.15
|
||||||
properties:
|
properties:
|
||||||
enable:
|
pullPolicy:
|
||||||
default: false
|
default: IfNotPresent
|
||||||
type: boolean
|
enum:
|
||||||
type: object
|
- Always
|
||||||
okd:
|
- Never
|
||||||
default:
|
- IfNotPresent
|
||||||
enable: false
|
type: string
|
||||||
properties:
|
registry:
|
||||||
enable:
|
default: docker.io
|
||||||
default: false
|
type: string
|
||||||
type: boolean
|
repository:
|
||||||
type: object
|
default: sebt3/code-server
|
||||||
superset:
|
type: string
|
||||||
default:
|
tag:
|
||||||
enable: false
|
default: 4.15
|
||||||
properties:
|
type: number
|
||||||
enable:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
yaade:
|
|
||||||
default:
|
|
||||||
enable: false
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
domain-name:
|
external-mongos:
|
||||||
default: your_company.com
|
default: []
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- []
|
||||||
type: string
|
items:
|
||||||
ingress-class:
|
properties:
|
||||||
default: traefik
|
dbname:
|
||||||
examples:
|
default: ''
|
||||||
- traefik
|
type: string
|
||||||
type: string
|
name:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
namespace:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
secret:
|
||||||
|
properties:
|
||||||
|
key:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
username:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
distributions:
|
distributions:
|
||||||
default:
|
default:
|
||||||
core: core
|
core: core
|
||||||
@@ -249,96 +298,6 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- your-company
|
- your-company
|
||||||
type: string
|
type: string
|
||||||
external-mongos:
|
|
||||||
default: []
|
|
||||||
examples:
|
|
||||||
- []
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
dbname:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
namespace:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
secret:
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
username:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
app-group:
|
|
||||||
default: dev
|
|
||||||
examples:
|
|
||||||
- dev
|
|
||||||
type: string
|
|
||||||
external-marias:
|
|
||||||
default: []
|
|
||||||
examples:
|
|
||||||
- []
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
namespace:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
secret:
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
username:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
storage-classes:
|
|
||||||
default:
|
|
||||||
BlockReadWriteMany: ''
|
|
||||||
BlockReadWriteOnce: ''
|
|
||||||
FilesystemReadWriteMany: ''
|
|
||||||
FilesystemReadWriteOnce: ''
|
|
||||||
examples:
|
|
||||||
- BlockReadWriteMany: ''
|
|
||||||
BlockReadWriteOnce: ''
|
|
||||||
FilesystemReadWriteMany: ''
|
|
||||||
FilesystemReadWriteOnce: ''
|
|
||||||
properties:
|
|
||||||
BlockReadWriteMany:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
BlockReadWriteOnce:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
FilesystemReadWriteMany:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
FilesystemReadWriteOnce:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
external-redis:
|
external-redis:
|
||||||
default: []
|
default: []
|
||||||
examples:
|
examples:
|
||||||
@@ -353,6 +312,47 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
|
organisations:
|
||||||
|
default: []
|
||||||
|
examples:
|
||||||
|
- []
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
datasets:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
databases:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
default: db
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
engine:
|
||||||
|
default: pg
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
name:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
stages:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
default: prod
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: true
|
kubernetes: true
|
||||||
|
|||||||
@@ -25,8 +25,11 @@ resource "kubectl_manifest" "organisations" {
|
|||||||
component: "organisation"
|
component: "organisation"
|
||||||
options: ${jsonencode(merge(
|
options: ${jsonencode(merge(
|
||||||
local.global,
|
local.global,
|
||||||
{ "stages" = []},
|
{
|
||||||
{ for k, v in local.sorted-organisations[count.index] : k => v if !contains(["name","organisations"], k) }
|
"stages" = []
|
||||||
|
"datasets" = []
|
||||||
|
},
|
||||||
|
{ for k, v in local.sorted-organisations[count.index] : k => v if !contains(["name"], k) }
|
||||||
))}
|
))}
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
resource "authentik_group" "employes" {
|
resource "authentik_group" "employes" {
|
||||||
name = "employes"
|
name = "employes"
|
||||||
attributes = jsonencode({for app in var.employes.apps: app => true})
|
attributes = jsonencode({for app in lookup(var.employes, "apps", []): app => true})
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "authentik_group" "fournisseurs" {
|
resource "authentik_group" "fournisseurs" {
|
||||||
count = var.fournisseurs.enable ? 1 : 0
|
count = var.fournisseurs.enable ? 1 : 0
|
||||||
name = "fournisseurs"
|
name = "fournisseurs"
|
||||||
attributes = jsonencode({for app in var.fournisseurs.apps: app => true})
|
attributes = jsonencode({for app in lookup(var.fournisseurs, "apps", []): app => true})
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "authentik_group" "clients" {
|
resource "authentik_group" "clients" {
|
||||||
count = var.clients.enable ? 1 : 0
|
count = var.clients.enable ? 1 : 0
|
||||||
name = "clients"
|
name = "clients"
|
||||||
attributes = jsonencode({for app in var.clients.apps: app => true})
|
attributes = jsonencode({for app in lookup(var.clients, "apps", []): app => true})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,18 @@ metadata:
|
|||||||
name: accounts-management
|
name: accounts-management
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
|
employes:
|
||||||
|
default:
|
||||||
|
apps: []
|
||||||
|
examples:
|
||||||
|
- apps: []
|
||||||
|
properties:
|
||||||
|
apps:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
domain:
|
domain:
|
||||||
default: your-company
|
default: your-company
|
||||||
examples:
|
examples:
|
||||||
@@ -13,49 +25,37 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
clients:
|
clients:
|
||||||
default:
|
default:
|
||||||
enable: false
|
|
||||||
apps: []
|
apps: []
|
||||||
|
enable: false
|
||||||
|
examples:
|
||||||
|
- apps: []
|
||||||
|
enable: false
|
||||||
properties:
|
properties:
|
||||||
enable:
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
apps:
|
apps:
|
||||||
type: array
|
default: []
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
default: []
|
type: array
|
||||||
examples:
|
enable:
|
||||||
- enable: false
|
default: false
|
||||||
apps: []
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
fournisseurs:
|
fournisseurs:
|
||||||
default:
|
default:
|
||||||
|
apps: []
|
||||||
enable: false
|
enable: false
|
||||||
apps: []
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
apps:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
default: []
|
|
||||||
examples:
|
|
||||||
- enable: false
|
|
||||||
apps: []
|
|
||||||
type: object
|
|
||||||
employes:
|
|
||||||
default:
|
|
||||||
apps: []
|
|
||||||
properties:
|
|
||||||
apps:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
default: []
|
|
||||||
examples:
|
examples:
|
||||||
- apps: []
|
- apps: []
|
||||||
|
enable: false
|
||||||
|
properties:
|
||||||
|
apps:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
@@ -68,4 +68,5 @@ providers:
|
|||||||
postgresql: null
|
postgresql: null
|
||||||
restapi: null
|
restapi: null
|
||||||
http: true
|
http: true
|
||||||
|
gitea: null
|
||||||
tfaddtype: true
|
tfaddtype: true
|
||||||
|
|||||||
@@ -5,7 +5,9 @@ locals {
|
|||||||
sorted-teams = flatten([
|
sorted-teams = flatten([
|
||||||
for name in local.sorted-team-names: [
|
for name in local.sorted-team-names: [
|
||||||
for team in var.teams:
|
for team in var.teams:
|
||||||
team if team.name == name
|
merge({
|
||||||
|
"apps" = []
|
||||||
|
}, team) if team.name == name
|
||||||
]
|
]
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,25 +6,6 @@ metadata:
|
|||||||
name: division
|
name: division
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
teams:
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
apps:
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
name:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
parent:
|
parent:
|
||||||
default: employes
|
default: employes
|
||||||
enum:
|
enum:
|
||||||
@@ -39,6 +20,25 @@ options:
|
|||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
|
teams:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
apps:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
name:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: share
|
category: share
|
||||||
@@ -50,4 +50,5 @@ providers:
|
|||||||
postgresql: null
|
postgresql: null
|
||||||
restapi: null
|
restapi: null
|
||||||
http: true
|
http: true
|
||||||
|
gitea: null
|
||||||
tfaddtype: true
|
tfaddtype: true
|
||||||
|
|||||||
Reference in New Issue
Block a user