fix
This commit is contained in:
@@ -6,21 +6,54 @@ metadata:
|
||||
name: domain
|
||||
description: null
|
||||
options:
|
||||
distributions:
|
||||
apps:
|
||||
default:
|
||||
core: core
|
||||
domain: domain
|
||||
enable: false
|
||||
nextcloud:
|
||||
enable: true
|
||||
examples:
|
||||
- core: core
|
||||
domain: domain
|
||||
- enable: false
|
||||
nextcloud:
|
||||
enable: true
|
||||
properties:
|
||||
core:
|
||||
default: core
|
||||
type: string
|
||||
domain:
|
||||
default: domain
|
||||
type: string
|
||||
enable:
|
||||
default: false
|
||||
type: boolean
|
||||
nextcloud:
|
||||
default:
|
||||
enable: true
|
||||
properties:
|
||||
enable:
|
||||
default: true
|
||||
type: boolean
|
||||
type: object
|
||||
type: object
|
||||
x-vynil-category: meta
|
||||
x-vynil-package: domain-apps
|
||||
auth:
|
||||
default:
|
||||
authentik:
|
||||
enable: true
|
||||
enable: true
|
||||
examples:
|
||||
- authentik:
|
||||
enable: true
|
||||
enable: true
|
||||
properties:
|
||||
authentik:
|
||||
default:
|
||||
enable: true
|
||||
properties:
|
||||
enable:
|
||||
default: true
|
||||
type: boolean
|
||||
type: object
|
||||
enable:
|
||||
default: true
|
||||
type: boolean
|
||||
type: object
|
||||
x-vynil-category: meta
|
||||
x-vynil-package: domain-auth
|
||||
backups:
|
||||
default:
|
||||
enable: false
|
||||
@@ -61,80 +94,6 @@ options:
|
||||
default: false
|
||||
type: boolean
|
||||
type: object
|
||||
erp:
|
||||
default:
|
||||
dolibarr:
|
||||
enable: true
|
||||
enable: false
|
||||
examples:
|
||||
- dolibarr:
|
||||
enable: true
|
||||
enable: false
|
||||
properties:
|
||||
dolibarr:
|
||||
default:
|
||||
enable: true
|
||||
properties:
|
||||
enable:
|
||||
default: true
|
||||
type: boolean
|
||||
type: object
|
||||
enable:
|
||||
default: false
|
||||
type: boolean
|
||||
type: object
|
||||
x-vynil-category: meta
|
||||
x-vynil-package: domain-erp
|
||||
ingress_class:
|
||||
default: traefik
|
||||
examples:
|
||||
- traefik
|
||||
type: string
|
||||
storage:
|
||||
default:
|
||||
volume:
|
||||
accessMode: ReadWriteOnce
|
||||
class: ''
|
||||
examples:
|
||||
- volume:
|
||||
accessMode: ReadWriteOnce
|
||||
class: ''
|
||||
properties:
|
||||
volume:
|
||||
default:
|
||||
accessMode: ReadWriteOnce
|
||||
class: ''
|
||||
properties:
|
||||
accessMode:
|
||||
default: ReadWriteOnce
|
||||
type: string
|
||||
class:
|
||||
default: ''
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
mail:
|
||||
default:
|
||||
enable: false
|
||||
wildduck:
|
||||
enable: true
|
||||
examples:
|
||||
- enable: false
|
||||
wildduck:
|
||||
enable: true
|
||||
properties:
|
||||
enable:
|
||||
default: false
|
||||
type: boolean
|
||||
wildduck:
|
||||
default:
|
||||
enable: true
|
||||
properties:
|
||||
enable:
|
||||
default: true
|
||||
type: boolean
|
||||
type: object
|
||||
type: object
|
||||
ci:
|
||||
default:
|
||||
enable: false
|
||||
@@ -171,74 +130,50 @@ options:
|
||||
type: object
|
||||
x-vynil-category: meta
|
||||
x-vynil-package: domain-devspaces
|
||||
issuer:
|
||||
default: letsencrypt-prod
|
||||
examples:
|
||||
- letsencrypt-prod
|
||||
type: string
|
||||
auth:
|
||||
distributions:
|
||||
default:
|
||||
authentik:
|
||||
enable: true
|
||||
enable: true
|
||||
core: core
|
||||
domain: domain
|
||||
examples:
|
||||
- authentik:
|
||||
enable: true
|
||||
enable: true
|
||||
- core: core
|
||||
domain: domain
|
||||
properties:
|
||||
authentik:
|
||||
default:
|
||||
enable: true
|
||||
properties:
|
||||
enable:
|
||||
default: true
|
||||
type: boolean
|
||||
type: object
|
||||
enable:
|
||||
default: true
|
||||
type: boolean
|
||||
core:
|
||||
default: core
|
||||
type: string
|
||||
domain:
|
||||
default: domain
|
||||
type: string
|
||||
type: object
|
||||
x-vynil-category: meta
|
||||
x-vynil-package: domain-auth
|
||||
apps:
|
||||
default:
|
||||
enable: false
|
||||
nextcloud:
|
||||
enable: true
|
||||
examples:
|
||||
- enable: false
|
||||
nextcloud:
|
||||
enable: true
|
||||
properties:
|
||||
enable:
|
||||
default: false
|
||||
type: boolean
|
||||
nextcloud:
|
||||
default:
|
||||
enable: true
|
||||
properties:
|
||||
enable:
|
||||
default: true
|
||||
type: boolean
|
||||
type: object
|
||||
type: object
|
||||
x-vynil-category: meta
|
||||
x-vynil-package: domain-apps
|
||||
sso_vynil:
|
||||
default: true
|
||||
examples:
|
||||
- true
|
||||
type: boolean
|
||||
language:
|
||||
default: fr_FR
|
||||
examples:
|
||||
- fr_FR
|
||||
type: string
|
||||
domain_name:
|
||||
default: your-company.com
|
||||
examples:
|
||||
- your-company.com
|
||||
type: string
|
||||
erp:
|
||||
default:
|
||||
dolibarr:
|
||||
enable: true
|
||||
enable: false
|
||||
examples:
|
||||
- dolibarr:
|
||||
enable: true
|
||||
enable: false
|
||||
properties:
|
||||
dolibarr:
|
||||
default:
|
||||
enable: true
|
||||
properties:
|
||||
enable:
|
||||
default: true
|
||||
type: boolean
|
||||
type: object
|
||||
enable:
|
||||
default: false
|
||||
type: boolean
|
||||
type: object
|
||||
x-vynil-category: meta
|
||||
x-vynil-package: domain-erp
|
||||
infra:
|
||||
default:
|
||||
enable: false
|
||||
@@ -263,6 +198,43 @@ options:
|
||||
type: object
|
||||
x-vynil-category: meta
|
||||
x-vynil-package: domain-infra
|
||||
ingress_class:
|
||||
default: traefik
|
||||
examples:
|
||||
- traefik
|
||||
type: string
|
||||
issuer:
|
||||
default: letsencrypt-prod
|
||||
examples:
|
||||
- letsencrypt-prod
|
||||
type: string
|
||||
language:
|
||||
default: fr_FR
|
||||
examples:
|
||||
- fr_FR
|
||||
type: string
|
||||
mail:
|
||||
default:
|
||||
enable: false
|
||||
wildduck:
|
||||
enable: true
|
||||
examples:
|
||||
- enable: false
|
||||
wildduck:
|
||||
enable: true
|
||||
properties:
|
||||
enable:
|
||||
default: false
|
||||
type: boolean
|
||||
wildduck:
|
||||
default:
|
||||
enable: true
|
||||
properties:
|
||||
enable:
|
||||
default: true
|
||||
type: boolean
|
||||
type: object
|
||||
type: object
|
||||
monitor:
|
||||
default:
|
||||
enable: false
|
||||
@@ -275,6 +247,34 @@ options:
|
||||
type: object
|
||||
x-vynil-category: meta
|
||||
x-vynil-package: domain-monitor
|
||||
sso_vynil:
|
||||
default: true
|
||||
examples:
|
||||
- true
|
||||
type: boolean
|
||||
storage:
|
||||
default:
|
||||
volume:
|
||||
accessMode: ReadWriteOnce
|
||||
class: ''
|
||||
examples:
|
||||
- volume:
|
||||
accessMode: ReadWriteOnce
|
||||
class: ''
|
||||
properties:
|
||||
volume:
|
||||
default:
|
||||
accessMode: ReadWriteOnce
|
||||
class: ''
|
||||
properties:
|
||||
accessMode:
|
||||
default: ReadWriteOnce
|
||||
type: string
|
||||
class:
|
||||
default: ''
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
timezone:
|
||||
default: Europe/Paris
|
||||
examples:
|
||||
@@ -286,6 +286,7 @@ providers:
|
||||
authentik: null
|
||||
kubectl: true
|
||||
postgresql: null
|
||||
mysql: null
|
||||
restapi: null
|
||||
http: null
|
||||
gitea: null
|
||||
|
||||
@@ -22,51 +22,51 @@ locals {
|
||||
"class" = var.storage.volume.class
|
||||
}
|
||||
auth = merge(local.global,{ for k, v in var.auth : k => v if !contains(["enable","storage","backups"],k) },{
|
||||
backups = merge(lookup(var.auth, "backups", {}), local.global-backups)
|
||||
backups = merge(local.global-backups, lookup(var.auth, "backups", {}))
|
||||
storage = merge({ for k, v in lookup(var.auth, "storage", {}) : k => v if !contains(["volume"],k) }, {
|
||||
volume = merge(lookup(lookup(var.auth, "storage", {}), "volume", {}), local.global-volume)
|
||||
volume = merge(local.global-volume, lookup(lookup(var.auth, "storage", {}), "volume", {}))
|
||||
})
|
||||
})
|
||||
infra = merge(local.global,{ for k, v in var.infra : k => v if !contains(["enable","storage","backups"],k) },{
|
||||
backups = merge(lookup(var.infra, "backups", {}), local.global-backups)
|
||||
infra = merge(local.global, { for k, v in var.infra : k => v if !contains(["enable","storage","backups"],k) },{
|
||||
backups = merge(local.global-backups, lookup(var.infra, "backups", {}))
|
||||
storage = merge({ for k, v in lookup(var.infra, "storage", {}) : k => v if !contains(["volume"],k) }, {
|
||||
volume = merge(lookup(lookup(var.infra, "storage", {}), "volume", {}), local.global-volume)
|
||||
volume = merge(local.global-volume, lookup(lookup(var.infra, "storage", {}), "volume", {}))
|
||||
})
|
||||
})
|
||||
ci = merge(local.global,{ for k, v in var.ci : k => v if !contains(["enable","storage","backups"],k) },{
|
||||
backups = merge(lookup(var.ci, "backups", {}), local.global-backups)
|
||||
ci = merge(local.global, { for k, v in var.ci : k => v if !contains(["enable","storage","backups"],k) },{
|
||||
backups = merge(local.global-backups, lookup(var.ci, "backups", {}))
|
||||
storage = merge({ for k, v in lookup(var.ci, "storage", {}) : k => v if !contains(["volume"],k) }, {
|
||||
volume = merge(lookup(lookup(var.ci, "storage", {}), "volume", {}), local.global-volume)
|
||||
volume = merge(local.global-volume, lookup(lookup(var.ci, "storage", {}), "volume", {}))
|
||||
})
|
||||
})
|
||||
erp = merge(local.global,{ for k, v in var.erp : k => v if !contains(["enable","storage","backups"],k) },{
|
||||
backups = merge(lookup(var.erp, "backups", {}), local.global-backups)
|
||||
backups = merge(local.global-backups, lookup(var.erp, "backups", {}))
|
||||
storage = merge({ for k, v in lookup(var.erp, "storage", {}) : k => v if !contains(["volume"],k) }, {
|
||||
volume = merge(lookup(lookup(var.erp, "storage", {}), "volume", {}), local.global-volume)
|
||||
volume = merge(local.global-volume, lookup(lookup(var.erp, "storage", {}), "volume", {}))
|
||||
})
|
||||
})
|
||||
apps = merge(local.global,{ for k, v in var.apps : k => v if !contains(["enable","storage","backups"],k) },{
|
||||
backups = merge(lookup(var.apps, "backups", {}), local.global-backups)
|
||||
backups = merge(local.global-backups, lookup(var.apps, "backups", {}))
|
||||
storage = merge({ for k, v in lookup(var.apps, "storage", {}) : k => v if !contains(["volume"],k) }, {
|
||||
volume = merge(lookup(lookup(var.apps, "storage", {}), "volume", {}), local.global-volume)
|
||||
volume = merge(local.global-volume, lookup(lookup(var.apps, "storage", {}), "volume", {}))
|
||||
})
|
||||
})
|
||||
mail = merge(local.global,{ for k, v in var.mail : k => v if !contains(["enable","storage","backups"],k) },{
|
||||
backups = merge(lookup(var.mail, "backups", {}), local.global-backups)
|
||||
backups = merge(local.global-backups, lookup(var.mail, "backups", {}))
|
||||
storage = merge({ for k, v in lookup(var.mail, "storage", {}) : k => v if !contains(["volume"],k) }, {
|
||||
volume = merge(lookup(lookup(var.mail, "storage", {}), "volume", {}), local.global-volume)
|
||||
volume = merge(local.global-volume, lookup(lookup(var.mail, "storage", {}), "volume", {}))
|
||||
})
|
||||
})
|
||||
monitor = merge(local.global,{ for k, v in var.monitor : k => v if !contains(["enable","storage","backups"],k) },{
|
||||
backups = merge(lookup(var.monitor, "backups", {}), local.global-backups)
|
||||
backups = merge(local.global-backups, lookup(var.monitor, "backups", {}))
|
||||
storage = merge({ for k, v in lookup(var.monitor, "storage", {}) : k => v if !contains(["volume"],k) }, {
|
||||
volume = merge(lookup(lookup(var.monitor, "storage", {}), "volume", {}), local.global-volume)
|
||||
volume = merge(local.global-volume, lookup(lookup(var.monitor, "storage", {}), "volume", {}))
|
||||
})
|
||||
})
|
||||
devspaces = merge(local.global,{ for k, v in var.devspaces : k => v if !contains(["enable","storage","backups"],k) },{
|
||||
backups = merge(lookup(var.devspaces, "backups", {}), local.global-backups)
|
||||
backups = merge(local.global-backups, lookup(var.devspaces, "backups", {}))
|
||||
storage = merge({ for k, v in lookup(var.devspaces, "storage", {}) : k => v if !contains(["volume"],k) }, {
|
||||
volume = merge(lookup(lookup(var.devspaces, "storage", {}), "volume", {}), local.global-volume)
|
||||
volume = merge(local.global-volume, lookup(lookup(var.devspaces, "storage", {}), "volume", {}))
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user