fix
This commit is contained in:
@@ -9,7 +9,7 @@ resource "kubectl_manifest" "deploy" {
|
|||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
hostname: "${var.component}-${var.instance}"
|
hostname: "${var.component}-${var.instance}"
|
||||||
subdomain: "${var.domain-name}"
|
subdomain: "${var.domain_name}"
|
||||||
selector:
|
selector:
|
||||||
matchLabels: ${jsonencode(local.common-labels)}
|
matchLabels: ${jsonencode(local.common-labels)}
|
||||||
template:
|
template:
|
||||||
|
|||||||
@@ -11,60 +11,6 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- your-company
|
- your-company
|
||||||
type: string
|
type: string
|
||||||
admin:
|
|
||||||
default:
|
|
||||||
cluster: false
|
|
||||||
namespace: false
|
|
||||||
examples:
|
|
||||||
- cluster: false
|
|
||||||
namespace: false
|
|
||||||
properties:
|
|
||||||
cluster:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
namespace:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
images:
|
|
||||||
default:
|
|
||||||
codeserver:
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
registry: docker.io
|
|
||||||
repository: sebt3/code-server
|
|
||||||
tag: 4.18
|
|
||||||
examples:
|
|
||||||
- codeserver:
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
registry: docker.io
|
|
||||||
repository: sebt3/code-server
|
|
||||||
tag: 4.18
|
|
||||||
properties:
|
|
||||||
codeserver:
|
|
||||||
default:
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
registry: docker.io
|
|
||||||
repository: sebt3/code-server
|
|
||||||
tag: 4.18
|
|
||||||
properties:
|
|
||||||
pullPolicy:
|
|
||||||
default: IfNotPresent
|
|
||||||
enum:
|
|
||||||
- Always
|
|
||||||
- Never
|
|
||||||
- IfNotPresent
|
|
||||||
type: string
|
|
||||||
registry:
|
|
||||||
default: docker.io
|
|
||||||
type: string
|
|
||||||
repository:
|
|
||||||
default: sebt3/code-server
|
|
||||||
type: string
|
|
||||||
tag:
|
|
||||||
default: 4.18
|
|
||||||
type: number
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
storage:
|
storage:
|
||||||
default:
|
default:
|
||||||
volume:
|
volume:
|
||||||
@@ -107,26 +53,6 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- Europe/Paris
|
- Europe/Paris
|
||||||
type: string
|
type: string
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
domain-name:
|
|
||||||
default: your-company.com
|
|
||||||
examples:
|
|
||||||
- your-company.com
|
|
||||||
type: string
|
|
||||||
ingress-class:
|
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
|
||||||
app-group:
|
|
||||||
default: dev
|
|
||||||
examples:
|
|
||||||
- dev
|
|
||||||
type: string
|
|
||||||
no-editor:
|
no-editor:
|
||||||
default: false
|
default: false
|
||||||
examples:
|
examples:
|
||||||
@@ -137,6 +63,80 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- code
|
- code
|
||||||
type: string
|
type: string
|
||||||
|
domain_name:
|
||||||
|
default: your-company.com
|
||||||
|
examples:
|
||||||
|
- your-company.com
|
||||||
|
type: string
|
||||||
|
ingress_class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
|
images:
|
||||||
|
default:
|
||||||
|
codeserver:
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
registry: docker.io
|
||||||
|
repository: sebt3/code-server
|
||||||
|
tag: 4.18
|
||||||
|
examples:
|
||||||
|
- codeserver:
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
registry: docker.io
|
||||||
|
repository: sebt3/code-server
|
||||||
|
tag: 4.18
|
||||||
|
properties:
|
||||||
|
codeserver:
|
||||||
|
default:
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
registry: docker.io
|
||||||
|
repository: sebt3/code-server
|
||||||
|
tag: 4.18
|
||||||
|
properties:
|
||||||
|
pullPolicy:
|
||||||
|
default: IfNotPresent
|
||||||
|
enum:
|
||||||
|
- Always
|
||||||
|
- Never
|
||||||
|
- IfNotPresent
|
||||||
|
type: string
|
||||||
|
registry:
|
||||||
|
default: docker.io
|
||||||
|
type: string
|
||||||
|
repository:
|
||||||
|
default: sebt3/code-server
|
||||||
|
type: string
|
||||||
|
tag:
|
||||||
|
default: 4.18
|
||||||
|
type: number
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
admin:
|
||||||
|
default:
|
||||||
|
cluster: false
|
||||||
|
namespace: false
|
||||||
|
examples:
|
||||||
|
- cluster: false
|
||||||
|
namespace: false
|
||||||
|
properties:
|
||||||
|
cluster:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
namespace:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
app_group:
|
||||||
|
default: dev
|
||||||
|
examples:
|
||||||
|
- dev
|
||||||
|
type: string
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: share
|
category: share
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
locals {
|
locals {
|
||||||
dns_name = "${var.instance}.${var.sub-domain}.${var.domain-name}"
|
dns_name = "${var.instance}.${var.sub-domain}.${var.domain_name}"
|
||||||
dns_names = [local.dns_name]
|
dns_names = [local.dns_name]
|
||||||
app_name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)
|
app_name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)
|
||||||
icon = "_static/src/browser/media/favicon-dark-support.svg"
|
icon = "_static/src/browser/media/favicon-dark-support.svg"
|
||||||
@@ -34,7 +34,7 @@ module "ingress" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
issuer = var.issuer
|
issuer = var.issuer
|
||||||
ingress_class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
middlewares = ["forward-${local.app_name}"]
|
middlewares = ["forward-${local.app_name}"]
|
||||||
@@ -48,7 +48,7 @@ module "application" {
|
|||||||
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
||||||
component = var.component
|
component = var.component
|
||||||
instance = var.instance
|
instance = var.instance
|
||||||
app_group = var.app-group
|
app_group = var.app_group
|
||||||
dns_name = local.dns_name
|
dns_name = local.dns_name
|
||||||
icon = local.icon
|
icon = local.icon
|
||||||
protocol_provider = module.forward.provider-id
|
protocol_provider = module.forward.provider-id
|
||||||
@@ -73,7 +73,7 @@ module "forward" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
domain = var.domain
|
domain = var.domain
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
ingress-class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
service = local.service
|
service = local.service
|
||||||
|
|||||||
@@ -6,6 +6,16 @@ metadata:
|
|||||||
name: dbgate
|
name: dbgate
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
|
sub-domain:
|
||||||
|
default: dbgate
|
||||||
|
examples:
|
||||||
|
- dbgate
|
||||||
|
type: string
|
||||||
|
domain_name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
type: string
|
||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
dbgate:
|
dbgate:
|
||||||
@@ -45,11 +55,45 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
app-group:
|
app_group:
|
||||||
default: dev
|
default: dev
|
||||||
examples:
|
examples:
|
||||||
- dev
|
- dev
|
||||||
type: string
|
type: string
|
||||||
|
maria:
|
||||||
|
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
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
storage:
|
storage:
|
||||||
default:
|
default:
|
||||||
volume:
|
volume:
|
||||||
@@ -87,16 +131,40 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
issuer:
|
ingress_class:
|
||||||
default: letsencrypt-prod
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- letsencrypt-prod
|
- traefik
|
||||||
type: string
|
type: string
|
||||||
domain-name:
|
mongo:
|
||||||
default: your_company.com
|
default: []
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- []
|
||||||
type: string
|
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
|
||||||
redis:
|
redis:
|
||||||
default: []
|
default: []
|
||||||
examples:
|
examples:
|
||||||
@@ -111,20 +179,10 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
domain:
|
issuer:
|
||||||
default: your-company
|
default: letsencrypt-prod
|
||||||
examples:
|
examples:
|
||||||
- your-company
|
- letsencrypt-prod
|
||||||
type: string
|
|
||||||
sub-domain:
|
|
||||||
default: dbgate
|
|
||||||
examples:
|
|
||||||
- dbgate
|
|
||||||
type: string
|
|
||||||
ingress-class:
|
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
type: string
|
||||||
pg:
|
pg:
|
||||||
default: []
|
default: []
|
||||||
@@ -155,64 +213,6 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
maria:
|
|
||||||
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
|
|
||||||
mongo:
|
|
||||||
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
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: core
|
category: core
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
locals {
|
locals {
|
||||||
dns_name = "${var.sub-domain}.${var.domain-name}"
|
dns_name = "${var.sub-domain}.${var.domain_name}"
|
||||||
dns_names = [local.dns_name]
|
dns_names = [local.dns_name]
|
||||||
app_name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)
|
app_name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)
|
||||||
icon = "logo192.png"
|
icon = "logo192.png"
|
||||||
@@ -34,7 +34,7 @@ module "ingress" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
issuer = var.issuer
|
issuer = var.issuer
|
||||||
ingress_class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
middlewares = []
|
middlewares = []
|
||||||
@@ -48,7 +48,7 @@ module "application" {
|
|||||||
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
||||||
component = var.component
|
component = var.component
|
||||||
instance = var.instance
|
instance = var.instance
|
||||||
app_group = var.app-group
|
app_group = var.app_group
|
||||||
dns_name = local.dns_name
|
dns_name = local.dns_name
|
||||||
icon = local.icon
|
icon = local.icon
|
||||||
protocol_provider = module.oauth2.provider-id
|
protocol_provider = module.oauth2.provider-id
|
||||||
|
|||||||
@@ -61,10 +61,10 @@ resource "authentik_policy_binding" "dolibarr_ldap_access_vynil" {
|
|||||||
resource "authentik_application" "dolibarr_application_saml" {
|
resource "authentik_application" "dolibarr_application_saml" {
|
||||||
name = "${var.instance}"
|
name = "${var.instance}"
|
||||||
slug = "${var.component}-${var.instance}"
|
slug = "${var.component}-${var.instance}"
|
||||||
group = var.app-group
|
group = var.app_group
|
||||||
protocol_provider = authentik_provider_saml.dolibarr.id
|
protocol_provider = authentik_provider_saml.dolibarr.id
|
||||||
meta_launch_url = format("https://%s.%s", var.sub-domain, var.domain-name)
|
meta_launch_url = format("https://%s.%s", var.sub-domain, var.domain_name)
|
||||||
meta_icon = format("https://%s.%s/%s", var.sub-domain, var.domain-name, "theme/dolibarr_256x256_color.png")
|
meta_icon = format("https://%s.%s/%s", var.sub-domain, var.domain_name, "theme/dolibarr_256x256_color.png")
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "authentik_policy_binding" "dolibarr_saml_access_users" {
|
resource "authentik_policy_binding" "dolibarr_saml_access_users" {
|
||||||
|
|||||||
@@ -167,7 +167,7 @@ resource "kubectl_manifest" "config" {
|
|||||||
DOLI_ADMIN_LOGIN: "admin_${var.instance}"
|
DOLI_ADMIN_LOGIN: "admin_${var.instance}"
|
||||||
DOLI_MODULES: "modSociete,modBlockedLog,modSamlConnector,modLdap"
|
DOLI_MODULES: "modSociete,modBlockedLog,modSamlConnector,modLdap"
|
||||||
DOLI_AUTH: "dolibarr"
|
DOLI_AUTH: "dolibarr"
|
||||||
DOLI_URL_ROOT: "https://${var.sub-domain}.${var.domain-name}"
|
DOLI_URL_ROOT: "https://${var.sub-domain}.${var.domain_name}"
|
||||||
DOLI_LDAP_PORT: "389"
|
DOLI_LDAP_PORT: "389"
|
||||||
DOLI_LDAP_VERSION: "3"
|
DOLI_LDAP_VERSION: "3"
|
||||||
DOLI_LDAP_SERVERTYPE: "openldap"
|
DOLI_LDAP_SERVERTYPE: "openldap"
|
||||||
|
|||||||
@@ -6,6 +6,195 @@ metadata:
|
|||||||
name: dolibarr
|
name: dolibarr
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
redis:
|
||||||
|
default:
|
||||||
|
exporter:
|
||||||
|
enabled: true
|
||||||
|
examples:
|
||||||
|
- exporter:
|
||||||
|
enabled: true
|
||||||
|
properties:
|
||||||
|
exporter:
|
||||||
|
default:
|
||||||
|
enabled: true
|
||||||
|
properties:
|
||||||
|
enabled:
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
log-level:
|
||||||
|
default: 5
|
||||||
|
examples:
|
||||||
|
- 5
|
||||||
|
type: integer
|
||||||
|
storage:
|
||||||
|
default:
|
||||||
|
postgres:
|
||||||
|
size: 5Gi
|
||||||
|
redis:
|
||||||
|
size: 2Gi
|
||||||
|
volume:
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
size: 1Gi
|
||||||
|
type: Filesystem
|
||||||
|
description: Configure this app storage
|
||||||
|
examples:
|
||||||
|
- postgres:
|
||||||
|
size: 5Gi
|
||||||
|
redis:
|
||||||
|
size: 2Gi
|
||||||
|
volume:
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
size: 1Gi
|
||||||
|
type: Filesystem
|
||||||
|
properties:
|
||||||
|
postgres:
|
||||||
|
default:
|
||||||
|
size: 5Gi
|
||||||
|
properties:
|
||||||
|
size:
|
||||||
|
default: 5Gi
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
redis:
|
||||||
|
default:
|
||||||
|
size: 2Gi
|
||||||
|
properties:
|
||||||
|
size:
|
||||||
|
default: 2Gi
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
volume:
|
||||||
|
default:
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
size: 1Gi
|
||||||
|
type: Filesystem
|
||||||
|
properties:
|
||||||
|
accessMode:
|
||||||
|
default: ReadWriteOnce
|
||||||
|
enum:
|
||||||
|
- ReadWriteOnce
|
||||||
|
- ReadOnlyMany
|
||||||
|
- ReadWriteMany
|
||||||
|
type: string
|
||||||
|
size:
|
||||||
|
default: 1Gi
|
||||||
|
type: string
|
||||||
|
type:
|
||||||
|
default: Filesystem
|
||||||
|
enum:
|
||||||
|
- Filesystem
|
||||||
|
- Block
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
|
app_group:
|
||||||
|
default: ''
|
||||||
|
examples:
|
||||||
|
- ''
|
||||||
|
type: string
|
||||||
|
sub-domain:
|
||||||
|
default: erp
|
||||||
|
examples:
|
||||||
|
- erp
|
||||||
|
type: string
|
||||||
|
postgres:
|
||||||
|
default:
|
||||||
|
replicas: 1
|
||||||
|
examples:
|
||||||
|
- replicas: 1
|
||||||
|
properties:
|
||||||
|
replicas:
|
||||||
|
default: 1
|
||||||
|
type: integer
|
||||||
|
type: object
|
||||||
|
hpa:
|
||||||
|
default:
|
||||||
|
avg-cpu: 50
|
||||||
|
max-replicas: 5
|
||||||
|
min-replicas: 1
|
||||||
|
examples:
|
||||||
|
- avg-cpu: 50
|
||||||
|
max-replicas: 5
|
||||||
|
min-replicas: 1
|
||||||
|
properties:
|
||||||
|
avg-cpu:
|
||||||
|
default: 50
|
||||||
|
type: integer
|
||||||
|
max-replicas:
|
||||||
|
default: 5
|
||||||
|
type: integer
|
||||||
|
min-replicas:
|
||||||
|
default: 1
|
||||||
|
type: integer
|
||||||
|
type: object
|
||||||
|
resources:
|
||||||
|
default:
|
||||||
|
limits:
|
||||||
|
cpu: 200m
|
||||||
|
memory: 256Mi
|
||||||
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 100Mi
|
||||||
|
examples:
|
||||||
|
- limits:
|
||||||
|
cpu: 200m
|
||||||
|
memory: 256Mi
|
||||||
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 100Mi
|
||||||
|
properties:
|
||||||
|
limits:
|
||||||
|
default:
|
||||||
|
cpu: 200m
|
||||||
|
memory: 256Mi
|
||||||
|
properties:
|
||||||
|
cpu:
|
||||||
|
default: 200m
|
||||||
|
type: string
|
||||||
|
memory:
|
||||||
|
default: 256Mi
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
requests:
|
||||||
|
default:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 100Mi
|
||||||
|
properties:
|
||||||
|
cpu:
|
||||||
|
default: 50m
|
||||||
|
type: string
|
||||||
|
memory:
|
||||||
|
default: 100Mi
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
parameters:
|
||||||
|
default:
|
||||||
|
MAIN_LANG_DEFAULT: auto
|
||||||
|
examples:
|
||||||
|
- MAIN_LANG_DEFAULT: auto
|
||||||
|
properties:
|
||||||
|
MAIN_LANG_DEFAULT:
|
||||||
|
default: auto
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
ingress_class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
backups:
|
backups:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
@@ -112,38 +301,34 @@ options:
|
|||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
app-group:
|
modules:
|
||||||
default: ''
|
default:
|
||||||
|
- societe
|
||||||
examples:
|
examples:
|
||||||
- ''
|
- - societe
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
domain_name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
type: string
|
type: string
|
||||||
redis:
|
user-groups:
|
||||||
default:
|
default:
|
||||||
exporter:
|
- admin: true
|
||||||
enabled: true
|
name: dolibarr-admin
|
||||||
examples:
|
examples:
|
||||||
- exporter:
|
- - admin: true
|
||||||
enabled: true
|
name: dolibarr-admin
|
||||||
properties:
|
items:
|
||||||
exporter:
|
properties:
|
||||||
default:
|
admin:
|
||||||
enabled: true
|
type: boolean
|
||||||
properties:
|
name:
|
||||||
enabled:
|
type: string
|
||||||
default: true
|
type: object
|
||||||
type: boolean
|
type: array
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
postgres:
|
|
||||||
default:
|
|
||||||
replicas: 1
|
|
||||||
examples:
|
|
||||||
- replicas: 1
|
|
||||||
properties:
|
|
||||||
replicas:
|
|
||||||
default: 1
|
|
||||||
type: integer
|
|
||||||
type: object
|
|
||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
dolibarr:
|
dolibarr:
|
||||||
@@ -293,191 +478,6 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
storage:
|
|
||||||
default:
|
|
||||||
postgres:
|
|
||||||
size: 5Gi
|
|
||||||
redis:
|
|
||||||
size: 2Gi
|
|
||||||
volume:
|
|
||||||
accessMode: ReadWriteOnce
|
|
||||||
size: 1Gi
|
|
||||||
type: Filesystem
|
|
||||||
description: Configure this app storage
|
|
||||||
examples:
|
|
||||||
- postgres:
|
|
||||||
size: 5Gi
|
|
||||||
redis:
|
|
||||||
size: 2Gi
|
|
||||||
volume:
|
|
||||||
accessMode: ReadWriteOnce
|
|
||||||
size: 1Gi
|
|
||||||
type: Filesystem
|
|
||||||
properties:
|
|
||||||
postgres:
|
|
||||||
default:
|
|
||||||
size: 5Gi
|
|
||||||
properties:
|
|
||||||
size:
|
|
||||||
default: 5Gi
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
redis:
|
|
||||||
default:
|
|
||||||
size: 2Gi
|
|
||||||
properties:
|
|
||||||
size:
|
|
||||||
default: 2Gi
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
volume:
|
|
||||||
default:
|
|
||||||
accessMode: ReadWriteOnce
|
|
||||||
size: 1Gi
|
|
||||||
type: Filesystem
|
|
||||||
properties:
|
|
||||||
accessMode:
|
|
||||||
default: ReadWriteOnce
|
|
||||||
enum:
|
|
||||||
- ReadWriteOnce
|
|
||||||
- ReadOnlyMany
|
|
||||||
- ReadWriteMany
|
|
||||||
type: string
|
|
||||||
size:
|
|
||||||
default: 1Gi
|
|
||||||
type: string
|
|
||||||
type:
|
|
||||||
default: Filesystem
|
|
||||||
enum:
|
|
||||||
- Filesystem
|
|
||||||
- Block
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
resources:
|
|
||||||
default:
|
|
||||||
limits:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 256Mi
|
|
||||||
requests:
|
|
||||||
cpu: 50m
|
|
||||||
memory: 100Mi
|
|
||||||
examples:
|
|
||||||
- limits:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 256Mi
|
|
||||||
requests:
|
|
||||||
cpu: 50m
|
|
||||||
memory: 100Mi
|
|
||||||
properties:
|
|
||||||
limits:
|
|
||||||
default:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 256Mi
|
|
||||||
properties:
|
|
||||||
cpu:
|
|
||||||
default: 200m
|
|
||||||
type: string
|
|
||||||
memory:
|
|
||||||
default: 256Mi
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
requests:
|
|
||||||
default:
|
|
||||||
cpu: 50m
|
|
||||||
memory: 100Mi
|
|
||||||
properties:
|
|
||||||
cpu:
|
|
||||||
default: 50m
|
|
||||||
type: string
|
|
||||||
memory:
|
|
||||||
default: 100Mi
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
parameters:
|
|
||||||
default:
|
|
||||||
MAIN_LANG_DEFAULT: auto
|
|
||||||
examples:
|
|
||||||
- MAIN_LANG_DEFAULT: auto
|
|
||||||
properties:
|
|
||||||
MAIN_LANG_DEFAULT:
|
|
||||||
default: auto
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
ingress-class:
|
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
|
||||||
hpa:
|
|
||||||
default:
|
|
||||||
avg-cpu: 50
|
|
||||||
max-replicas: 5
|
|
||||||
min-replicas: 1
|
|
||||||
examples:
|
|
||||||
- avg-cpu: 50
|
|
||||||
max-replicas: 5
|
|
||||||
min-replicas: 1
|
|
||||||
properties:
|
|
||||||
avg-cpu:
|
|
||||||
default: 50
|
|
||||||
type: integer
|
|
||||||
max-replicas:
|
|
||||||
default: 5
|
|
||||||
type: integer
|
|
||||||
min-replicas:
|
|
||||||
default: 1
|
|
||||||
type: integer
|
|
||||||
type: object
|
|
||||||
modules:
|
|
||||||
default:
|
|
||||||
- societe
|
|
||||||
examples:
|
|
||||||
- - societe
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
user-groups:
|
|
||||||
default:
|
|
||||||
- admin: true
|
|
||||||
name: dolibarr-admin
|
|
||||||
examples:
|
|
||||||
- - admin: true
|
|
||||||
name: dolibarr-admin
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
admin:
|
|
||||||
type: boolean
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
sub-domain:
|
|
||||||
default: erp
|
|
||||||
examples:
|
|
||||||
- erp
|
|
||||||
type: string
|
|
||||||
log-level:
|
|
||||||
default: 5
|
|
||||||
examples:
|
|
||||||
- 5
|
|
||||||
type: integer
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: share
|
category: share
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
locals {
|
locals {
|
||||||
dns_names = ["${var.sub-domain}.${var.domain-name}"]
|
dns_names = ["${var.sub-domain}.${var.domain_name}"]
|
||||||
middlewares = ["${var.instance}-https"]
|
middlewares = ["${var.instance}-https"]
|
||||||
service = {
|
service = {
|
||||||
"name" = "${var.instance}"
|
"name" = "${var.instance}"
|
||||||
@@ -66,7 +66,7 @@ resource "kubectl_manifest" "prj_ingress" {
|
|||||||
annotations:
|
annotations:
|
||||||
"traefik.ingress.kubernetes.io/router.middlewares": "${join(",", [for m in local.middlewares : format("%s-%s@kubernetescrd", var.namespace, m)])}"
|
"traefik.ingress.kubernetes.io/router.middlewares": "${join(",", [for m in local.middlewares : format("%s-%s@kubernetescrd", var.namespace, m)])}"
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: "${var.ingress-class}"
|
ingressClassName: "${var.ingress_class}"
|
||||||
rules: ${jsonencode(local.rules)}
|
rules: ${jsonencode(local.rules)}
|
||||||
tls:
|
tls:
|
||||||
- hosts: ${jsonencode(local.dns_names)}
|
- hosts: ${jsonencode(local.dns_names)}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ data "kubernetes_secret_v1" "authentik" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
locals {
|
locals {
|
||||||
base-dn = format("dc=%s", join(",dc=", split(".", format("%s.%s", var.sub-domain, var.domain-name))))
|
base-dn = format("dc=%s", join(",dc=", split(".", format("%s.%s", var.sub-domain, var.domain_name))))
|
||||||
base-group-dn = format("ou=groups,%s", local.base-dn)
|
base-group-dn = format("ou=groups,%s", local.base-dn)
|
||||||
base-user-dn = format("ou=users,%s", local.base-dn)
|
base-user-dn = format("ou=users,%s", local.base-dn)
|
||||||
authentik_url = "http://authentik.${var.domain}-auth.svc"
|
authentik_url = "http://authentik.${var.domain}-auth.svc"
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ resource "authentik_provider_saml" "dolibarr" {
|
|||||||
name = "dolibarr-${var.instance}-saml"
|
name = "dolibarr-${var.instance}-saml"
|
||||||
authentication_flow = data.authentik_flow.default-authentication-flow.id
|
authentication_flow = data.authentik_flow.default-authentication-flow.id
|
||||||
authorization_flow = data.authentik_flow.default-authorization-flow.id
|
authorization_flow = data.authentik_flow.default-authorization-flow.id
|
||||||
acs_url = "https://${var.sub-domain}.${var.domain-name}/custom/samlconnector/acs.php?entity=1&fk_idp=0"
|
acs_url = "https://${var.sub-domain}.${var.domain_name}/custom/samlconnector/acs.php?entity=1&fk_idp=0"
|
||||||
property_mappings = data.authentik_property_mapping_saml.saml_maps.ids
|
property_mappings = data.authentik_property_mapping_saml.saml_maps.ids
|
||||||
name_id_mapping = data.authentik_property_mapping_saml.saml_name.id
|
name_id_mapping = data.authentik_property_mapping_saml.saml_name.id
|
||||||
signing_kp = data.authentik_certificate_key_pair.generated.id
|
signing_kp = data.authentik_certificate_key_pair.generated.id
|
||||||
|
|||||||
@@ -9,11 +9,36 @@ metadata:
|
|||||||
A painless self-hosted Git service.
|
A painless self-hosted Git service.
|
||||||
Gitea is a community managed lightweight code hosting solution written in Go. It is published under the MIT license.
|
Gitea is a community managed lightweight code hosting solution written in Go. It is published under the MIT license.
|
||||||
options:
|
options:
|
||||||
replicas:
|
load-balancer:
|
||||||
default: 1
|
default:
|
||||||
|
ip: ''
|
||||||
examples:
|
examples:
|
||||||
- 1
|
- ip: ''
|
||||||
type: integer
|
properties:
|
||||||
|
ip:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
sub-domain:
|
||||||
|
default: git
|
||||||
|
examples:
|
||||||
|
- git
|
||||||
|
type: string
|
||||||
|
admin:
|
||||||
|
default:
|
||||||
|
email: git-admin@git.your_company.com
|
||||||
|
name: gitea_admin
|
||||||
|
examples:
|
||||||
|
- email: git-admin@git.your_company.com
|
||||||
|
name: gitea_admin
|
||||||
|
properties:
|
||||||
|
email:
|
||||||
|
default: git-admin@git.your_company.com
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
default: gitea_admin
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
webhook:
|
webhook:
|
||||||
default:
|
default:
|
||||||
allowed-hosts: private
|
allowed-hosts: private
|
||||||
@@ -29,199 +54,92 @@ options:
|
|||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
load-balancer:
|
storage:
|
||||||
default:
|
default:
|
||||||
ip: ''
|
postgres:
|
||||||
|
size: 10Gi
|
||||||
|
redis:
|
||||||
|
size: 2Gi
|
||||||
|
volume:
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
size: 10Gi
|
||||||
|
type: Filesystem
|
||||||
|
description: Configure this app storage
|
||||||
examples:
|
examples:
|
||||||
- ip: ''
|
- postgres:
|
||||||
|
size: 10Gi
|
||||||
|
redis:
|
||||||
|
size: 2Gi
|
||||||
|
volume:
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
size: 10Gi
|
||||||
|
type: Filesystem
|
||||||
properties:
|
properties:
|
||||||
ip:
|
postgres:
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
push-create:
|
|
||||||
default:
|
|
||||||
org: 'true'
|
|
||||||
private: 'false'
|
|
||||||
user: 'true'
|
|
||||||
examples:
|
|
||||||
- org: 'true'
|
|
||||||
private: 'false'
|
|
||||||
user: 'true'
|
|
||||||
properties:
|
|
||||||
org:
|
|
||||||
default: 'true'
|
|
||||||
type: string
|
|
||||||
private:
|
|
||||||
default: 'false'
|
|
||||||
type: string
|
|
||||||
user:
|
|
||||||
default: 'true'
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
redis:
|
|
||||||
default:
|
|
||||||
exporter:
|
|
||||||
enabled: true
|
|
||||||
examples:
|
|
||||||
- exporter:
|
|
||||||
enabled: true
|
|
||||||
properties:
|
|
||||||
exporter:
|
|
||||||
default:
|
default:
|
||||||
enabled: true
|
size: 10Gi
|
||||||
properties:
|
properties:
|
||||||
enabled:
|
size:
|
||||||
default: true
|
default: 10Gi
|
||||||
type: boolean
|
type: string
|
||||||
|
type: object
|
||||||
|
redis:
|
||||||
|
default:
|
||||||
|
size: 2Gi
|
||||||
|
properties:
|
||||||
|
size:
|
||||||
|
default: 2Gi
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
volume:
|
||||||
|
default:
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
size: 10Gi
|
||||||
|
type: Filesystem
|
||||||
|
properties:
|
||||||
|
accessMode:
|
||||||
|
default: ReadWriteOnce
|
||||||
|
enum:
|
||||||
|
- ReadWriteOnce
|
||||||
|
- ReadOnlyMany
|
||||||
|
- ReadWriteMany
|
||||||
|
type: string
|
||||||
|
size:
|
||||||
|
default: 10Gi
|
||||||
|
type: string
|
||||||
|
type:
|
||||||
|
default: Filesystem
|
||||||
|
enum:
|
||||||
|
- Filesystem
|
||||||
|
- Block
|
||||||
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
sub-domain:
|
domain_name:
|
||||||
default: git
|
|
||||||
examples:
|
|
||||||
- git
|
|
||||||
type: string
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
app-group:
|
|
||||||
default: dev
|
|
||||||
examples:
|
|
||||||
- dev
|
|
||||||
type: string
|
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- your_company.com
|
||||||
type: string
|
type: string
|
||||||
ssh-sub-domain:
|
ssh-port:
|
||||||
default: git
|
default: 2222
|
||||||
examples:
|
examples:
|
||||||
- git
|
- 2222
|
||||||
|
type: integer
|
||||||
|
release:
|
||||||
|
default: 8.3.0
|
||||||
|
examples:
|
||||||
|
- 8.3.0
|
||||||
type: string
|
type: string
|
||||||
issuer:
|
default-branch:
|
||||||
default: letsencrypt-prod
|
default: main
|
||||||
examples:
|
examples:
|
||||||
- letsencrypt-prod
|
- main
|
||||||
type: string
|
type: string
|
||||||
backups:
|
app_group:
|
||||||
default:
|
default: dev
|
||||||
enable: false
|
|
||||||
endpoint: ''
|
|
||||||
key-id-key: s3-id
|
|
||||||
restic-key: bck-password
|
|
||||||
retention:
|
|
||||||
db: 30d
|
|
||||||
keepDaily: 14
|
|
||||||
keepMonthly: 12
|
|
||||||
keepWeekly: 6
|
|
||||||
keepYearly: 12
|
|
||||||
schedule:
|
|
||||||
backup: 10 3 * * *
|
|
||||||
check: 10 5 * * 1
|
|
||||||
db: 10 3 * * *
|
|
||||||
prune: 10 1 * * 0
|
|
||||||
secret-key: s3-secret
|
|
||||||
secret-name: backup-settings
|
|
||||||
use-barman: false
|
|
||||||
examples:
|
examples:
|
||||||
- enable: false
|
- dev
|
||||||
endpoint: ''
|
type: string
|
||||||
key-id-key: s3-id
|
|
||||||
restic-key: bck-password
|
|
||||||
retention:
|
|
||||||
db: 30d
|
|
||||||
keepDaily: 14
|
|
||||||
keepMonthly: 12
|
|
||||||
keepWeekly: 6
|
|
||||||
keepYearly: 12
|
|
||||||
schedule:
|
|
||||||
backup: 10 3 * * *
|
|
||||||
check: 10 5 * * 1
|
|
||||||
db: 10 3 * * *
|
|
||||||
prune: 10 1 * * 0
|
|
||||||
secret-key: s3-secret
|
|
||||||
secret-name: backup-settings
|
|
||||||
use-barman: false
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
endpoint:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
key-id-key:
|
|
||||||
default: s3-id
|
|
||||||
type: string
|
|
||||||
restic-key:
|
|
||||||
default: bck-password
|
|
||||||
type: string
|
|
||||||
retention:
|
|
||||||
default:
|
|
||||||
db: 30d
|
|
||||||
keepDaily: 14
|
|
||||||
keepMonthly: 12
|
|
||||||
keepWeekly: 6
|
|
||||||
keepYearly: 12
|
|
||||||
properties:
|
|
||||||
db:
|
|
||||||
default: 30d
|
|
||||||
type: string
|
|
||||||
keepDaily:
|
|
||||||
default: 14
|
|
||||||
type: integer
|
|
||||||
keepMonthly:
|
|
||||||
default: 12
|
|
||||||
type: integer
|
|
||||||
keepWeekly:
|
|
||||||
default: 6
|
|
||||||
type: integer
|
|
||||||
keepYearly:
|
|
||||||
default: 12
|
|
||||||
type: integer
|
|
||||||
type: object
|
|
||||||
schedule:
|
|
||||||
default:
|
|
||||||
backup: 10 3 * * *
|
|
||||||
check: 10 5 * * 1
|
|
||||||
db: 10 3 * * *
|
|
||||||
prune: 10 1 * * 0
|
|
||||||
properties:
|
|
||||||
backup:
|
|
||||||
default: 10 3 * * *
|
|
||||||
type: string
|
|
||||||
check:
|
|
||||||
default: 10 5 * * 1
|
|
||||||
type: string
|
|
||||||
db:
|
|
||||||
default: 10 3 * * *
|
|
||||||
type: string
|
|
||||||
prune:
|
|
||||||
default: 10 1 * * 0
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
secret-key:
|
|
||||||
default: s3-secret
|
|
||||||
type: string
|
|
||||||
secret-name:
|
|
||||||
default: backup-settings
|
|
||||||
type: string
|
|
||||||
use-barman:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
postgres:
|
|
||||||
default:
|
|
||||||
replicas: 1
|
|
||||||
examples:
|
|
||||||
- replicas: 1
|
|
||||||
properties:
|
|
||||||
replicas:
|
|
||||||
default: 1
|
|
||||||
type: integer
|
|
||||||
type: object
|
|
||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
gitea:
|
gitea:
|
||||||
@@ -353,12 +271,79 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
default-branch:
|
timezone:
|
||||||
default: main
|
default: Europe/Paris
|
||||||
examples:
|
examples:
|
||||||
- main
|
- Europe/Paris
|
||||||
type: string
|
type: string
|
||||||
ingress-class:
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
redis:
|
||||||
|
default:
|
||||||
|
exporter:
|
||||||
|
enabled: true
|
||||||
|
examples:
|
||||||
|
- exporter:
|
||||||
|
enabled: true
|
||||||
|
properties:
|
||||||
|
exporter:
|
||||||
|
default:
|
||||||
|
enabled: true
|
||||||
|
properties:
|
||||||
|
enabled:
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
postgres:
|
||||||
|
default:
|
||||||
|
replicas: 1
|
||||||
|
examples:
|
||||||
|
- replicas: 1
|
||||||
|
properties:
|
||||||
|
replicas:
|
||||||
|
default: 1
|
||||||
|
type: integer
|
||||||
|
type: object
|
||||||
|
replicas:
|
||||||
|
default: 1
|
||||||
|
examples:
|
||||||
|
- 1
|
||||||
|
type: integer
|
||||||
|
push-create:
|
||||||
|
default:
|
||||||
|
org: 'true'
|
||||||
|
private: 'false'
|
||||||
|
user: 'true'
|
||||||
|
examples:
|
||||||
|
- org: 'true'
|
||||||
|
private: 'false'
|
||||||
|
user: 'true'
|
||||||
|
properties:
|
||||||
|
org:
|
||||||
|
default: 'true'
|
||||||
|
type: string
|
||||||
|
private:
|
||||||
|
default: 'false'
|
||||||
|
type: string
|
||||||
|
user:
|
||||||
|
default: 'true'
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
disable-registration:
|
||||||
|
default: true
|
||||||
|
examples:
|
||||||
|
- true
|
||||||
|
type: boolean
|
||||||
|
ssh-sub-domain:
|
||||||
|
default: git
|
||||||
|
examples:
|
||||||
|
- git
|
||||||
|
type: string
|
||||||
|
ingress_class:
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
@@ -368,102 +353,117 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- gitea-modern
|
- gitea-modern
|
||||||
type: string
|
type: string
|
||||||
ssh-port:
|
domain:
|
||||||
default: 2222
|
default: your-company
|
||||||
examples:
|
examples:
|
||||||
- 2222
|
- your-company
|
||||||
type: integer
|
|
||||||
admin:
|
|
||||||
default:
|
|
||||||
email: git-admin@git.your_company.com
|
|
||||||
name: gitea_admin
|
|
||||||
examples:
|
|
||||||
- email: git-admin@git.your_company.com
|
|
||||||
name: gitea_admin
|
|
||||||
properties:
|
|
||||||
email:
|
|
||||||
default: git-admin@git.your_company.com
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
default: gitea_admin
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
timezone:
|
|
||||||
default: Europe/Paris
|
|
||||||
examples:
|
|
||||||
- Europe/Paris
|
|
||||||
type: string
|
type: string
|
||||||
disable-registration:
|
backups:
|
||||||
default: true
|
|
||||||
examples:
|
|
||||||
- true
|
|
||||||
type: boolean
|
|
||||||
storage:
|
|
||||||
default:
|
default:
|
||||||
postgres:
|
enable: false
|
||||||
size: 10Gi
|
endpoint: ''
|
||||||
redis:
|
key-id-key: s3-id
|
||||||
size: 2Gi
|
restic-key: bck-password
|
||||||
volume:
|
retention:
|
||||||
accessMode: ReadWriteOnce
|
db: 30d
|
||||||
size: 10Gi
|
keepDaily: 14
|
||||||
type: Filesystem
|
keepMonthly: 12
|
||||||
description: Configure this app storage
|
keepWeekly: 6
|
||||||
|
keepYearly: 12
|
||||||
|
schedule:
|
||||||
|
backup: 10 3 * * *
|
||||||
|
check: 10 5 * * 1
|
||||||
|
db: 10 3 * * *
|
||||||
|
prune: 10 1 * * 0
|
||||||
|
secret-key: s3-secret
|
||||||
|
secret-name: backup-settings
|
||||||
|
use-barman: false
|
||||||
examples:
|
examples:
|
||||||
- postgres:
|
- enable: false
|
||||||
size: 10Gi
|
endpoint: ''
|
||||||
redis:
|
key-id-key: s3-id
|
||||||
size: 2Gi
|
restic-key: bck-password
|
||||||
volume:
|
retention:
|
||||||
accessMode: ReadWriteOnce
|
db: 30d
|
||||||
size: 10Gi
|
keepDaily: 14
|
||||||
type: Filesystem
|
keepMonthly: 12
|
||||||
|
keepWeekly: 6
|
||||||
|
keepYearly: 12
|
||||||
|
schedule:
|
||||||
|
backup: 10 3 * * *
|
||||||
|
check: 10 5 * * 1
|
||||||
|
db: 10 3 * * *
|
||||||
|
prune: 10 1 * * 0
|
||||||
|
secret-key: s3-secret
|
||||||
|
secret-name: backup-settings
|
||||||
|
use-barman: false
|
||||||
properties:
|
properties:
|
||||||
postgres:
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
endpoint:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
key-id-key:
|
||||||
|
default: s3-id
|
||||||
|
type: string
|
||||||
|
restic-key:
|
||||||
|
default: bck-password
|
||||||
|
type: string
|
||||||
|
retention:
|
||||||
default:
|
default:
|
||||||
size: 10Gi
|
db: 30d
|
||||||
|
keepDaily: 14
|
||||||
|
keepMonthly: 12
|
||||||
|
keepWeekly: 6
|
||||||
|
keepYearly: 12
|
||||||
properties:
|
properties:
|
||||||
size:
|
db:
|
||||||
default: 10Gi
|
default: 30d
|
||||||
type: string
|
type: string
|
||||||
type: object
|
keepDaily:
|
||||||
redis:
|
default: 14
|
||||||
default:
|
type: integer
|
||||||
size: 2Gi
|
keepMonthly:
|
||||||
properties:
|
default: 12
|
||||||
size:
|
type: integer
|
||||||
default: 2Gi
|
keepWeekly:
|
||||||
type: string
|
default: 6
|
||||||
type: object
|
type: integer
|
||||||
volume:
|
keepYearly:
|
||||||
default:
|
default: 12
|
||||||
accessMode: ReadWriteOnce
|
type: integer
|
||||||
size: 10Gi
|
type: object
|
||||||
type: Filesystem
|
schedule:
|
||||||
properties:
|
default:
|
||||||
accessMode:
|
backup: 10 3 * * *
|
||||||
default: ReadWriteOnce
|
check: 10 5 * * 1
|
||||||
enum:
|
db: 10 3 * * *
|
||||||
- ReadWriteOnce
|
prune: 10 1 * * 0
|
||||||
- ReadOnlyMany
|
properties:
|
||||||
- ReadWriteMany
|
backup:
|
||||||
type: string
|
default: 10 3 * * *
|
||||||
size:
|
type: string
|
||||||
default: 10Gi
|
check:
|
||||||
type: string
|
default: 10 5 * * 1
|
||||||
type:
|
type: string
|
||||||
default: Filesystem
|
db:
|
||||||
enum:
|
default: 10 3 * * *
|
||||||
- Filesystem
|
type: string
|
||||||
- Block
|
prune:
|
||||||
|
default: 10 1 * * 0
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
secret-key:
|
||||||
|
default: s3-secret
|
||||||
|
type: string
|
||||||
|
secret-name:
|
||||||
|
default: backup-settings
|
||||||
|
type: string
|
||||||
|
use-barman:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
release:
|
|
||||||
default: 8.3.0
|
|
||||||
examples:
|
|
||||||
- 8.3.0
|
|
||||||
type: string
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: share
|
category: share
|
||||||
|
|||||||
@@ -43,15 +43,15 @@ ROOT=/data/git/gitea-repositories
|
|||||||
EOF
|
EOF
|
||||||
server = <<-EOF
|
server = <<-EOF
|
||||||
APP_DATA_PATH=/data
|
APP_DATA_PATH=/data
|
||||||
DOMAIN=${var.sub-domain}.${var.domain-name}
|
DOMAIN=${var.sub-domain}.${var.domain_name}
|
||||||
ENABLE_PPROF=false
|
ENABLE_PPROF=false
|
||||||
HTTP_PORT=3000
|
HTTP_PORT=3000
|
||||||
PROTOCOL=http
|
PROTOCOL=http
|
||||||
ROOT_URL=https://${var.sub-domain}.${var.domain-name}
|
ROOT_URL=https://${var.sub-domain}.${var.domain_name}
|
||||||
SSH_DOMAIN=${var.sub-domain}.${var.domain-name}
|
SSH_DOMAIN=${var.sub-domain}.${var.domain_name}
|
||||||
SSH_LISTEN_PORT=2222
|
SSH_LISTEN_PORT=2222
|
||||||
SSH_PORT=${var.ssh-port}
|
SSH_PORT=${var.ssh-port}
|
||||||
SSH_DOMAIN=${var.ssh-sub-domain}.${var.domain-name}
|
SSH_DOMAIN=${var.ssh-sub-domain}.${var.domain_name}
|
||||||
START_SSH_SERVER=true
|
START_SSH_SERVER=true
|
||||||
EOF
|
EOF
|
||||||
ui = <<-EOF
|
ui = <<-EOF
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
locals {
|
locals {
|
||||||
dns_name = "${var.sub-domain}.${var.domain-name}"
|
dns_name = "${var.sub-domain}.${var.domain_name}"
|
||||||
dns_names = [local.dns_name]
|
dns_names = [local.dns_name]
|
||||||
app_name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)
|
app_name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)
|
||||||
icon = "assets/img/logo.svg"
|
icon = "assets/img/logo.svg"
|
||||||
@@ -34,7 +34,7 @@ module "ingress" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
issuer = var.issuer
|
issuer = var.issuer
|
||||||
ingress_class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
middlewares = []
|
middlewares = []
|
||||||
@@ -48,7 +48,7 @@ module "application" {
|
|||||||
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
||||||
component = var.component
|
component = var.component
|
||||||
instance = var.instance
|
instance = var.instance
|
||||||
app_group = var.app-group
|
app_group = var.app_group
|
||||||
dns_name = local.dns_name
|
dns_name = local.dns_name
|
||||||
icon = local.icon
|
icon = local.icon
|
||||||
protocol_provider = module.oauth2.provider-id
|
protocol_provider = module.oauth2.provider-id
|
||||||
|
|||||||
@@ -6,31 +6,6 @@ metadata:
|
|||||||
name: gramo
|
name: gramo
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
sub-domain:
|
|
||||||
default: gramo
|
|
||||||
examples:
|
|
||||||
- gramo
|
|
||||||
type: string
|
|
||||||
cluster-admin:
|
|
||||||
default: false
|
|
||||||
examples:
|
|
||||||
- false
|
|
||||||
type: boolean
|
|
||||||
app-group:
|
|
||||||
default: infra
|
|
||||||
examples:
|
|
||||||
- infra
|
|
||||||
type: string
|
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
managed:
|
|
||||||
default: false
|
|
||||||
examples:
|
|
||||||
- false
|
|
||||||
type: boolean
|
|
||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
gramo:
|
gramo:
|
||||||
@@ -70,16 +45,36 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
ingress-class:
|
domain_name:
|
||||||
default: traefik
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- your_company.com
|
||||||
type: string
|
type: string
|
||||||
issuer:
|
issuer:
|
||||||
default: letsencrypt-prod
|
default: letsencrypt-prod
|
||||||
examples:
|
examples:
|
||||||
- letsencrypt-prod
|
- letsencrypt-prod
|
||||||
type: string
|
type: string
|
||||||
|
managed:
|
||||||
|
default: false
|
||||||
|
examples:
|
||||||
|
- false
|
||||||
|
type: boolean
|
||||||
|
cluster-admin:
|
||||||
|
default: false
|
||||||
|
examples:
|
||||||
|
- false
|
||||||
|
type: boolean
|
||||||
|
sub-domain:
|
||||||
|
default: gramo
|
||||||
|
examples:
|
||||||
|
- gramo
|
||||||
|
type: string
|
||||||
|
ingress_class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
domain:
|
domain:
|
||||||
default: your-company
|
default: your-company
|
||||||
examples:
|
examples:
|
||||||
@@ -90,6 +85,11 @@ options:
|
|||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
|
app_group:
|
||||||
|
default: infra
|
||||||
|
examples:
|
||||||
|
- infra
|
||||||
|
type: string
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: share
|
category: share
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
locals {
|
locals {
|
||||||
dns_name = "${var.sub-domain}.${var.domain-name}"
|
dns_name = "${var.sub-domain}.${var.domain_name}"
|
||||||
dns_names = [local.dns_name]
|
dns_names = [local.dns_name]
|
||||||
app_name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)
|
app_name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)
|
||||||
icon = "icon.svg"
|
icon = "icon.svg"
|
||||||
@@ -34,7 +34,7 @@ module "ingress" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
issuer = var.issuer
|
issuer = var.issuer
|
||||||
ingress_class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
middlewares = ["forward-${local.app_name}"]
|
middlewares = ["forward-${local.app_name}"]
|
||||||
@@ -48,7 +48,7 @@ module "application" {
|
|||||||
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
||||||
component = var.component
|
component = var.component
|
||||||
instance = var.instance
|
instance = var.instance
|
||||||
app_group = var.app-group
|
app_group = var.app_group
|
||||||
dns_name = local.dns_name
|
dns_name = local.dns_name
|
||||||
icon = local.icon
|
icon = local.icon
|
||||||
protocol_provider = module.forward.provider-id
|
protocol_provider = module.forward.provider-id
|
||||||
@@ -73,7 +73,7 @@ module "forward" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
domain = var.domain
|
domain = var.domain
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
ingress_class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
service = local.service
|
service = local.service
|
||||||
|
|||||||
@@ -11,10 +11,10 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- your-company
|
- your-company
|
||||||
type: string
|
type: string
|
||||||
ingress-class:
|
domain_name:
|
||||||
default: traefik
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- your_company.com
|
||||||
type: string
|
type: string
|
||||||
sub-domain:
|
sub-domain:
|
||||||
default: api
|
default: api
|
||||||
@@ -26,10 +26,10 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- letsencrypt-prod
|
- letsencrypt-prod
|
||||||
type: string
|
type: string
|
||||||
domain-name:
|
ingress_class:
|
||||||
default: your_company.com
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- traefik
|
||||||
type: string
|
type: string
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
locals {
|
locals {
|
||||||
dns_names = ["${var.sub-domain}.${var.domain-name}"]
|
dns_names = ["${var.sub-domain}.${var.domain_name}"]
|
||||||
middlewares = []
|
middlewares = []
|
||||||
services = [{
|
services = [{
|
||||||
"kind" = "Service"
|
"kind" = "Service"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ metadata:
|
|||||||
name: nextcloud-metrics
|
name: nextcloud-metrics
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: nextcloud
|
app.kubernetes.io/name: nextcloud
|
||||||
helm.sh/chart: nextcloud-4.5.11
|
helm.sh/chart: nextcloud-4.5.12
|
||||||
app.kubernetes.io/instance: nextcloud
|
app.kubernetes.io/instance: nextcloud
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/component: metrics
|
app.kubernetes.io/component: metrics
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ metadata:
|
|||||||
name: nextcloud
|
name: nextcloud
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: nextcloud
|
app.kubernetes.io/name: nextcloud
|
||||||
helm.sh/chart: nextcloud-4.5.11
|
helm.sh/chart: nextcloud-4.5.12
|
||||||
app.kubernetes.io/instance: nextcloud
|
app.kubernetes.io/instance: nextcloud
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/component: app
|
app.kubernetes.io/component: app
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ metadata:
|
|||||||
name: nextcloud
|
name: nextcloud
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: nextcloud
|
app.kubernetes.io/name: nextcloud
|
||||||
helm.sh/chart: nextcloud-4.5.11
|
helm.sh/chart: nextcloud-4.5.12
|
||||||
app.kubernetes.io/instance: nextcloud
|
app.kubernetes.io/instance: nextcloud
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/component: app
|
app.kubernetes.io/component: app
|
||||||
|
|||||||
@@ -6,6 +6,11 @@ metadata:
|
|||||||
name: nextcloud
|
name: nextcloud
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
|
sub-domain:
|
||||||
|
default: files
|
||||||
|
examples:
|
||||||
|
- files
|
||||||
|
type: string
|
||||||
postgres:
|
postgres:
|
||||||
default:
|
default:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
@@ -16,10 +21,299 @@ options:
|
|||||||
default: 1
|
default: 1
|
||||||
type: integer
|
type: integer
|
||||||
type: object
|
type: object
|
||||||
app-group:
|
openid-name:
|
||||||
default: ''
|
default: vynil
|
||||||
examples:
|
examples:
|
||||||
- ''
|
- vynil
|
||||||
|
type: string
|
||||||
|
backups:
|
||||||
|
default:
|
||||||
|
enable: false
|
||||||
|
endpoint: ''
|
||||||
|
key-id-key: s3-id
|
||||||
|
restic-key: bck-password
|
||||||
|
retention:
|
||||||
|
db: 30d
|
||||||
|
keepDaily: 14
|
||||||
|
keepMonthly: 12
|
||||||
|
keepWeekly: 6
|
||||||
|
keepYearly: 12
|
||||||
|
schedule:
|
||||||
|
backup: 30 3 * * *
|
||||||
|
check: 30 5 * * 1
|
||||||
|
db: 30 3 * * *
|
||||||
|
prune: 30 1 * * 0
|
||||||
|
secret-key: s3-secret
|
||||||
|
secret-name: backup-settings
|
||||||
|
use-barman: false
|
||||||
|
examples:
|
||||||
|
- enable: false
|
||||||
|
endpoint: ''
|
||||||
|
key-id-key: s3-id
|
||||||
|
restic-key: bck-password
|
||||||
|
retention:
|
||||||
|
db: 30d
|
||||||
|
keepDaily: 14
|
||||||
|
keepMonthly: 12
|
||||||
|
keepWeekly: 6
|
||||||
|
keepYearly: 12
|
||||||
|
schedule:
|
||||||
|
backup: 30 3 * * *
|
||||||
|
check: 30 5 * * 1
|
||||||
|
db: 30 3 * * *
|
||||||
|
prune: 30 1 * * 0
|
||||||
|
secret-key: s3-secret
|
||||||
|
secret-name: backup-settings
|
||||||
|
use-barman: false
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
endpoint:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
key-id-key:
|
||||||
|
default: s3-id
|
||||||
|
type: string
|
||||||
|
restic-key:
|
||||||
|
default: bck-password
|
||||||
|
type: string
|
||||||
|
retention:
|
||||||
|
default:
|
||||||
|
db: 30d
|
||||||
|
keepDaily: 14
|
||||||
|
keepMonthly: 12
|
||||||
|
keepWeekly: 6
|
||||||
|
keepYearly: 12
|
||||||
|
properties:
|
||||||
|
db:
|
||||||
|
default: 30d
|
||||||
|
type: string
|
||||||
|
keepDaily:
|
||||||
|
default: 14
|
||||||
|
type: integer
|
||||||
|
keepMonthly:
|
||||||
|
default: 12
|
||||||
|
type: integer
|
||||||
|
keepWeekly:
|
||||||
|
default: 6
|
||||||
|
type: integer
|
||||||
|
keepYearly:
|
||||||
|
default: 12
|
||||||
|
type: integer
|
||||||
|
type: object
|
||||||
|
schedule:
|
||||||
|
default:
|
||||||
|
backup: 30 3 * * *
|
||||||
|
check: 30 5 * * 1
|
||||||
|
db: 30 3 * * *
|
||||||
|
prune: 30 1 * * 0
|
||||||
|
properties:
|
||||||
|
backup:
|
||||||
|
default: 30 3 * * *
|
||||||
|
type: string
|
||||||
|
check:
|
||||||
|
default: 30 5 * * 1
|
||||||
|
type: string
|
||||||
|
db:
|
||||||
|
default: 30 3 * * *
|
||||||
|
type: string
|
||||||
|
prune:
|
||||||
|
default: 30 1 * * 0
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
secret-key:
|
||||||
|
default: s3-secret
|
||||||
|
type: string
|
||||||
|
secret-name:
|
||||||
|
default: backup-settings
|
||||||
|
type: string
|
||||||
|
use-barman:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
redis:
|
||||||
|
default:
|
||||||
|
exporter:
|
||||||
|
enabled: true
|
||||||
|
examples:
|
||||||
|
- exporter:
|
||||||
|
enabled: true
|
||||||
|
properties:
|
||||||
|
exporter:
|
||||||
|
default:
|
||||||
|
enabled: true
|
||||||
|
properties:
|
||||||
|
enabled:
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
apps:
|
||||||
|
default:
|
||||||
|
audioplayer: false
|
||||||
|
bookmarks: false
|
||||||
|
bpm: false
|
||||||
|
calendar: false
|
||||||
|
collabora: false
|
||||||
|
contacts: false
|
||||||
|
deck: false
|
||||||
|
groupfolders: true
|
||||||
|
mindmap: false
|
||||||
|
music: false
|
||||||
|
notes: false
|
||||||
|
onlyoffice: false
|
||||||
|
passman: false
|
||||||
|
spreed: false
|
||||||
|
tables: false
|
||||||
|
tasks: false
|
||||||
|
texteditor: true
|
||||||
|
examples:
|
||||||
|
- audioplayer: false
|
||||||
|
bookmarks: false
|
||||||
|
bpm: false
|
||||||
|
calendar: false
|
||||||
|
collabora: false
|
||||||
|
contacts: false
|
||||||
|
deck: false
|
||||||
|
groupfolders: true
|
||||||
|
mindmap: false
|
||||||
|
music: false
|
||||||
|
notes: false
|
||||||
|
onlyoffice: false
|
||||||
|
passman: false
|
||||||
|
spreed: false
|
||||||
|
tables: false
|
||||||
|
tasks: false
|
||||||
|
texteditor: true
|
||||||
|
properties:
|
||||||
|
audioplayer:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
bookmarks:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
bpm:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
calendar:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
collabora:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
contacts:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
deck:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
groupfolders:
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
|
mindmap:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
music:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
notes:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
onlyoffice:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
passman:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
spreed:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
tables:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
tasks:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
texteditor:
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
storage:
|
||||||
|
default:
|
||||||
|
postgres:
|
||||||
|
size: 5Gi
|
||||||
|
redis:
|
||||||
|
size: 2Gi
|
||||||
|
volume:
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
size: 10Gi
|
||||||
|
type: Filesystem
|
||||||
|
description: Configure this app storage
|
||||||
|
examples:
|
||||||
|
- postgres:
|
||||||
|
size: 5Gi
|
||||||
|
redis:
|
||||||
|
size: 2Gi
|
||||||
|
volume:
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
size: 10Gi
|
||||||
|
type: Filesystem
|
||||||
|
properties:
|
||||||
|
postgres:
|
||||||
|
default:
|
||||||
|
size: 5Gi
|
||||||
|
properties:
|
||||||
|
size:
|
||||||
|
default: 5Gi
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
redis:
|
||||||
|
default:
|
||||||
|
size: 2Gi
|
||||||
|
properties:
|
||||||
|
size:
|
||||||
|
default: 2Gi
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
volume:
|
||||||
|
default:
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
size: 10Gi
|
||||||
|
type: Filesystem
|
||||||
|
properties:
|
||||||
|
accessMode:
|
||||||
|
default: ReadWriteOnce
|
||||||
|
enum:
|
||||||
|
- ReadWriteOnce
|
||||||
|
- ReadOnlyMany
|
||||||
|
- ReadWriteMany
|
||||||
|
type: string
|
||||||
|
size:
|
||||||
|
default: 10Gi
|
||||||
|
type: string
|
||||||
|
type:
|
||||||
|
default: Filesystem
|
||||||
|
enum:
|
||||||
|
- Filesystem
|
||||||
|
- Block
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
|
ingress_class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
type: string
|
type: string
|
||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
@@ -276,6 +570,11 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
|
app_group:
|
||||||
|
default: ''
|
||||||
|
examples:
|
||||||
|
- ''
|
||||||
|
type: string
|
||||||
admin:
|
admin:
|
||||||
default:
|
default:
|
||||||
name: nextcloud_admin
|
name: nextcloud_admin
|
||||||
@@ -286,104 +585,11 @@ options:
|
|||||||
default: nextcloud_admin
|
default: nextcloud_admin
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
ingress-class:
|
domain_name:
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
|
||||||
openid-name:
|
|
||||||
default: vynil
|
|
||||||
examples:
|
|
||||||
- vynil
|
|
||||||
type: string
|
|
||||||
storage:
|
|
||||||
default:
|
|
||||||
postgres:
|
|
||||||
size: 5Gi
|
|
||||||
redis:
|
|
||||||
size: 2Gi
|
|
||||||
volume:
|
|
||||||
accessMode: ReadWriteOnce
|
|
||||||
size: 10Gi
|
|
||||||
type: Filesystem
|
|
||||||
description: Configure this app storage
|
|
||||||
examples:
|
|
||||||
- postgres:
|
|
||||||
size: 5Gi
|
|
||||||
redis:
|
|
||||||
size: 2Gi
|
|
||||||
volume:
|
|
||||||
accessMode: ReadWriteOnce
|
|
||||||
size: 10Gi
|
|
||||||
type: Filesystem
|
|
||||||
properties:
|
|
||||||
postgres:
|
|
||||||
default:
|
|
||||||
size: 5Gi
|
|
||||||
properties:
|
|
||||||
size:
|
|
||||||
default: 5Gi
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
redis:
|
|
||||||
default:
|
|
||||||
size: 2Gi
|
|
||||||
properties:
|
|
||||||
size:
|
|
||||||
default: 2Gi
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
volume:
|
|
||||||
default:
|
|
||||||
accessMode: ReadWriteOnce
|
|
||||||
size: 10Gi
|
|
||||||
type: Filesystem
|
|
||||||
properties:
|
|
||||||
accessMode:
|
|
||||||
default: ReadWriteOnce
|
|
||||||
enum:
|
|
||||||
- ReadWriteOnce
|
|
||||||
- ReadOnlyMany
|
|
||||||
- ReadWriteMany
|
|
||||||
type: string
|
|
||||||
size:
|
|
||||||
default: 10Gi
|
|
||||||
type: string
|
|
||||||
type:
|
|
||||||
default: Filesystem
|
|
||||||
enum:
|
|
||||||
- Filesystem
|
|
||||||
- Block
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
redis:
|
|
||||||
default:
|
|
||||||
exporter:
|
|
||||||
enabled: true
|
|
||||||
examples:
|
|
||||||
- exporter:
|
|
||||||
enabled: true
|
|
||||||
properties:
|
|
||||||
exporter:
|
|
||||||
default:
|
|
||||||
enabled: true
|
|
||||||
properties:
|
|
||||||
enabled:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- your_company.com
|
||||||
type: string
|
type: string
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
hpa:
|
hpa:
|
||||||
default:
|
default:
|
||||||
avg-cpu: 50
|
avg-cpu: 50
|
||||||
@@ -404,212 +610,6 @@ options:
|
|||||||
default: 1
|
default: 1
|
||||||
type: integer
|
type: integer
|
||||||
type: object
|
type: object
|
||||||
backups:
|
|
||||||
default:
|
|
||||||
enable: false
|
|
||||||
endpoint: ''
|
|
||||||
key-id-key: s3-id
|
|
||||||
restic-key: bck-password
|
|
||||||
retention:
|
|
||||||
db: 30d
|
|
||||||
keepDaily: 14
|
|
||||||
keepMonthly: 12
|
|
||||||
keepWeekly: 6
|
|
||||||
keepYearly: 12
|
|
||||||
schedule:
|
|
||||||
backup: 30 3 * * *
|
|
||||||
check: 30 5 * * 1
|
|
||||||
db: 30 3 * * *
|
|
||||||
prune: 30 1 * * 0
|
|
||||||
secret-key: s3-secret
|
|
||||||
secret-name: backup-settings
|
|
||||||
use-barman: false
|
|
||||||
examples:
|
|
||||||
- enable: false
|
|
||||||
endpoint: ''
|
|
||||||
key-id-key: s3-id
|
|
||||||
restic-key: bck-password
|
|
||||||
retention:
|
|
||||||
db: 30d
|
|
||||||
keepDaily: 14
|
|
||||||
keepMonthly: 12
|
|
||||||
keepWeekly: 6
|
|
||||||
keepYearly: 12
|
|
||||||
schedule:
|
|
||||||
backup: 30 3 * * *
|
|
||||||
check: 30 5 * * 1
|
|
||||||
db: 30 3 * * *
|
|
||||||
prune: 30 1 * * 0
|
|
||||||
secret-key: s3-secret
|
|
||||||
secret-name: backup-settings
|
|
||||||
use-barman: false
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
endpoint:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
key-id-key:
|
|
||||||
default: s3-id
|
|
||||||
type: string
|
|
||||||
restic-key:
|
|
||||||
default: bck-password
|
|
||||||
type: string
|
|
||||||
retention:
|
|
||||||
default:
|
|
||||||
db: 30d
|
|
||||||
keepDaily: 14
|
|
||||||
keepMonthly: 12
|
|
||||||
keepWeekly: 6
|
|
||||||
keepYearly: 12
|
|
||||||
properties:
|
|
||||||
db:
|
|
||||||
default: 30d
|
|
||||||
type: string
|
|
||||||
keepDaily:
|
|
||||||
default: 14
|
|
||||||
type: integer
|
|
||||||
keepMonthly:
|
|
||||||
default: 12
|
|
||||||
type: integer
|
|
||||||
keepWeekly:
|
|
||||||
default: 6
|
|
||||||
type: integer
|
|
||||||
keepYearly:
|
|
||||||
default: 12
|
|
||||||
type: integer
|
|
||||||
type: object
|
|
||||||
schedule:
|
|
||||||
default:
|
|
||||||
backup: 30 3 * * *
|
|
||||||
check: 30 5 * * 1
|
|
||||||
db: 30 3 * * *
|
|
||||||
prune: 30 1 * * 0
|
|
||||||
properties:
|
|
||||||
backup:
|
|
||||||
default: 30 3 * * *
|
|
||||||
type: string
|
|
||||||
check:
|
|
||||||
default: 30 5 * * 1
|
|
||||||
type: string
|
|
||||||
db:
|
|
||||||
default: 30 3 * * *
|
|
||||||
type: string
|
|
||||||
prune:
|
|
||||||
default: 30 1 * * 0
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
secret-key:
|
|
||||||
default: s3-secret
|
|
||||||
type: string
|
|
||||||
secret-name:
|
|
||||||
default: backup-settings
|
|
||||||
type: string
|
|
||||||
use-barman:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
sub-domain:
|
|
||||||
default: files
|
|
||||||
examples:
|
|
||||||
- files
|
|
||||||
type: string
|
|
||||||
apps:
|
|
||||||
default:
|
|
||||||
audioplayer: false
|
|
||||||
bookmarks: false
|
|
||||||
bpm: false
|
|
||||||
calendar: false
|
|
||||||
collabora: false
|
|
||||||
contacts: false
|
|
||||||
deck: false
|
|
||||||
groupfolders: true
|
|
||||||
mindmap: false
|
|
||||||
music: false
|
|
||||||
notes: false
|
|
||||||
onlyoffice: false
|
|
||||||
passman: false
|
|
||||||
spreed: false
|
|
||||||
tables: false
|
|
||||||
tasks: false
|
|
||||||
texteditor: true
|
|
||||||
examples:
|
|
||||||
- audioplayer: false
|
|
||||||
bookmarks: false
|
|
||||||
bpm: false
|
|
||||||
calendar: false
|
|
||||||
collabora: false
|
|
||||||
contacts: false
|
|
||||||
deck: false
|
|
||||||
groupfolders: true
|
|
||||||
mindmap: false
|
|
||||||
music: false
|
|
||||||
notes: false
|
|
||||||
onlyoffice: false
|
|
||||||
passman: false
|
|
||||||
spreed: false
|
|
||||||
tables: false
|
|
||||||
tasks: false
|
|
||||||
texteditor: true
|
|
||||||
properties:
|
|
||||||
audioplayer:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
bookmarks:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
bpm:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
calendar:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
collabora:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
contacts:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
deck:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
groupfolders:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
mindmap:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
music:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
notes:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
onlyoffice:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
passman:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
spreed:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
tables:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
tasks:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
texteditor:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: share
|
category: share
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
namespace: "vynil-cloud"
|
namespace: "vynil-cloud"
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: nextcloud
|
app.kubernetes.io/name: nextcloud
|
||||||
helm.sh/chart: nextcloud-4.5.11
|
helm.sh/chart: nextcloud-4.5.12
|
||||||
app.kubernetes.io/instance: nextcloud
|
app.kubernetes.io/instance: nextcloud
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/component: metrics
|
app.kubernetes.io/component: metrics
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
locals {
|
locals {
|
||||||
dns_name = "${var.sub-domain}.${var.domain-name}"
|
dns_name = "${var.sub-domain}.${var.domain_name}"
|
||||||
dns-collabora = "collabora.${local.dns_name}"
|
dns-collabora = "collabora.${local.dns_name}"
|
||||||
dns-onlyoffice = "onlyoffice.${local.dns_name}"
|
dns-onlyoffice = "onlyoffice.${local.dns_name}"
|
||||||
dns_names = [local.dns_name]
|
dns_names = [local.dns_name]
|
||||||
@@ -31,7 +31,7 @@ module "ingress" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
issuer = var.issuer
|
issuer = var.issuer
|
||||||
ingress-class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
middlewares = ["${var.instance}-sslenforce", "${var.instance}-redirectdav", "${var.instance}-redirectindex"]
|
middlewares = ["${var.instance}-sslenforce", "${var.instance}-redirectdav", "${var.instance}-redirectindex"]
|
||||||
@@ -45,7 +45,7 @@ module "application" {
|
|||||||
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
||||||
component = var.component
|
component = var.component
|
||||||
instance = var.instance
|
instance = var.instance
|
||||||
app-group = var.app-group
|
app_group = var.app_group
|
||||||
dns_name = local.dns_name
|
dns_name = local.dns_name
|
||||||
icon = local.icon
|
icon = local.icon
|
||||||
protocol_provider = module.oauth2.provider-id
|
protocol_provider = module.oauth2.provider-id
|
||||||
@@ -90,7 +90,7 @@ module "collabora-ingress" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
issuer = var.issuer
|
issuer = var.issuer
|
||||||
ingress-class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.collabora-labels
|
labels = local.collabora-labels
|
||||||
dns_names = [local.dns-collabora]
|
dns_names = [local.dns-collabora]
|
||||||
middlewares = []
|
middlewares = []
|
||||||
@@ -121,7 +121,7 @@ module "onlyoffice-ingress" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
issuer = var.issuer
|
issuer = var.issuer
|
||||||
ingress_class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.onlyoffice-labels
|
labels = local.onlyoffice-labels
|
||||||
dns_names = [local.dns-onlyoffice]
|
dns_names = [local.dns-onlyoffice]
|
||||||
middlewares = []
|
middlewares = []
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ metadata:
|
|||||||
name: nextcloud-config
|
name: nextcloud-config
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: nextcloud
|
app.kubernetes.io/name: nextcloud
|
||||||
helm.sh/chart: nextcloud-4.5.11
|
helm.sh/chart: nextcloud-4.5.12
|
||||||
app.kubernetes.io/instance: nextcloud
|
app.kubernetes.io/instance: nextcloud
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
data:
|
data:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ metadata:
|
|||||||
name: nextcloud-nginxconfig
|
name: nextcloud-nginxconfig
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: nextcloud
|
app.kubernetes.io/name: nextcloud
|
||||||
helm.sh/chart: nextcloud-4.5.11
|
helm.sh/chart: nextcloud-4.5.12
|
||||||
app.kubernetes.io/instance: nextcloud
|
app.kubernetes.io/instance: nextcloud
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
data:
|
data:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ metadata:
|
|||||||
name: nextcloud-nextcloud
|
name: nextcloud-nextcloud
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: nextcloud
|
app.kubernetes.io/name: nextcloud
|
||||||
helm.sh/chart: nextcloud-4.5.11
|
helm.sh/chart: nextcloud-4.5.12
|
||||||
app.kubernetes.io/instance: nextcloud
|
app.kubernetes.io/instance: nextcloud
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/component: app
|
app.kubernetes.io/component: app
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ metadata:
|
|||||||
name: nextcloud-metrics
|
name: nextcloud-metrics
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: nextcloud
|
app.kubernetes.io/name: nextcloud
|
||||||
helm.sh/chart: nextcloud-4.5.11
|
helm.sh/chart: nextcloud-4.5.12
|
||||||
app.kubernetes.io/instance: nextcloud
|
app.kubernetes.io/instance: nextcloud
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/component: metrics
|
app.kubernetes.io/component: metrics
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ metadata:
|
|||||||
name: nextcloud
|
name: nextcloud
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: nextcloud
|
app.kubernetes.io/name: nextcloud
|
||||||
helm.sh/chart: nextcloud-4.5.11
|
helm.sh/chart: nextcloud-4.5.12
|
||||||
app.kubernetes.io/instance: nextcloud
|
app.kubernetes.io/instance: nextcloud
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/component: app
|
app.kubernetes.io/component: app
|
||||||
|
|||||||
@@ -6,31 +6,26 @@ metadata:
|
|||||||
name: okd
|
name: okd
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
app-group:
|
sub-domain:
|
||||||
default: infra
|
default: okd
|
||||||
examples:
|
examples:
|
||||||
- infra
|
- okd
|
||||||
type: string
|
type: string
|
||||||
managed:
|
ingress_class:
|
||||||
default: false
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- false
|
- traefik
|
||||||
type: boolean
|
type: string
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
cluster-admin:
|
cluster-admin:
|
||||||
default: false
|
default: false
|
||||||
examples:
|
examples:
|
||||||
- false
|
- false
|
||||||
type: boolean
|
type: boolean
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
namespaces:
|
namespaces:
|
||||||
default: []
|
default: []
|
||||||
items:
|
items:
|
||||||
@@ -75,20 +70,25 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
domain:
|
managed:
|
||||||
default: your-company
|
default: false
|
||||||
examples:
|
examples:
|
||||||
- your-company
|
- false
|
||||||
|
type: boolean
|
||||||
|
domain_name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
type: string
|
type: string
|
||||||
sub-domain:
|
issuer:
|
||||||
default: okd
|
default: letsencrypt-prod
|
||||||
examples:
|
examples:
|
||||||
- okd
|
- letsencrypt-prod
|
||||||
type: string
|
type: string
|
||||||
ingress-class:
|
app_group:
|
||||||
default: traefik
|
default: infra
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- infra
|
||||||
type: string
|
type: string
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
locals {
|
locals {
|
||||||
dns_name = "${var.sub-domain}.${var.domain-name}"
|
dns_name = "${var.sub-domain}.${var.domain_name}"
|
||||||
dns_names = [local.dns_name]
|
dns_names = [local.dns_name]
|
||||||
app_name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)
|
app_name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)
|
||||||
icon = "static/assets/okd-logo.svg"
|
icon = "static/assets/okd-logo.svg"
|
||||||
@@ -34,7 +34,7 @@ module "ingress" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
issuer = var.issuer
|
issuer = var.issuer
|
||||||
ingress_class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
middlewares = ["forward-${local.app_name}"]
|
middlewares = ["forward-${local.app_name}"]
|
||||||
@@ -48,7 +48,7 @@ module "application" {
|
|||||||
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
||||||
component = var.component
|
component = var.component
|
||||||
instance = var.instance
|
instance = var.instance
|
||||||
app_group = var.app-group
|
app_group = var.app_group
|
||||||
dns_name = local.dns_name
|
dns_name = local.dns_name
|
||||||
icon = local.icon
|
icon = local.icon
|
||||||
protocol_provider = module.forward.provider-id
|
protocol_provider = module.forward.provider-id
|
||||||
@@ -73,7 +73,7 @@ module "forward" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
domain = var.domain
|
domain = var.domain
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
ingress_class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
service = local.service
|
service = local.service
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
name: sonar
|
name: sonar
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
ingress-class:
|
ingress_class:
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
@@ -78,7 +78,7 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- your-company
|
- your-company
|
||||||
type: string
|
type: string
|
||||||
domain-name:
|
domain_name:
|
||||||
default: your_company.com
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- your_company.com
|
||||||
|
|||||||
@@ -6,7 +6,27 @@ metadata:
|
|||||||
name: traefik-ui
|
name: traefik-ui
|
||||||
description: Access to the Traefik UI
|
description: Access to the Traefik UI
|
||||||
options:
|
options:
|
||||||
ingress-class:
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
|
ingress_class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
|
domain_name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
type: string
|
||||||
|
app_group:
|
||||||
|
default: infra
|
||||||
|
examples:
|
||||||
|
- infra
|
||||||
|
type: string
|
||||||
|
sub-domain:
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
@@ -16,26 +36,6 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- letsencrypt-prod
|
- letsencrypt-prod
|
||||||
type: string
|
type: string
|
||||||
sub-domain:
|
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
|
||||||
app-group:
|
|
||||||
default: infra
|
|
||||||
examples:
|
|
||||||
- infra
|
|
||||||
type: string
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: share
|
category: share
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
locals {
|
locals {
|
||||||
dns_name = "${var.sub-domain}.${var.domain-name}"
|
dns_name = "${var.sub-domain}.${var.domain_name}"
|
||||||
dns_names = [local.dns_name]
|
dns_names = [local.dns_name]
|
||||||
app_name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)
|
app_name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)
|
||||||
icon = "dashboard/statics/icons/favicon-96x96.png"
|
icon = "dashboard/statics/icons/favicon-96x96.png"
|
||||||
@@ -21,7 +21,7 @@ module "ingress" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
issuer = var.issuer
|
issuer = var.issuer
|
||||||
ingress_class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
middlewares = ["forward-${local.app_name}"]
|
middlewares = ["forward-${local.app_name}"]
|
||||||
@@ -35,7 +35,7 @@ module "application" {
|
|||||||
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
||||||
component = var.component
|
component = var.component
|
||||||
instance = var.instance
|
instance = var.instance
|
||||||
app_group = var.app-group
|
app_group = var.app_group
|
||||||
dns_name = local.dns_name
|
dns_name = local.dns_name
|
||||||
icon = local.icon
|
icon = local.icon
|
||||||
protocol_provider = module.forward.provider-id
|
protocol_provider = module.forward.provider-id
|
||||||
@@ -60,7 +60,7 @@ module "forward" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
domain = var.domain
|
domain = var.domain
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
ingress_class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
service = local.service
|
service = local.service
|
||||||
|
|||||||
@@ -150,9 +150,9 @@ data "kustomization_overlay" "data" {
|
|||||||
- name: WOODPECKER_ADMIN
|
- name: WOODPECKER_ADMIN
|
||||||
value: "${var.admin-users}"
|
value: "${var.admin-users}"
|
||||||
- name: WOODPECKER_HOST
|
- name: WOODPECKER_HOST
|
||||||
value: "https://${var.sub-domain}.${var.domain-name}"
|
value: "https://${var.sub-domain}.${var.domain_name}"
|
||||||
- name: WOODPECKER_HOST
|
- name: WOODPECKER_HOST
|
||||||
value: "https://${var.sub-domain}.${var.domain-name}"
|
value: "https://${var.sub-domain}.${var.domain_name}"
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: woodpecker-secret
|
name: woodpecker-secret
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ resource "gitea_oauth2_app" "prj" {
|
|||||||
name = var.component
|
name = var.component
|
||||||
confidential_client = true
|
confidential_client = true
|
||||||
redirect_uris = [
|
redirect_uris = [
|
||||||
"https://${var.sub-domain}.${var.domain-name}/authorize"
|
"https://${var.sub-domain}.${var.domain_name}/authorize"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,71 +6,11 @@ metadata:
|
|||||||
name: woodpecker
|
name: woodpecker
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
storage-agent:
|
ingress_class:
|
||||||
default:
|
|
||||||
size: 10Gi
|
|
||||||
storageClass: ''
|
|
||||||
writeMany: 'false'
|
|
||||||
examples:
|
|
||||||
- size: 10Gi
|
|
||||||
storageClass: ''
|
|
||||||
writeMany: 'false'
|
|
||||||
properties:
|
|
||||||
size:
|
|
||||||
default: 10Gi
|
|
||||||
type: string
|
|
||||||
storageClass:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
writeMany:
|
|
||||||
default: 'false'
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
sub-domain:
|
|
||||||
default: ci
|
|
||||||
examples:
|
|
||||||
- ci
|
|
||||||
type: string
|
|
||||||
app-group:
|
|
||||||
default: dev
|
|
||||||
examples:
|
|
||||||
- dev
|
|
||||||
type: string
|
|
||||||
timeouts:
|
|
||||||
default:
|
|
||||||
default: '60'
|
|
||||||
max: '120'
|
|
||||||
examples:
|
|
||||||
- default: '60'
|
|
||||||
max: '120'
|
|
||||||
properties:
|
|
||||||
default:
|
|
||||||
default: '60'
|
|
||||||
type: string
|
|
||||||
max:
|
|
||||||
default: '120'
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
ingress-class:
|
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
type: string
|
type: string
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
agent:
|
agent:
|
||||||
@@ -187,11 +127,71 @@ options:
|
|||||||
default: 10Gi
|
default: 10Gi
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
timeouts:
|
||||||
|
default:
|
||||||
|
default: '60'
|
||||||
|
max: '120'
|
||||||
|
examples:
|
||||||
|
- default: '60'
|
||||||
|
max: '120'
|
||||||
|
properties:
|
||||||
|
default:
|
||||||
|
default: '60'
|
||||||
|
type: string
|
||||||
|
max:
|
||||||
|
default: '120'
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
sub-domain:
|
||||||
|
default: ci
|
||||||
|
examples:
|
||||||
|
- ci
|
||||||
|
type: string
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
storage-agent:
|
||||||
|
default:
|
||||||
|
size: 10Gi
|
||||||
|
storageClass: ''
|
||||||
|
writeMany: 'false'
|
||||||
|
examples:
|
||||||
|
- size: 10Gi
|
||||||
|
storageClass: ''
|
||||||
|
writeMany: 'false'
|
||||||
|
properties:
|
||||||
|
size:
|
||||||
|
default: 10Gi
|
||||||
|
type: string
|
||||||
|
storageClass:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
writeMany:
|
||||||
|
default: 'false'
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
app_group:
|
||||||
|
default: dev
|
||||||
|
examples:
|
||||||
|
- dev
|
||||||
|
type: string
|
||||||
|
domain_name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
type: string
|
||||||
admin-users:
|
admin-users:
|
||||||
default: woodpecker,admin
|
default: woodpecker,admin
|
||||||
examples:
|
examples:
|
||||||
- woodpecker,admin
|
- woodpecker,admin
|
||||||
type: string
|
type: string
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: apps
|
category: apps
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
locals {
|
locals {
|
||||||
dns_name = "${var.sub-domain}.${var.domain-name}"
|
dns_name = "${var.sub-domain}.${var.domain_name}"
|
||||||
dns_names = [local.dns_name]
|
dns_names = [local.dns_name]
|
||||||
icon = "favicons/favicon-light-default.png"
|
icon = "favicons/favicon-light-default.png"
|
||||||
service = {
|
service = {
|
||||||
@@ -16,7 +16,7 @@ module "ingress" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
issuer = var.issuer
|
issuer = var.issuer
|
||||||
ingress_class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
middlewares = []
|
middlewares = []
|
||||||
@@ -30,7 +30,7 @@ module "application" {
|
|||||||
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
||||||
component = var.component
|
component = var.component
|
||||||
instance = var.instance
|
instance = var.instance
|
||||||
app_group = var.app-group
|
app_group = var.app_group
|
||||||
dns_name = local.dns_name
|
dns_name = local.dns_name
|
||||||
icon = local.icon
|
icon = local.icon
|
||||||
providers = {
|
providers = {
|
||||||
|
|||||||
@@ -2,15 +2,15 @@ locals {
|
|||||||
annotations = {
|
annotations = {
|
||||||
"vynil.solidite.fr/meta" = var.component
|
"vynil.solidite.fr/meta" = var.component
|
||||||
"vynil.solidite.fr/name" = "${var.namespace}-auth"
|
"vynil.solidite.fr/name" = "${var.namespace}-auth"
|
||||||
"vynil.solidite.fr/domain" = var.domain-name
|
"vynil.solidite.fr/domain" = var.domain_name
|
||||||
"vynil.solidite.fr/issuer" = var.issuer
|
"vynil.solidite.fr/issuer" = var.issuer
|
||||||
"vynil.solidite.fr/ingress" = var.ingress-class
|
"vynil.solidite.fr/ingress" = var.ingress_class
|
||||||
}
|
}
|
||||||
global = {
|
global = {
|
||||||
"domain" = var.namespace
|
"domain" = var.namespace
|
||||||
"domain-name" = var.domain-name
|
"domain_name" = var.domain_name
|
||||||
"issuer" = var.issuer
|
"issuer" = var.issuer
|
||||||
"ingress-class" = var.ingress-class
|
"ingress_class" = var.ingress_class
|
||||||
"backups" = var.backups
|
"backups" = var.backups
|
||||||
}
|
}
|
||||||
default-mode = var.storage-classes.FilesystemReadWriteMany!=""?"ReadWriteMany":"ReadWriteOnce"
|
default-mode = var.storage-classes.FilesystemReadWriteMany!=""?"ReadWriteMany":"ReadWriteOnce"
|
||||||
|
|||||||
@@ -6,23 +6,11 @@ metadata:
|
|||||||
name: domain-apps
|
name: domain-apps
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
domain-name:
|
domain:
|
||||||
default: your_company.com
|
default: your-company
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- your-company
|
||||||
type: string
|
type: string
|
||||||
nextcloud:
|
|
||||||
default:
|
|
||||||
enable: false
|
|
||||||
examples:
|
|
||||||
- enable: false
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
x-vynil-category: apps
|
|
||||||
x-vynil-package: nextcloud
|
|
||||||
distributions:
|
distributions:
|
||||||
default:
|
default:
|
||||||
core: core
|
core: core
|
||||||
@@ -38,6 +26,58 @@ options:
|
|||||||
default: domain
|
default: domain
|
||||||
type: string
|
type: string
|
||||||
type: object
|
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
|
||||||
|
nextcloud:
|
||||||
|
default:
|
||||||
|
enable: false
|
||||||
|
examples:
|
||||||
|
- enable: false
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
x-vynil-category: apps
|
||||||
|
x-vynil-package: nextcloud
|
||||||
|
domain_name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
type: string
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
ingress_class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
backups:
|
backups:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
@@ -68,46 +108,6 @@ options:
|
|||||||
default: backup-settings
|
default: backup-settings
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
ingress-class:
|
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
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
|
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: true
|
kubernetes: true
|
||||||
|
|||||||
@@ -2,15 +2,15 @@ locals {
|
|||||||
annotations = {
|
annotations = {
|
||||||
"vynil.solidite.fr/meta" = var.component
|
"vynil.solidite.fr/meta" = var.component
|
||||||
"vynil.solidite.fr/name" = "${var.namespace}-auth"
|
"vynil.solidite.fr/name" = "${var.namespace}-auth"
|
||||||
"vynil.solidite.fr/domain" = var.domain-name
|
"vynil.solidite.fr/domain" = var.domain_name
|
||||||
"vynil.solidite.fr/issuer" = var.issuer
|
"vynil.solidite.fr/issuer" = var.issuer
|
||||||
"vynil.solidite.fr/ingress" = var.ingress-class
|
"vynil.solidite.fr/ingress" = var.ingress_class
|
||||||
}
|
}
|
||||||
global = {
|
global = {
|
||||||
"domain" = var.namespace
|
"domain" = var.namespace
|
||||||
"domain-name" = var.domain-name
|
"domain_name" = var.domain_name
|
||||||
"issuer" = var.issuer
|
"issuer" = var.issuer
|
||||||
"ingress-class" = var.ingress-class
|
"ingress_class" = var.ingress_class
|
||||||
"backups" = var.backups
|
"backups" = var.backups
|
||||||
}
|
}
|
||||||
authentik = { for k, v in var.authentik : k => v if k!="enable" }
|
authentik = { for k, v in var.authentik : k => v if k!="enable" }
|
||||||
|
|||||||
@@ -6,6 +6,91 @@ metadata:
|
|||||||
name: domain-auth
|
name: domain-auth
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
|
distributions:
|
||||||
|
default:
|
||||||
|
core: core
|
||||||
|
domain: domain
|
||||||
|
examples:
|
||||||
|
- core: core
|
||||||
|
domain: domain
|
||||||
|
properties:
|
||||||
|
core:
|
||||||
|
default: core
|
||||||
|
type: string
|
||||||
|
domain:
|
||||||
|
default: domain
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
domain_name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
type: string
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
|
ingress_class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
|
authentik:
|
||||||
|
default:
|
||||||
|
enable: true
|
||||||
|
examples:
|
||||||
|
- enable: true
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: true
|
||||||
|
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
|
||||||
|
authentik-ldap:
|
||||||
|
default:
|
||||||
|
enable: false
|
||||||
|
examples:
|
||||||
|
- enable: false
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
fournisseurs:
|
fournisseurs:
|
||||||
default:
|
default:
|
||||||
apps: []
|
apps: []
|
||||||
@@ -66,35 +151,15 @@ options:
|
|||||||
default: ''
|
default: ''
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
ingress-class:
|
employes:
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
|
||||||
authentik:
|
|
||||||
default:
|
|
||||||
enable: true
|
|
||||||
examples:
|
|
||||||
- enable: true
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
clients:
|
|
||||||
default:
|
default:
|
||||||
apps: []
|
apps: []
|
||||||
divisions: []
|
divisions: []
|
||||||
enable: false
|
enable: true
|
||||||
examples:
|
examples:
|
||||||
- apps: []
|
- apps: []
|
||||||
divisions: []
|
divisions: []
|
||||||
enable: false
|
enable: true
|
||||||
properties:
|
properties:
|
||||||
apps:
|
apps:
|
||||||
default: []
|
default: []
|
||||||
@@ -118,28 +183,18 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
enable:
|
enable:
|
||||||
default: false
|
default: true
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
domain-name:
|
authentik-forward:
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
distributions:
|
|
||||||
default:
|
default:
|
||||||
core: core
|
enable: false
|
||||||
domain: domain
|
|
||||||
examples:
|
examples:
|
||||||
- core: core
|
- enable: false
|
||||||
domain: domain
|
|
||||||
properties:
|
properties:
|
||||||
core:
|
enable:
|
||||||
default: core
|
default: false
|
||||||
type: string
|
type: boolean
|
||||||
domain:
|
|
||||||
default: domain
|
|
||||||
type: string
|
|
||||||
type: object
|
type: object
|
||||||
issuer:
|
issuer:
|
||||||
default: letsencrypt-prod
|
default: letsencrypt-prod
|
||||||
@@ -176,61 +231,6 @@ options:
|
|||||||
default: backup-settings
|
default: backup-settings
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
authentik-forward:
|
|
||||||
default:
|
|
||||||
enable: false
|
|
||||||
examples:
|
|
||||||
- enable: false
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
authentik-ldap:
|
|
||||||
default:
|
|
||||||
enable: false
|
|
||||||
examples:
|
|
||||||
- enable: false
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
employes:
|
|
||||||
default:
|
|
||||||
apps: []
|
|
||||||
divisions: []
|
|
||||||
enable: true
|
|
||||||
examples:
|
|
||||||
- apps: []
|
|
||||||
divisions: []
|
|
||||||
enable: true
|
|
||||||
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: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: true
|
kubernetes: true
|
||||||
|
|||||||
@@ -2,15 +2,15 @@ locals {
|
|||||||
annotations = {
|
annotations = {
|
||||||
"vynil.solidite.fr/meta" = var.component
|
"vynil.solidite.fr/meta" = var.component
|
||||||
"vynil.solidite.fr/name" = var.namespace
|
"vynil.solidite.fr/name" = var.namespace
|
||||||
"vynil.solidite.fr/domain" = var.domain-name
|
"vynil.solidite.fr/domain" = var.domain_name
|
||||||
"vynil.solidite.fr/issuer" = var.issuer
|
"vynil.solidite.fr/issuer" = var.issuer
|
||||||
"vynil.solidite.fr/ingress" = var.ingress-class
|
"vynil.solidite.fr/ingress" = var.ingress_class
|
||||||
}
|
}
|
||||||
global = {
|
global = {
|
||||||
"domain" = var.namespace
|
"domain" = var.namespace
|
||||||
"domain-name" = var.domain-name
|
"domain_name" = var.domain_name
|
||||||
"issuer" = var.issuer
|
"issuer" = var.issuer
|
||||||
"ingress-class" = var.ingress-class
|
"ingress_class" = var.ingress_class
|
||||||
"backups" = var.backups
|
"backups" = var.backups
|
||||||
}
|
}
|
||||||
default-mode = var.storage-classes.FilesystemReadWriteMany!=""?"ReadWriteMany":"ReadWriteOnce"
|
default-mode = var.storage-classes.FilesystemReadWriteMany!=""?"ReadWriteMany":"ReadWriteOnce"
|
||||||
|
|||||||
@@ -11,12 +11,18 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- your-company
|
- your-company
|
||||||
type: string
|
type: string
|
||||||
issuer:
|
gitea:
|
||||||
default: letsencrypt-prod
|
default:
|
||||||
|
enable: true
|
||||||
examples:
|
examples:
|
||||||
- letsencrypt-prod
|
- enable: true
|
||||||
type: string
|
properties:
|
||||||
x-vynil-enum-source: issuer
|
enable:
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
x-vynil-category: apps
|
||||||
|
x-vynil-package: gitea
|
||||||
distributions:
|
distributions:
|
||||||
default:
|
default:
|
||||||
core: core
|
core: core
|
||||||
@@ -32,6 +38,59 @@ options:
|
|||||||
default: domain
|
default: domain
|
||||||
type: string
|
type: string
|
||||||
type: object
|
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
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
x-vynil-enum-source: issuer
|
||||||
|
woodpecker:
|
||||||
|
default:
|
||||||
|
enable: false
|
||||||
|
examples:
|
||||||
|
- enable: false
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
x-vynil-category: apps
|
||||||
|
x-vynil-package: woodpecker
|
||||||
|
domain_name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
type: string
|
||||||
|
ingress_class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
backups:
|
backups:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
@@ -62,65 +121,6 @@ options:
|
|||||||
default: backup-settings
|
default: backup-settings
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
gitea:
|
|
||||||
default:
|
|
||||||
enable: true
|
|
||||||
examples:
|
|
||||||
- enable: true
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
x-vynil-category: apps
|
|
||||||
x-vynil-package: gitea
|
|
||||||
woodpecker:
|
|
||||||
default:
|
|
||||||
enable: false
|
|
||||||
examples:
|
|
||||||
- enable: false
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
x-vynil-category: apps
|
|
||||||
x-vynil-package: woodpecker
|
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
ingress-class:
|
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
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
|
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: true
|
kubernetes: true
|
||||||
|
|||||||
@@ -2,21 +2,21 @@ locals {
|
|||||||
annotations = {
|
annotations = {
|
||||||
"vynil.solidite.fr/meta" = var.component
|
"vynil.solidite.fr/meta" = var.component
|
||||||
"vynil.solidite.fr/name" = "${var.domain}-devspaces"
|
"vynil.solidite.fr/name" = "${var.domain}-devspaces"
|
||||||
"vynil.solidite.fr/domain" = var.domain-name
|
"vynil.solidite.fr/domain" = var.domain_name
|
||||||
"vynil.solidite.fr/issuer" = var.issuer
|
"vynil.solidite.fr/issuer" = var.issuer
|
||||||
"vynil.solidite.fr/ingress" = var.ingress-class
|
"vynil.solidite.fr/ingress" = var.ingress_class
|
||||||
}
|
}
|
||||||
global = {
|
global = {
|
||||||
"domain" = var.domain
|
"domain" = var.domain
|
||||||
"domain-name" = var.domain-name
|
"domain_name" = var.domain_name
|
||||||
"issuer" = var.issuer
|
"issuer" = var.issuer
|
||||||
"ingress-class" = var.ingress-class
|
"ingress_class" = var.ingress_class
|
||||||
"backups" = var.backups
|
"backups" = var.backups
|
||||||
"app-group" = var.app-group
|
"app_group" = var.app_group
|
||||||
}
|
}
|
||||||
global-apps = merge(local.global, {
|
global-apps = merge(local.global, {
|
||||||
"domain-name" = "devtools.${var.domain-name}"
|
"domain_name" = "devtools.${var.domain_name}"
|
||||||
"app-group" = "dev"
|
"app_group" = "dev"
|
||||||
})
|
})
|
||||||
okd = merge({
|
okd = merge({
|
||||||
"namespaces" = concat([
|
"namespaces" = concat([
|
||||||
|
|||||||
@@ -11,6 +11,70 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- your-company
|
- your-company
|
||||||
type: string
|
type: string
|
||||||
|
external-pgs:
|
||||||
|
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
|
||||||
|
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
|
||||||
|
domain_name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
type: string
|
||||||
issuer:
|
issuer:
|
||||||
default: letsencrypt-prod
|
default: letsencrypt-prod
|
||||||
examples:
|
examples:
|
||||||
@@ -57,249 +121,6 @@ options:
|
|||||||
type: array
|
type: array
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
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
|
|
||||||
ingress-class:
|
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
|
||||||
stations-sub-domain:
|
|
||||||
default: code
|
|
||||||
examples:
|
|
||||||
- code
|
|
||||||
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
|
|
||||||
distributions:
|
|
||||||
default:
|
|
||||||
core: core
|
|
||||||
domain: domain
|
|
||||||
examples:
|
|
||||||
- core: core
|
|
||||||
domain: domain
|
|
||||||
properties:
|
|
||||||
core:
|
|
||||||
default: core
|
|
||||||
type: string
|
|
||||||
domain:
|
|
||||||
default: domain
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
app-group:
|
|
||||||
default: dev
|
|
||||||
examples:
|
|
||||||
- dev
|
|
||||||
type: string
|
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
external-pgs:
|
|
||||||
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
|
|
||||||
external-redis:
|
|
||||||
default: []
|
|
||||||
examples:
|
|
||||||
- []
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
namespace:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
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
|
|
||||||
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
|
|
||||||
images:
|
|
||||||
default:
|
|
||||||
codeserver:
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
registry: docker.io
|
|
||||||
repository: sebt3/code-server
|
|
||||||
tag: 4.18
|
|
||||||
examples:
|
|
||||||
- codeserver:
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
registry: docker.io
|
|
||||||
repository: sebt3/code-server
|
|
||||||
tag: 4.18
|
|
||||||
properties:
|
|
||||||
codeserver:
|
|
||||||
default:
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
registry: docker.io
|
|
||||||
repository: sebt3/code-server
|
|
||||||
tag: 4.18
|
|
||||||
properties:
|
|
||||||
pullPolicy:
|
|
||||||
default: IfNotPresent
|
|
||||||
enum:
|
|
||||||
- Always
|
|
||||||
- Never
|
|
||||||
- IfNotPresent
|
|
||||||
type: string
|
|
||||||
registry:
|
|
||||||
default: docker.io
|
|
||||||
type: string
|
|
||||||
repository:
|
|
||||||
default: sebt3/code-server
|
|
||||||
type: string
|
|
||||||
tag:
|
|
||||||
default: 4.18
|
|
||||||
type: number
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
stations:
|
|
||||||
default: []
|
|
||||||
examples:
|
|
||||||
- []
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
organisations:
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
apps:
|
apps:
|
||||||
default:
|
default:
|
||||||
dbgate:
|
dbgate:
|
||||||
@@ -376,6 +197,185 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- false
|
- false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
stations:
|
||||||
|
default: []
|
||||||
|
examples:
|
||||||
|
- []
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
organisations:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
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
|
||||||
|
distributions:
|
||||||
|
default:
|
||||||
|
core: core
|
||||||
|
domain: domain
|
||||||
|
examples:
|
||||||
|
- core: core
|
||||||
|
domain: domain
|
||||||
|
properties:
|
||||||
|
core:
|
||||||
|
default: core
|
||||||
|
type: string
|
||||||
|
domain:
|
||||||
|
default: domain
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
images:
|
||||||
|
default:
|
||||||
|
codeserver:
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
registry: docker.io
|
||||||
|
repository: sebt3/code-server
|
||||||
|
tag: 4.18
|
||||||
|
examples:
|
||||||
|
- codeserver:
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
registry: docker.io
|
||||||
|
repository: sebt3/code-server
|
||||||
|
tag: 4.18
|
||||||
|
properties:
|
||||||
|
codeserver:
|
||||||
|
default:
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
registry: docker.io
|
||||||
|
repository: sebt3/code-server
|
||||||
|
tag: 4.18
|
||||||
|
properties:
|
||||||
|
pullPolicy:
|
||||||
|
default: IfNotPresent
|
||||||
|
enum:
|
||||||
|
- Always
|
||||||
|
- Never
|
||||||
|
- IfNotPresent
|
||||||
|
type: string
|
||||||
|
registry:
|
||||||
|
default: docker.io
|
||||||
|
type: string
|
||||||
|
repository:
|
||||||
|
default: sebt3/code-server
|
||||||
|
type: string
|
||||||
|
tag:
|
||||||
|
default: 4.18
|
||||||
|
type: number
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
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
|
||||||
|
ingress_class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
|
stations-sub-domain:
|
||||||
|
default: code
|
||||||
|
examples:
|
||||||
|
- code
|
||||||
|
type: string
|
||||||
|
app_group:
|
||||||
|
default: dev
|
||||||
|
examples:
|
||||||
|
- dev
|
||||||
|
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:
|
||||||
|
default: []
|
||||||
|
examples:
|
||||||
|
- []
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
namespace:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: true
|
kubernetes: true
|
||||||
|
|||||||
@@ -2,18 +2,18 @@ locals {
|
|||||||
annotations = {
|
annotations = {
|
||||||
"vynil.solidite.fr/meta" = var.component
|
"vynil.solidite.fr/meta" = var.component
|
||||||
"vynil.solidite.fr/name" = var.namespace
|
"vynil.solidite.fr/name" = var.namespace
|
||||||
"vynil.solidite.fr/domain" = var.domain-name
|
"vynil.solidite.fr/domain" = var.domain_name
|
||||||
"vynil.solidite.fr/issuer" = var.issuer
|
"vynil.solidite.fr/issuer" = var.issuer
|
||||||
"vynil.solidite.fr/ingress" = var.ingress-class
|
"vynil.solidite.fr/ingress" = var.ingress_class
|
||||||
}
|
}
|
||||||
annotations_default = {
|
annotations_default = {
|
||||||
"default.vynil.solidite.fr/domain_name" = var.domain-name
|
"default.vynil.solidite.fr/domain_name" = var.domain_name
|
||||||
}
|
}
|
||||||
global = {
|
global = {
|
||||||
"domain" = var.namespace
|
"domain" = var.namespace
|
||||||
"domain-name" = var.domain-name
|
"domain_name" = var.domain_name
|
||||||
"issuer" = var.issuer
|
"issuer" = var.issuer
|
||||||
"ingress-class" = var.ingress-class
|
"ingress_class" = var.ingress_class
|
||||||
"backups" = var.backups
|
"backups" = var.backups
|
||||||
}
|
}
|
||||||
default-mode = var.storage-classes.FilesystemReadWriteMany!=""?"ReadWriteMany":"ReadWriteOnce"
|
default-mode = var.storage-classes.FilesystemReadWriteMany!=""?"ReadWriteMany":"ReadWriteOnce"
|
||||||
|
|||||||
@@ -6,6 +6,26 @@ metadata:
|
|||||||
name: domain-erp
|
name: domain-erp
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
|
domain_name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
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
|
||||||
storage-classes:
|
storage-classes:
|
||||||
default:
|
default:
|
||||||
BlockReadWriteMany: ''
|
BlockReadWriteMany: ''
|
||||||
@@ -31,33 +51,11 @@ options:
|
|||||||
default: ''
|
default: ''
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
dolibarr:
|
ingress_class:
|
||||||
default:
|
|
||||||
enable: true
|
|
||||||
examples:
|
|
||||||
- enable: true
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
x-vynil-category: apps
|
|
||||||
x-vynil-package: dolibarr
|
|
||||||
ingress-class:
|
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
type: string
|
type: string
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
backups:
|
backups:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
@@ -88,26 +86,28 @@ options:
|
|||||||
default: backup-settings
|
default: backup-settings
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
distributions:
|
|
||||||
default:
|
|
||||||
core: core
|
|
||||||
domain: domain
|
|
||||||
examples:
|
|
||||||
- core: core
|
|
||||||
domain: domain
|
|
||||||
properties:
|
|
||||||
core:
|
|
||||||
default: core
|
|
||||||
type: string
|
|
||||||
domain:
|
|
||||||
default: domain
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
issuer:
|
issuer:
|
||||||
default: letsencrypt-prod
|
default: letsencrypt-prod
|
||||||
examples:
|
examples:
|
||||||
- letsencrypt-prod
|
- letsencrypt-prod
|
||||||
type: string
|
type: string
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
|
dolibarr:
|
||||||
|
default:
|
||||||
|
enable: true
|
||||||
|
examples:
|
||||||
|
- enable: true
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
x-vynil-category: apps
|
||||||
|
x-vynil-package: dolibarr
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: true
|
kubernetes: true
|
||||||
|
|||||||
@@ -2,17 +2,17 @@ locals {
|
|||||||
annotations = {
|
annotations = {
|
||||||
"vynil.solidite.fr/meta" = "domain-ci"
|
"vynil.solidite.fr/meta" = "domain-ci"
|
||||||
"vynil.solidite.fr/name" = var.namespace
|
"vynil.solidite.fr/name" = var.namespace
|
||||||
"vynil.solidite.fr/domain" = var.domain-name
|
"vynil.solidite.fr/domain" = var.domain_name
|
||||||
"vynil.solidite.fr/issuer" = var.issuer
|
"vynil.solidite.fr/issuer" = var.issuer
|
||||||
"vynil.solidite.fr/ingress" = var.ingress-class
|
"vynil.solidite.fr/ingress" = var.ingress_class
|
||||||
}
|
}
|
||||||
global = {
|
global = {
|
||||||
"domain" = var.namespace
|
"domain" = var.namespace
|
||||||
"domain-name" = "admin.${var.domain-name}"
|
"domain_name" = "admin.${var.domain_name}"
|
||||||
"issuer" = var.issuer
|
"issuer" = var.issuer
|
||||||
"ingress-class" = var.ingress-class
|
"ingress_class" = var.ingress_class
|
||||||
"backups" = var.backups
|
"backups" = var.backups
|
||||||
"app-group" = var.app-group
|
"app_group" = var.app_group
|
||||||
}
|
}
|
||||||
traefik = { for k, v in var.traefik : k => v if k!="enable" }
|
traefik = { for k, v in var.traefik : k => v if k!="enable" }
|
||||||
dns = { for k, v in var.dns : k => v if k!="enable" }
|
dns = { for k, v in var.dns : k => v if k!="enable" }
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
name: domain-infra
|
name: domain-infra
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
dns:
|
okd:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
examples:
|
examples:
|
||||||
@@ -16,55 +16,25 @@ options:
|
|||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
x-vynil-category: share
|
|
||||||
x-vynil-package: dns
|
|
||||||
api:
|
|
||||||
default:
|
|
||||||
enable: false
|
|
||||||
examples:
|
|
||||||
- enable: false
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
traefik:
|
|
||||||
default:
|
|
||||||
enable: false
|
|
||||||
namespace: traefik
|
|
||||||
examples:
|
|
||||||
- enable: false
|
|
||||||
namespace: traefik
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
namespace:
|
|
||||||
default: traefik
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
x-vynil-category: apps
|
x-vynil-category: apps
|
||||||
x-vynil-package: traefix-ui
|
x-vynil-package: okd
|
||||||
app-group:
|
gramo:
|
||||||
default: infra
|
|
||||||
examples:
|
|
||||||
- infra
|
|
||||||
type: string
|
|
||||||
distributions:
|
|
||||||
default:
|
default:
|
||||||
core: core
|
enable: false
|
||||||
domain: domain
|
|
||||||
examples:
|
examples:
|
||||||
- core: core
|
- enable: false
|
||||||
domain: domain
|
|
||||||
properties:
|
properties:
|
||||||
core:
|
enable:
|
||||||
default: core
|
default: false
|
||||||
type: string
|
type: boolean
|
||||||
domain:
|
|
||||||
default: domain
|
|
||||||
type: string
|
|
||||||
type: object
|
type: object
|
||||||
|
x-vynil-category: apps
|
||||||
|
x-vynil-package: gramo
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
storage-classes:
|
storage-classes:
|
||||||
default:
|
default:
|
||||||
BlockReadWriteMany: ''
|
BlockReadWriteMany: ''
|
||||||
@@ -90,45 +60,23 @@ options:
|
|||||||
default: ''
|
default: ''
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
issuer:
|
traefik:
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
okd:
|
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
|
namespace: traefik
|
||||||
examples:
|
examples:
|
||||||
- enable: false
|
- enable: false
|
||||||
|
namespace: traefik
|
||||||
properties:
|
properties:
|
||||||
enable:
|
enable:
|
||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
namespace:
|
||||||
|
default: traefik
|
||||||
|
type: string
|
||||||
type: object
|
type: object
|
||||||
x-vynil-category: apps
|
x-vynil-category: apps
|
||||||
x-vynil-package: okd
|
x-vynil-package: traefix-ui
|
||||||
gramo:
|
|
||||||
default:
|
|
||||||
enable: false
|
|
||||||
examples:
|
|
||||||
- enable: false
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
x-vynil-category: apps
|
|
||||||
x-vynil-package: gramo
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
backups:
|
backups:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
@@ -159,11 +107,63 @@ options:
|
|||||||
default: backup-settings
|
default: backup-settings
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
ingress-class:
|
api:
|
||||||
|
default:
|
||||||
|
enable: false
|
||||||
|
examples:
|
||||||
|
- enable: false
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
|
app_group:
|
||||||
|
default: infra
|
||||||
|
examples:
|
||||||
|
- infra
|
||||||
|
type: string
|
||||||
|
dns:
|
||||||
|
default:
|
||||||
|
enable: false
|
||||||
|
examples:
|
||||||
|
- enable: false
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
x-vynil-category: share
|
||||||
|
x-vynil-package: dns
|
||||||
|
distributions:
|
||||||
|
default:
|
||||||
|
core: core
|
||||||
|
domain: domain
|
||||||
|
examples:
|
||||||
|
- core: core
|
||||||
|
domain: domain
|
||||||
|
properties:
|
||||||
|
core:
|
||||||
|
default: core
|
||||||
|
type: string
|
||||||
|
domain:
|
||||||
|
default: domain
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
ingress_class:
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
type: string
|
type: string
|
||||||
|
domain_name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
type: string
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: true
|
kubernetes: true
|
||||||
|
|||||||
@@ -2,15 +2,15 @@ locals {
|
|||||||
annotations = {
|
annotations = {
|
||||||
"vynil.solidite.fr/meta" = var.component
|
"vynil.solidite.fr/meta" = var.component
|
||||||
"vynil.solidite.fr/name" = var.namespace
|
"vynil.solidite.fr/name" = var.namespace
|
||||||
"vynil.solidite.fr/domain" = var.domain-name
|
"vynil.solidite.fr/domain" = var.domain_name
|
||||||
"vynil.solidite.fr/issuer" = var.issuer
|
"vynil.solidite.fr/issuer" = var.issuer
|
||||||
"vynil.solidite.fr/ingress" = var.ingress-class
|
"vynil.solidite.fr/ingress" = var.ingress_class
|
||||||
}
|
}
|
||||||
global = {
|
global = {
|
||||||
"domain" = var.namespace
|
"domain" = var.namespace
|
||||||
"domain-name" = var.domain-name
|
"domain_name" = var.domain_name
|
||||||
"issuer" = var.issuer
|
"issuer" = var.issuer
|
||||||
"ingress-class" = var.ingress-class
|
"ingress_class" = var.ingress_class
|
||||||
"backups" = var.backups
|
"backups" = var.backups
|
||||||
}
|
}
|
||||||
wildduck = { for k, v in var.wildduck : k => v if k!="enable" }
|
wildduck = { for k, v in var.wildduck : k => v if k!="enable" }
|
||||||
|
|||||||
@@ -6,41 +6,16 @@ metadata:
|
|||||||
name: domain-mail
|
name: domain-mail
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
storage-classes:
|
domain_name:
|
||||||
default:
|
default: your_company.com
|
||||||
BlockReadWriteMany: ''
|
|
||||||
BlockReadWriteOnce: ''
|
|
||||||
FilesystemReadWriteMany: ''
|
|
||||||
FilesystemReadWriteOnce: ''
|
|
||||||
examples:
|
examples:
|
||||||
- BlockReadWriteMany: ''
|
- your_company.com
|
||||||
BlockReadWriteOnce: ''
|
type: string
|
||||||
FilesystemReadWriteMany: ''
|
issuer:
|
||||||
FilesystemReadWriteOnce: ''
|
default: letsencrypt-prod
|
||||||
properties:
|
|
||||||
BlockReadWriteMany:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
BlockReadWriteOnce:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
FilesystemReadWriteMany:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
FilesystemReadWriteOnce:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
wildduck:
|
|
||||||
default:
|
|
||||||
enable: true
|
|
||||||
examples:
|
examples:
|
||||||
- enable: true
|
- letsencrypt-prod
|
||||||
properties:
|
type: string
|
||||||
enable:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
distributions:
|
distributions:
|
||||||
default:
|
default:
|
||||||
core: core
|
core: core
|
||||||
@@ -56,26 +31,11 @@ options:
|
|||||||
default: domain
|
default: domain
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
ingress-class:
|
ingress_class:
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
type: string
|
type: string
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
backups:
|
backups:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
@@ -106,6 +66,46 @@ options:
|
|||||||
default: backup-settings
|
default: backup-settings
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
wildduck:
|
||||||
|
default:
|
||||||
|
enable: true
|
||||||
|
examples:
|
||||||
|
- enable: true
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: true
|
||||||
|
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
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: true
|
kubernetes: true
|
||||||
|
|||||||
@@ -2,17 +2,17 @@ locals {
|
|||||||
annotations = {
|
annotations = {
|
||||||
"vynil.solidite.fr/meta" = "domain-monitor"
|
"vynil.solidite.fr/meta" = "domain-monitor"
|
||||||
"vynil.solidite.fr/name" = var.namespace
|
"vynil.solidite.fr/name" = var.namespace
|
||||||
"vynil.solidite.fr/domain" = var.domain-name
|
"vynil.solidite.fr/domain" = var.domain_name
|
||||||
"vynil.solidite.fr/issuer" = var.issuer
|
"vynil.solidite.fr/issuer" = var.issuer
|
||||||
"vynil.solidite.fr/ingress" = var.ingress-class
|
"vynil.solidite.fr/ingress" = var.ingress_class
|
||||||
}
|
}
|
||||||
global = {
|
global = {
|
||||||
"domain" = var.namespace
|
"domain" = var.namespace
|
||||||
"domain-name" = "monitor.${var.domain-name}"
|
"domain_name" = "monitor.${var.domain_name}"
|
||||||
"issuer" = var.issuer
|
"issuer" = var.issuer
|
||||||
"ingress-class" = var.ingress-class
|
"ingress_class" = var.ingress_class
|
||||||
"backups" = var.backups
|
"backups" = var.backups
|
||||||
"app-group" = var.app-group
|
"app_group" = var.app_group
|
||||||
}
|
}
|
||||||
grafana = { for k, v in var.grafana : k => v if k!="enable" }
|
grafana = { for k, v in var.grafana : k => v if k!="enable" }
|
||||||
prometheus = { for k, v in var.prometheus : k => v if k!="enable" }
|
prometheus = { for k, v in var.prometheus : k => v if k!="enable" }
|
||||||
|
|||||||
@@ -6,18 +6,6 @@ metadata:
|
|||||||
name: domain-monitor
|
name: domain-monitor
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
dashboards-workload:
|
|
||||||
default:
|
|
||||||
enable: true
|
|
||||||
examples:
|
|
||||||
- enable: true
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
x-vynil-category: monitor
|
|
||||||
x-vynil-package: dashboards-workload
|
|
||||||
loki:
|
loki:
|
||||||
default:
|
default:
|
||||||
enable: true
|
enable: true
|
||||||
@@ -30,7 +18,7 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
x-vynil-category: monitor
|
x-vynil-category: monitor
|
||||||
x-vynil-package: loki
|
x-vynil-package: loki
|
||||||
dashboards-minimal:
|
dashboards-workload:
|
||||||
default:
|
default:
|
||||||
enable: true
|
enable: true
|
||||||
examples:
|
examples:
|
||||||
@@ -41,12 +29,7 @@ options:
|
|||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
x-vynil-category: monitor
|
x-vynil-category: monitor
|
||||||
x-vynil-package: dashboards-minimal
|
x-vynil-package: dashboards-workload
|
||||||
app-group:
|
|
||||||
default: monitor
|
|
||||||
examples:
|
|
||||||
- monitor
|
|
||||||
type: string
|
|
||||||
node-exporter:
|
node-exporter:
|
||||||
default:
|
default:
|
||||||
enable: true
|
enable: true
|
||||||
@@ -59,35 +42,23 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
x-vynil-category: monitor
|
x-vynil-category: monitor
|
||||||
x-vynil-package: node-exporter
|
x-vynil-package: node-exporter
|
||||||
grafana:
|
|
||||||
default:
|
|
||||||
enable: true
|
|
||||||
examples:
|
|
||||||
- enable: true
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
x-vynil-category: monitor
|
|
||||||
x-vynil-package: grafana
|
|
||||||
dashboards-cluster:
|
|
||||||
default:
|
|
||||||
enable: true
|
|
||||||
examples:
|
|
||||||
- enable: true
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
x-vynil-category: monitor
|
|
||||||
x-vynil-package: dashboards-cluster
|
|
||||||
domain:
|
domain:
|
||||||
default: your-company
|
default: your-company
|
||||||
examples:
|
examples:
|
||||||
- your-company
|
- your-company
|
||||||
type: string
|
type: string
|
||||||
|
alertmanager:
|
||||||
|
default:
|
||||||
|
enable: true
|
||||||
|
examples:
|
||||||
|
- enable: true
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
x-vynil-category: monitor
|
||||||
|
x-vynil-package: alertmanager
|
||||||
alerts-containers:
|
alerts-containers:
|
||||||
default:
|
default:
|
||||||
enable: true
|
enable: true
|
||||||
@@ -112,30 +83,6 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
x-vynil-category: monitor
|
x-vynil-category: monitor
|
||||||
x-vynil-package: prometheus
|
x-vynil-package: prometheus
|
||||||
alertmanager:
|
|
||||||
default:
|
|
||||||
enable: true
|
|
||||||
examples:
|
|
||||||
- enable: true
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
x-vynil-category: monitor
|
|
||||||
x-vynil-package: alertmanager
|
|
||||||
promtail:
|
|
||||||
default:
|
|
||||||
enable: true
|
|
||||||
examples:
|
|
||||||
- enable: true
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
x-vynil-category: monitor
|
|
||||||
x-vynil-package: promtail
|
|
||||||
storage-classes:
|
storage-classes:
|
||||||
default:
|
default:
|
||||||
BlockReadWriteMany: ''
|
BlockReadWriteMany: ''
|
||||||
@@ -161,7 +108,17 @@ options:
|
|||||||
default: ''
|
default: ''
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
alerts-core:
|
ingress_class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
|
app_group:
|
||||||
|
default: monitor
|
||||||
|
examples:
|
||||||
|
- monitor
|
||||||
|
type: string
|
||||||
|
promtail:
|
||||||
default:
|
default:
|
||||||
enable: true
|
enable: true
|
||||||
examples:
|
examples:
|
||||||
@@ -172,19 +129,24 @@ options:
|
|||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
x-vynil-category: monitor
|
x-vynil-category: monitor
|
||||||
x-vynil-package: alerts-core
|
x-vynil-package: promtail
|
||||||
monitor-control-plan:
|
domain_name:
|
||||||
default:
|
default: your_company.com
|
||||||
enable: false
|
|
||||||
examples:
|
examples:
|
||||||
- enable: false
|
- your_company.com
|
||||||
|
type: string
|
||||||
|
grafana:
|
||||||
|
default:
|
||||||
|
enable: true
|
||||||
|
examples:
|
||||||
|
- enable: true
|
||||||
properties:
|
properties:
|
||||||
enable:
|
enable:
|
||||||
default: false
|
default: true
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
x-vynil-category: monitor
|
x-vynil-category: monitor
|
||||||
x-vynil-package: monitor-control-plan
|
x-vynil-package: grafana
|
||||||
backups:
|
backups:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
@@ -220,6 +182,42 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- letsencrypt-prod
|
- letsencrypt-prod
|
||||||
type: string
|
type: string
|
||||||
|
kube-state-metrics:
|
||||||
|
default:
|
||||||
|
enable: true
|
||||||
|
examples:
|
||||||
|
- enable: true
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
x-vynil-category: monitor
|
||||||
|
x-vynil-package: kube-state-metrics
|
||||||
|
monitor-control-plan:
|
||||||
|
default:
|
||||||
|
enable: false
|
||||||
|
examples:
|
||||||
|
- enable: false
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
x-vynil-category: monitor
|
||||||
|
x-vynil-package: monitor-control-plan
|
||||||
|
dashboards-minimal:
|
||||||
|
default:
|
||||||
|
enable: true
|
||||||
|
examples:
|
||||||
|
- enable: true
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
x-vynil-category: monitor
|
||||||
|
x-vynil-package: dashboards-minimal
|
||||||
dashboards-namespace:
|
dashboards-namespace:
|
||||||
default:
|
default:
|
||||||
enable: true
|
enable: true
|
||||||
@@ -232,6 +230,18 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
x-vynil-category: monitor
|
x-vynil-category: monitor
|
||||||
x-vynil-package: dashboards-namespace
|
x-vynil-package: dashboards-namespace
|
||||||
|
dashboards-cluster:
|
||||||
|
default:
|
||||||
|
enable: true
|
||||||
|
examples:
|
||||||
|
- enable: true
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: true
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
x-vynil-category: monitor
|
||||||
|
x-vynil-package: dashboards-cluster
|
||||||
distributions:
|
distributions:
|
||||||
default:
|
default:
|
||||||
core: core
|
core: core
|
||||||
@@ -247,12 +257,7 @@ options:
|
|||||||
default: domain
|
default: domain
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
ingress-class:
|
alerts-core:
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
|
||||||
kube-state-metrics:
|
|
||||||
default:
|
default:
|
||||||
enable: true
|
enable: true
|
||||||
examples:
|
examples:
|
||||||
@@ -263,12 +268,7 @@ options:
|
|||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
x-vynil-category: monitor
|
x-vynil-category: monitor
|
||||||
x-vynil-package: kube-state-metrics
|
x-vynil-package: alerts-core
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: true
|
kubernetes: true
|
||||||
|
|||||||
@@ -6,57 +6,6 @@ metadata:
|
|||||||
name: domain
|
name: domain
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
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
|
|
||||||
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
|
|
||||||
storage-classes:
|
storage-classes:
|
||||||
default:
|
default:
|
||||||
BlockReadWriteMany: ''
|
BlockReadWriteMany: ''
|
||||||
@@ -82,50 +31,6 @@ options:
|
|||||||
default: ''
|
default: ''
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
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
|
|
||||||
distributions:
|
|
||||||
default:
|
|
||||||
core: core
|
|
||||||
domain: domain
|
|
||||||
examples:
|
|
||||||
- core: core
|
|
||||||
domain: domain
|
|
||||||
properties:
|
|
||||||
core:
|
|
||||||
default: core
|
|
||||||
type: string
|
|
||||||
domain:
|
|
||||||
default: domain
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
infra:
|
infra:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
@@ -150,12 +55,31 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
x-vynil-category: meta
|
x-vynil-category: meta
|
||||||
x-vynil-package: domain-infra
|
x-vynil-package: domain-infra
|
||||||
ingress-class:
|
apps:
|
||||||
default: traefik
|
default:
|
||||||
|
enable: false
|
||||||
|
nextcloud:
|
||||||
|
enable: true
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- enable: false
|
||||||
type: string
|
nextcloud:
|
||||||
devspaces:
|
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
|
||||||
|
monitor:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
examples:
|
examples:
|
||||||
@@ -166,7 +90,108 @@ options:
|
|||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
x-vynil-category: meta
|
x-vynil-category: meta
|
||||||
x-vynil-package: domain-devspaces
|
x-vynil-package: domain-monitor
|
||||||
|
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
|
||||||
|
ingress_class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
|
domain_name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
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
|
||||||
|
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
|
||||||
|
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
|
||||||
ci:
|
ci:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
@@ -215,7 +240,7 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
x-vynil-category: meta
|
x-vynil-category: meta
|
||||||
x-vynil-package: domain-erp
|
x-vynil-package: domain-erp
|
||||||
monitor:
|
devspaces:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
examples:
|
examples:
|
||||||
@@ -226,37 +251,12 @@ options:
|
|||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
x-vynil-category: meta
|
x-vynil-category: meta
|
||||||
x-vynil-package: domain-monitor
|
x-vynil-package: domain-devspaces
|
||||||
backups:
|
issuer:
|
||||||
default:
|
default: letsencrypt-prod
|
||||||
enable: false
|
|
||||||
endpoint: ''
|
|
||||||
key-id-key: s3-id
|
|
||||||
secret-key: s3-secret
|
|
||||||
secret-name: backup-settings
|
|
||||||
examples:
|
examples:
|
||||||
- enable: false
|
- letsencrypt-prod
|
||||||
endpoint: ''
|
type: string
|
||||||
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
|
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: null
|
kubernetes: null
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
locals {
|
locals {
|
||||||
global = {
|
global = {
|
||||||
"domain" = var.namespace
|
"domain" = var.namespace
|
||||||
"domain-name" = var.domain-name
|
"domain_name" = var.domain_name
|
||||||
"issuer" = var.issuer
|
"issuer" = var.issuer
|
||||||
"ingress-class" = var.ingress-class
|
"ingress_class" = var.ingress_class
|
||||||
"distributions" = var.distributions
|
"distributions" = var.distributions
|
||||||
"backups" = var.backups
|
"backups" = var.backups
|
||||||
"storage-classes"= var.storage-classes
|
"storage-classes"= var.storage-classes
|
||||||
@@ -11,9 +11,9 @@ locals {
|
|||||||
annotations = {
|
annotations = {
|
||||||
"vynil.solidite.fr/meta" = var.component
|
"vynil.solidite.fr/meta" = var.component
|
||||||
"vynil.solidite.fr/name" = var.namespace
|
"vynil.solidite.fr/name" = var.namespace
|
||||||
"vynil.solidite.fr/domain" = var.domain-name
|
"vynil.solidite.fr/domain" = var.domain_name
|
||||||
"vynil.solidite.fr/issuer" = var.issuer
|
"vynil.solidite.fr/issuer" = var.issuer
|
||||||
"vynil.solidite.fr/ingress" = var.ingress-class
|
"vynil.solidite.fr/ingress" = var.ingress_class
|
||||||
}
|
}
|
||||||
auth = { for k, v in var.auth : k => v if k!="enable" }
|
auth = { for k, v in var.auth : k => v if k!="enable" }
|
||||||
infra = { for k, v in var.infra : k => v if k!="enable" }
|
infra = { for k, v in var.infra : k => v if k!="enable" }
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ resource "authentik_group" "subgroup" {
|
|||||||
resource "authentik_application" "prj_app" {
|
resource "authentik_application" "prj_app" {
|
||||||
name = "${var.instance}"
|
name = "${var.instance}"
|
||||||
slug = "${var.component}-${var.instance}"
|
slug = "${var.component}-${var.instance}"
|
||||||
group = var.app-group
|
group = var.app_group
|
||||||
protocol_provider = var.protocol_provider
|
protocol_provider = var.protocol_provider
|
||||||
backchannel_providers = var.backchannel_providers
|
backchannel_providers = var.backchannel_providers
|
||||||
meta_launch_url = format("https://%s", var.dns_name)
|
meta_launch_url = format("https://%s", var.dns_name)
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ variable "instance" {
|
|||||||
variable "icon" {
|
variable "icon" {
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
variable "app-group" {
|
variable "app_group" {
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
variable "protocol_provider" {
|
variable "protocol_provider" {
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ resource "kubectl_manifest" "prj_ingress_icon" {
|
|||||||
namespace: "${var.namespace}"
|
namespace: "${var.namespace}"
|
||||||
labels: ${jsonencode(var.labels)}
|
labels: ${jsonencode(var.labels)}
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: "${var.ingress-class}"
|
ingressClassName: "${var.ingress_class}"
|
||||||
rules: ${jsonencode(local.rules-icons)}
|
rules: ${jsonencode(local.rules-icons)}
|
||||||
tls:
|
tls:
|
||||||
- hosts: ${jsonencode(var.dns_names)}
|
- hosts: ${jsonencode(var.dns_names)}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ variable "domain" {
|
|||||||
variable "namespace" {
|
variable "namespace" {
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
variable "ingress-class" {
|
variable "ingress_class" {
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
variable "labels" {
|
variable "labels" {
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ resource "kubectl_manifest" "prj_ingress" {
|
|||||||
annotations:
|
annotations:
|
||||||
"traefik.ingress.kubernetes.io/router.middlewares": "${join(",", [for m in concat(["${var.instance}-https"],var.middlewares) : format("%s-%s@kubernetescrd", var.namespace, m)])}"
|
"traefik.ingress.kubernetes.io/router.middlewares": "${join(",", [for m in concat(["${var.instance}-https"],var.middlewares) : format("%s-%s@kubernetescrd", var.namespace, m)])}"
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: "${var.ingress-class}"
|
ingressClassName: "${var.ingress_class}"
|
||||||
rules: ${jsonencode(local.rules)}
|
rules: ${jsonencode(local.rules)}
|
||||||
tls:
|
tls:
|
||||||
- hosts: ${jsonencode(var.dns_names)}
|
- hosts: ${jsonencode(var.dns_names)}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ variable "namespace" {
|
|||||||
variable "issuer" {
|
variable "issuer" {
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
variable "ingress-class" {
|
variable "ingress_class" {
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,12 +6,12 @@ metadata:
|
|||||||
name: alertmanager
|
name: alertmanager
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
ingress-class:
|
ingress_class:
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
type: string
|
type: string
|
||||||
app-group:
|
app_group:
|
||||||
default: monitor
|
default: monitor
|
||||||
examples:
|
examples:
|
||||||
- monitor
|
- monitor
|
||||||
@@ -85,7 +85,7 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- letsencrypt-prod
|
- letsencrypt-prod
|
||||||
type: string
|
type: string
|
||||||
domain-name:
|
domain_name:
|
||||||
default: your_company.com
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- your_company.com
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
locals {
|
locals {
|
||||||
dns_name = "${var.sub-domain}.${var.domain-name}"
|
dns_name = "${var.sub-domain}.${var.domain_name}"
|
||||||
dns_names = [local.dns_name]
|
dns_names = [local.dns_name]
|
||||||
app_name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)
|
app_name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)
|
||||||
icon = "favicon.ico"
|
icon = "favicon.ico"
|
||||||
@@ -21,7 +21,7 @@ module "ingress" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
issuer = var.issuer
|
issuer = var.issuer
|
||||||
ingress-class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
middlewares = ["forward-${local.app_name}"]
|
middlewares = ["forward-${local.app_name}"]
|
||||||
@@ -35,7 +35,7 @@ module "application" {
|
|||||||
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
||||||
component = var.component
|
component = var.component
|
||||||
instance = var.instance
|
instance = var.instance
|
||||||
app_group = var.app-group
|
app_group = var.app_group
|
||||||
dns_name = local.dns_name
|
dns_name = local.dns_name
|
||||||
icon = local.icon
|
icon = local.icon
|
||||||
protocol_provider = module.forward.provider-id
|
protocol_provider = module.forward.provider-id
|
||||||
@@ -60,7 +60,7 @@ module "forward" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
domain = var.domain
|
domain = var.domain
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
ingress_class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
service = local.service
|
service = local.service
|
||||||
|
|||||||
@@ -108,12 +108,12 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
ingress-class:
|
ingress_class:
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
type: string
|
type: string
|
||||||
app-group:
|
app_group:
|
||||||
default: monitor
|
default: monitor
|
||||||
examples:
|
examples:
|
||||||
- monitor
|
- monitor
|
||||||
@@ -128,7 +128,7 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- grafana
|
- grafana
|
||||||
type: string
|
type: string
|
||||||
domain-name:
|
domain_name:
|
||||||
default: your_company.com
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- your_company.com
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
locals {
|
locals {
|
||||||
dns_name = "${var.sub-domain}.${var.domain-name}"
|
dns_name = "${var.sub-domain}.${var.domain_name}"
|
||||||
dns_names = [local.dns_name]
|
dns_names = [local.dns_name]
|
||||||
app_name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)
|
app_name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)
|
||||||
icon = "public/img/grafana_icon.svg"
|
icon = "public/img/grafana_icon.svg"
|
||||||
@@ -21,7 +21,7 @@ module "ingress" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
issuer = var.issuer
|
issuer = var.issuer
|
||||||
ingress_class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
middlewares = []
|
middlewares = []
|
||||||
@@ -35,7 +35,7 @@ module "ingress" {
|
|||||||
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
||||||
component = var.component
|
component = var.component
|
||||||
instance = var.instance
|
instance = var.instance
|
||||||
app_group = var.app-group
|
app_group = var.app_group
|
||||||
dns_name = local.dns_name
|
dns_name = local.dns_name
|
||||||
icon = local.icon
|
icon = local.icon
|
||||||
sub_groups = ["admin"]
|
sub_groups = ["admin"]
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
name: loki-dashboard
|
name: loki-dashboard
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
ingress-class:
|
ingress_class:
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
@@ -65,7 +65,7 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- to-be-set
|
- to-be-set
|
||||||
type: string
|
type: string
|
||||||
domain-name:
|
domain_name:
|
||||||
default: your_company.com
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- your_company.com
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- false
|
- false
|
||||||
type: boolean
|
type: boolean
|
||||||
domain-name:
|
domain_name:
|
||||||
default: your_company.com
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- your_company.com
|
||||||
@@ -90,7 +90,7 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- prometheus
|
- prometheus
|
||||||
type: string
|
type: string
|
||||||
app-group:
|
app_group:
|
||||||
default: monitor
|
default: monitor
|
||||||
examples:
|
examples:
|
||||||
- monitor
|
- monitor
|
||||||
@@ -105,7 +105,7 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- letsencrypt-prod
|
- letsencrypt-prod
|
||||||
type: string
|
type: string
|
||||||
ingress-class:
|
ingress_class:
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
locals {
|
locals {
|
||||||
dns_name = "${var.sub-domain}.${var.domain-name}"
|
dns_name = "${var.sub-domain}.${var.domain_name}"
|
||||||
dns_names = [local.dns_name]
|
dns_names = [local.dns_name]
|
||||||
app_name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)
|
app_name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)
|
||||||
icon = "favicon.ico"
|
icon = "favicon.ico"
|
||||||
@@ -21,7 +21,7 @@ module "ingress" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
issuer = var.issuer
|
issuer = var.issuer
|
||||||
ingress_class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
middlewares = ["forward-${local.app_name}"]
|
middlewares = ["forward-${local.app_name}"]
|
||||||
@@ -35,7 +35,7 @@ module "application" {
|
|||||||
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
source = "git::https://git.solidite.fr/vynil/kydah-modules.git//application"
|
||||||
component = var.component
|
component = var.component
|
||||||
instance = var.instance
|
instance = var.instance
|
||||||
app_group = var.app-group
|
app_group = var.app_group
|
||||||
dns_name = local.dns_name
|
dns_name = local.dns_name
|
||||||
icon = local.icon
|
icon = local.icon
|
||||||
protocol_provider = module.forward.provider-id
|
protocol_provider = module.forward.provider-id
|
||||||
@@ -60,7 +60,7 @@ module "forward" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
domain = var.domain
|
domain = var.domain
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
ingress_class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.common-labels
|
labels = local.common-labels
|
||||||
dns_names = local.dns_names
|
dns_names = local.dns_names
|
||||||
service = local.service
|
service = local.service
|
||||||
|
|||||||
@@ -45,12 +45,12 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
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:
|
ingress_class:
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
|
|||||||
@@ -6,13 +6,6 @@ metadata:
|
|||||||
name: authentik-forward
|
name: authentik-forward
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
sub-domain:
|
|
||||||
default: null
|
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
domain:
|
domain:
|
||||||
default: your-company
|
default: your-company
|
||||||
examples:
|
examples:
|
||||||
@@ -23,7 +16,14 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- letsencrypt-prod
|
- letsencrypt-prod
|
||||||
type: string
|
type: string
|
||||||
ingress-class:
|
domain_name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
type: string
|
||||||
|
sub-domain:
|
||||||
|
default: null
|
||||||
|
ingress_class:
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ data "kustomization_overlay" "data" {
|
|||||||
"AUTHENTIK_POSTGRESQL__PORT=5432",
|
"AUTHENTIK_POSTGRESQL__PORT=5432",
|
||||||
"AUTHENTIK_POSTGRESQL__USER=${var.component}",
|
"AUTHENTIK_POSTGRESQL__USER=${var.component}",
|
||||||
"AUTHENTIK_REDIS__HOST=${var.name}-${var.component}-redis",
|
"AUTHENTIK_REDIS__HOST=${var.name}-${var.component}-redis",
|
||||||
"AUTHENTIK_BOOTSTRAP_EMAIL=${var.admin.email}@${var.domain-name}",
|
"AUTHENTIK_BOOTSTRAP_EMAIL=${var.admin.email}@${var.domain_name}",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
patches {
|
patches {
|
||||||
|
|||||||
@@ -23,10 +23,35 @@ options:
|
|||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
ingress-class:
|
postgres:
|
||||||
default: traefik
|
default:
|
||||||
|
replicas: 1
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- replicas: 1
|
||||||
|
properties:
|
||||||
|
replicas:
|
||||||
|
default: 1
|
||||||
|
type: integer
|
||||||
|
type: object
|
||||||
|
admin:
|
||||||
|
default:
|
||||||
|
email: auth-admin
|
||||||
|
examples:
|
||||||
|
- email: auth-admin
|
||||||
|
properties:
|
||||||
|
email:
|
||||||
|
default: auth-admin
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
|
geoip:
|
||||||
|
default: /geoip/GeoLite2-City.mmdb
|
||||||
|
examples:
|
||||||
|
- /geoip/GeoLite2-City.mmdb
|
||||||
type: string
|
type: string
|
||||||
email:
|
email:
|
||||||
default:
|
default:
|
||||||
@@ -53,11 +78,110 @@ options:
|
|||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
domain-name:
|
loglevel:
|
||||||
|
default: info
|
||||||
|
examples:
|
||||||
|
- info
|
||||||
|
type: string
|
||||||
|
sub-domain:
|
||||||
|
default: auth
|
||||||
|
examples:
|
||||||
|
- auth
|
||||||
|
type: string
|
||||||
|
domain_name:
|
||||||
default: your_company.com
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- your_company.com
|
||||||
type: string
|
type: string
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
error_reporting:
|
||||||
|
default:
|
||||||
|
enabled: false
|
||||||
|
environment: k8s
|
||||||
|
send_pii: false
|
||||||
|
examples:
|
||||||
|
- enabled: false
|
||||||
|
environment: k8s
|
||||||
|
send_pii: false
|
||||||
|
properties:
|
||||||
|
enabled:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
environment:
|
||||||
|
default: k8s
|
||||||
|
type: string
|
||||||
|
send_pii:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
ingress_class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
|
backups:
|
||||||
|
default:
|
||||||
|
enable: false
|
||||||
|
endpoint: ''
|
||||||
|
key-id-key: s3-id
|
||||||
|
retention:
|
||||||
|
db: 30d
|
||||||
|
schedule:
|
||||||
|
db: 0 3 * * *
|
||||||
|
secret-key: s3-secret
|
||||||
|
secret-name: backup-settings
|
||||||
|
use-barman: false
|
||||||
|
examples:
|
||||||
|
- enable: false
|
||||||
|
endpoint: ''
|
||||||
|
key-id-key: s3-id
|
||||||
|
retention:
|
||||||
|
db: 30d
|
||||||
|
schedule:
|
||||||
|
db: 0 3 * * *
|
||||||
|
secret-key: s3-secret
|
||||||
|
secret-name: backup-settings
|
||||||
|
use-barman: false
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
endpoint:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
key-id-key:
|
||||||
|
default: s3-id
|
||||||
|
type: string
|
||||||
|
retention:
|
||||||
|
default:
|
||||||
|
db: 30d
|
||||||
|
properties:
|
||||||
|
db:
|
||||||
|
default: 30d
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
schedule:
|
||||||
|
default:
|
||||||
|
db: 0 3 * * *
|
||||||
|
properties:
|
||||||
|
db:
|
||||||
|
default: 0 3 * * *
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
secret-key:
|
||||||
|
default: s3-secret
|
||||||
|
type: string
|
||||||
|
secret-name:
|
||||||
|
default: backup-settings
|
||||||
|
type: string
|
||||||
|
use-barman:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
storage:
|
storage:
|
||||||
default:
|
default:
|
||||||
postgres:
|
postgres:
|
||||||
@@ -224,130 +348,6 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
backups:
|
|
||||||
default:
|
|
||||||
enable: false
|
|
||||||
endpoint: ''
|
|
||||||
key-id-key: s3-id
|
|
||||||
retention:
|
|
||||||
db: 30d
|
|
||||||
schedule:
|
|
||||||
db: 0 3 * * *
|
|
||||||
secret-key: s3-secret
|
|
||||||
secret-name: backup-settings
|
|
||||||
use-barman: false
|
|
||||||
examples:
|
|
||||||
- enable: false
|
|
||||||
endpoint: ''
|
|
||||||
key-id-key: s3-id
|
|
||||||
retention:
|
|
||||||
db: 30d
|
|
||||||
schedule:
|
|
||||||
db: 0 3 * * *
|
|
||||||
secret-key: s3-secret
|
|
||||||
secret-name: backup-settings
|
|
||||||
use-barman: false
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
endpoint:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
key-id-key:
|
|
||||||
default: s3-id
|
|
||||||
type: string
|
|
||||||
retention:
|
|
||||||
default:
|
|
||||||
db: 30d
|
|
||||||
properties:
|
|
||||||
db:
|
|
||||||
default: 30d
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
schedule:
|
|
||||||
default:
|
|
||||||
db: 0 3 * * *
|
|
||||||
properties:
|
|
||||||
db:
|
|
||||||
default: 0 3 * * *
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
secret-key:
|
|
||||||
default: s3-secret
|
|
||||||
type: string
|
|
||||||
secret-name:
|
|
||||||
default: backup-settings
|
|
||||||
type: string
|
|
||||||
use-barman:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
error_reporting:
|
|
||||||
default:
|
|
||||||
enabled: false
|
|
||||||
environment: k8s
|
|
||||||
send_pii: false
|
|
||||||
examples:
|
|
||||||
- enabled: false
|
|
||||||
environment: k8s
|
|
||||||
send_pii: false
|
|
||||||
properties:
|
|
||||||
enabled:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
environment:
|
|
||||||
default: k8s
|
|
||||||
type: string
|
|
||||||
send_pii:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
loglevel:
|
|
||||||
default: info
|
|
||||||
examples:
|
|
||||||
- info
|
|
||||||
type: string
|
|
||||||
admin:
|
|
||||||
default:
|
|
||||||
email: auth-admin
|
|
||||||
examples:
|
|
||||||
- email: auth-admin
|
|
||||||
properties:
|
|
||||||
email:
|
|
||||||
default: auth-admin
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
postgres:
|
|
||||||
default:
|
|
||||||
replicas: 1
|
|
||||||
examples:
|
|
||||||
- replicas: 1
|
|
||||||
properties:
|
|
||||||
replicas:
|
|
||||||
default: 1
|
|
||||||
type: integer
|
|
||||||
type: object
|
|
||||||
geoip:
|
|
||||||
default: /geoip/GeoLite2-City.mmdb
|
|
||||||
examples:
|
|
||||||
- /geoip/GeoLite2-City.mmdb
|
|
||||||
type: string
|
|
||||||
sub-domain:
|
|
||||||
default: auth
|
|
||||||
examples:
|
|
||||||
- auth
|
|
||||||
type: string
|
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: core
|
category: core
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
locals {
|
locals {
|
||||||
dns_names = ["${var.sub-domain}.${var.domain-name}"]
|
dns_names = ["${var.sub-domain}.${var.domain_name}"]
|
||||||
middlewares = ["${var.instance}-https"]
|
middlewares = ["${var.instance}-https"]
|
||||||
service = {
|
service = {
|
||||||
"name" = "${var.instance}"
|
"name" = "${var.instance}"
|
||||||
@@ -66,7 +66,7 @@ resource "kubectl_manifest" "prj_ingress" {
|
|||||||
annotations:
|
annotations:
|
||||||
"traefik.ingress.kubernetes.io/router.middlewares": "${join(",", [for m in local.middlewares : format("%s-%s@kubernetescrd", var.namespace, m)])}"
|
"traefik.ingress.kubernetes.io/router.middlewares": "${join(",", [for m in local.middlewares : format("%s-%s@kubernetescrd", var.namespace, m)])}"
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: "${var.ingress-class}"
|
ingressClassName: "${var.ingress_class}"
|
||||||
rules: ${jsonencode(local.rules)}
|
rules: ${jsonencode(local.rules)}
|
||||||
tls:
|
tls:
|
||||||
- hosts: ${jsonencode(local.dns_names)}
|
- hosts: ${jsonencode(local.dns_names)}
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ resource "kubectl_manifest" "directus_config" {
|
|||||||
DB_PORT: "5432"
|
DB_PORT: "5432"
|
||||||
STORAGE_LOCATIONS: "local"
|
STORAGE_LOCATIONS: "local"
|
||||||
STORAGE_LOCAL_ROOT: "/var/store"
|
STORAGE_LOCAL_ROOT: "/var/store"
|
||||||
ADMIN_EMAIL: "admin@${var.domain-name}"
|
ADMIN_EMAIL: "admin@${var.domain_name}"
|
||||||
NODE_EXTRA_CA_CERTS: "/etc/local-ca/ca.crt"
|
NODE_EXTRA_CA_CERTS: "/etc/local-ca/ca.crt"
|
||||||
TELEMETRY: "false"
|
TELEMETRY: "false"
|
||||||
AUTH_PROVIDERS: "VYNIL"
|
AUTH_PROVIDERS: "VYNIL"
|
||||||
@@ -216,7 +216,7 @@ module "directus-ingress" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
issuer = var.issuer
|
issuer = var.issuer
|
||||||
ingress-class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.directus-labels
|
labels = local.directus-labels
|
||||||
dns_names = [local.directus-dns_name]
|
dns_names = [local.directus-dns_name]
|
||||||
create-redirect = true
|
create-redirect = true
|
||||||
@@ -232,7 +232,7 @@ module "directus-application" {
|
|||||||
source = "/dist/modules/application"
|
source = "/dist/modules/application"
|
||||||
component = "directus-${replace(var.sub-domain, ".", "-")}"
|
component = "directus-${replace(var.sub-domain, ".", "-")}"
|
||||||
instance = var.instance
|
instance = var.instance
|
||||||
app-group = var.app-group
|
app_group = var.app_group
|
||||||
dns_name = local.directus-dns_name
|
dns_name = local.directus-dns_name
|
||||||
icon = local.directus-icon
|
icon = local.directus-icon
|
||||||
protocol_provider = module.directus-oauth2[0].provider-id
|
protocol_provider = module.directus-oauth2[0].provider-id
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
name: dataset-pg
|
name: dataset-pg
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
app-group:
|
app_group:
|
||||||
default: api
|
default: api
|
||||||
examples:
|
examples:
|
||||||
- api
|
- api
|
||||||
@@ -278,7 +278,7 @@ options:
|
|||||||
default: backup-settings
|
default: backup-settings
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
ingress-class:
|
ingress_class:
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
@@ -340,7 +340,7 @@ options:
|
|||||||
default: 1
|
default: 1
|
||||||
type: integer
|
type: integer
|
||||||
type: object
|
type: object
|
||||||
domain-name:
|
domain_name:
|
||||||
default: your_company.com
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- your_company.com
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
locals {
|
locals {
|
||||||
dns_name = "${var.instance}.${var.sub-domain}.${var.domain-name}"
|
dns_name = "${var.instance}.${var.sub-domain}.${var.domain_name}"
|
||||||
pg-labels = merge(local.common-labels, {
|
pg-labels = merge(local.common-labels, {
|
||||||
"app.kubernetes.io/component" = "postgresql"
|
"app.kubernetes.io/component" = "postgresql"
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ module "postgrest-ingress" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
issuer = var.issuer
|
issuer = var.issuer
|
||||||
ingress-class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.prest-labels
|
labels = local.prest-labels
|
||||||
dns_names = [local.prest-dns_name]
|
dns_names = [local.prest-dns_name]
|
||||||
create-redirect = true
|
create-redirect = true
|
||||||
@@ -184,7 +184,7 @@ module "swagger-ingress" {
|
|||||||
instance = var.instance
|
instance = var.instance
|
||||||
namespace = var.namespace
|
namespace = var.namespace
|
||||||
issuer = var.issuer
|
issuer = var.issuer
|
||||||
ingress-class = var.ingress-class
|
ingress_class = var.ingress_class
|
||||||
labels = local.prest-labels
|
labels = local.prest-labels
|
||||||
dns_names = [local.prest-dns_name]
|
dns_names = [local.prest-dns_name]
|
||||||
middlewares = []
|
middlewares = []
|
||||||
|
|||||||
@@ -23,13 +23,13 @@ locals {
|
|||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
soa-ns = <<-EOF
|
soa-ns = <<-EOF
|
||||||
@ IN SOA ${var.sub-domain}.${var.domain-name}. ${var.domain-name}. (
|
@ IN SOA ${var.sub-domain}.${var.domain_name}. ${var.domain_name}. (
|
||||||
${formatdate("YYYYMMDDhh",timestamp())} ; Serial
|
${formatdate("YYYYMMDDhh",timestamp())} ; Serial
|
||||||
4H ; Refresh
|
4H ; Refresh
|
||||||
1H ; Retry
|
1H ; Retry
|
||||||
7D ; Expire
|
7D ; Expire
|
||||||
4H ) ; Negative Cache TTL
|
4H ) ; Negative Cache TTL
|
||||||
@ IN NS ${var.sub-domain}.${var.domain-name}.
|
@ IN NS ${var.sub-domain}.${var.domain_name}.
|
||||||
EOF
|
EOF
|
||||||
files = merge({
|
files = merge({
|
||||||
"Corefile" = join("\n", concat([local.begin-core],[for z in var.zones: format("file /etc/coredns/%s.db %s", z.name,z.name)],[local.end-core]))
|
"Corefile" = join("\n", concat([local.begin-core],[for z in var.zones: format("file /etc/coredns/%s.db %s", z.name,z.name)],[local.end-core]))
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- dns
|
- dns
|
||||||
type: string
|
type: string
|
||||||
domain-name:
|
domain_name:
|
||||||
default: your_company.com
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- your_company.com
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ resource "gitea_user" "user-ci" {
|
|||||||
username = "${var.instance}-ci"
|
username = "${var.instance}-ci"
|
||||||
login_name = "${var.instance}-ci"
|
login_name = "${var.instance}-ci"
|
||||||
password = random_password.password.result
|
password = random_password.password.result
|
||||||
email = "${var.instance}-ci@${var.domain-name}"
|
email = "${var.instance}-ci@${var.domain_name}"
|
||||||
must_change_password = true
|
must_change_password = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
name: organisation
|
name: organisation
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
app-group:
|
app_group:
|
||||||
default: dev
|
default: dev
|
||||||
examples:
|
examples:
|
||||||
- dev
|
- dev
|
||||||
@@ -16,7 +16,7 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- your-company
|
- your-company
|
||||||
type: string
|
type: string
|
||||||
ingress-class:
|
ingress_class:
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
@@ -87,7 +87,7 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
domain-name:
|
domain_name:
|
||||||
default: your_company.com
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- your_company.com
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
locals {
|
locals {
|
||||||
annotations = {
|
annotations = {
|
||||||
"vynil.solidite.fr/name" = "${var.component}"
|
"vynil.solidite.fr/name" = "${var.component}"
|
||||||
"vynil.solidite.fr/domain" = var.domain-name
|
"vynil.solidite.fr/domain" = var.domain_name
|
||||||
"vynil.solidite.fr/issuer" = var.issuer
|
"vynil.solidite.fr/issuer" = var.issuer
|
||||||
"vynil.solidite.fr/ingress" = var.ingress-class
|
"vynil.solidite.fr/ingress" = var.ingress_class
|
||||||
}
|
}
|
||||||
global = {
|
global = {
|
||||||
"domain" = var.namespace
|
"domain" = var.namespace
|
||||||
"domain-name" = var.domain-name
|
"domain_name" = var.domain_name
|
||||||
"issuer" = var.issuer
|
"issuer" = var.issuer
|
||||||
"ingress-class" = var.ingress-class
|
"ingress_class" = var.ingress_class
|
||||||
"backups" = var.backups
|
"backups" = var.backups
|
||||||
"app-group" = var.app-group
|
"app_group" = var.app_group
|
||||||
}
|
}
|
||||||
sorted-stage-name = reverse(distinct(sort([for s in var.stages: s.name])))
|
sorted-stage-name = reverse(distinct(sort([for s in var.stages: s.name])))
|
||||||
sorted-dataset-name = reverse(distinct(sort([for d in var.datasets: d.name])))
|
sorted-dataset-name = reverse(distinct(sort([for d in var.datasets: d.name])))
|
||||||
|
|||||||
@@ -14,10 +14,10 @@ resource "authentik_application" "prj_app" {
|
|||||||
name = "${var.instance}"
|
name = "${var.instance}"
|
||||||
slug = "${var.component}-${var.instance}"
|
slug = "${var.component}-${var.instance}"
|
||||||
#protocol_provider = authentik_provider_oauth2.oauth2.id
|
#protocol_provider = authentik_provider_oauth2.oauth2.id
|
||||||
group = var.app-group
|
group = var.app_group
|
||||||
backchannel_providers = [authentik_provider_scim.scim.id]
|
backchannel_providers = [authentik_provider_scim.scim.id]
|
||||||
meta_launch_url = format("https://%s.%s", var.sub-domain, var.domain-name)
|
meta_launch_url = format("https://%s.%s", var.sub-domain, var.domain_name)
|
||||||
meta_icon = format("https://%s.%s/%s", var.sub-domain, var.domain-name, "favicon-32x32.png")
|
meta_icon = format("https://%s.%s/%s", var.sub-domain, var.domain_name, "favicon-32x32.png")
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "authentik_policy_expression" "policy" {
|
resource "authentik_policy_expression" "policy" {
|
||||||
|
|||||||
@@ -96,11 +96,11 @@ resource "kubernetes_config_map_v1" "haraka_config" {
|
|||||||
}
|
}
|
||||||
data = yamldecode(<<-EOF
|
data = yamldecode(<<-EOF
|
||||||
me: |-
|
me: |-
|
||||||
${var.sub-domain}.${var.domain-name}
|
${var.sub-domain}.${var.domain_name}
|
||||||
host_list: |-
|
host_list: |-
|
||||||
# add hosts in here we want to accept mail for
|
# add hosts in here we want to accept mail for
|
||||||
${var.sub-domain}.${var.domain-name}
|
${var.sub-domain}.${var.domain_name}
|
||||||
${var.domain-name}
|
${var.domain_name}
|
||||||
${join("\n ",var.additional-domains)}
|
${join("\n ",var.additional-domains)}
|
||||||
rspamd.ini: |-
|
rspamd.ini: |-
|
||||||
host = ${var.instance}-rspamd.${var.namespace}.svc.cluster.local
|
host = ${var.instance}-rspamd.${var.namespace}.svc.cluster.local
|
||||||
@@ -188,7 +188,7 @@ resource "kubernetes_config_map_v1" "haraka_config" {
|
|||||||
dkim_sign.ini: |-
|
dkim_sign.ini: |-
|
||||||
disabled = true
|
disabled = true
|
||||||
selector = mail
|
selector = mail
|
||||||
domain = ${var.domain-name}
|
domain = ${var.domain_name}
|
||||||
headers_to_sign = From, Sender, Reply-To, Subject, Date, Message-ID, To, Cc, MIME-Version
|
headers_to_sign = From, Sender, Reply-To, Subject, Date, Message-ID, To, Cc, MIME-Version
|
||||||
wildduck.yaml: |-
|
wildduck.yaml: |-
|
||||||
redis:
|
redis:
|
||||||
|
|||||||
@@ -28,12 +28,12 @@ options:
|
|||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
domain-name:
|
domain_name:
|
||||||
default: your_company.com
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- your_company.com
|
||||||
type: string
|
type: string
|
||||||
app-group:
|
app_group:
|
||||||
default: ''
|
default: ''
|
||||||
examples:
|
examples:
|
||||||
- ''
|
- ''
|
||||||
@@ -360,7 +360,7 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
ingress-class:
|
ingress_class:
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
locals {
|
locals {
|
||||||
dns_names = ["${var.sub-domain}.${var.domain-name}"]
|
dns_names = ["${var.sub-domain}.${var.domain_name}"]
|
||||||
cert-names = concat(local.dns_names, ["${var.domain-name}"])
|
cert-names = concat(local.dns_names, ["${var.domain_name}"])
|
||||||
middlewares = ["${var.instance}-https"]
|
middlewares = ["${var.instance}-https"]
|
||||||
service = {
|
service = {
|
||||||
"name" = "${var.instance}-webmail"
|
"name" = "${var.instance}-webmail"
|
||||||
@@ -67,7 +67,7 @@ resource "kubectl_manifest" "prj_ingress" {
|
|||||||
annotations:
|
annotations:
|
||||||
"traefik.ingress.kubernetes.io/router.middlewares": "${join(",", [for m in local.middlewares : format("%s-%s@kubernetescrd", var.namespace, m)])}"
|
"traefik.ingress.kubernetes.io/router.middlewares": "${join(",", [for m in local.middlewares : format("%s-%s@kubernetescrd", var.namespace, m)])}"
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: "${var.ingress-class}"
|
ingressClassName: "${var.ingress_class}"
|
||||||
rules: ${jsonencode(local.rules)}
|
rules: ${jsonencode(local.rules)}
|
||||||
tls:
|
tls:
|
||||||
- hosts: ${jsonencode(local.dns_names)}
|
- hosts: ${jsonencode(local.dns_names)}
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ resource "kubectl_manifest" "scimgateway_deploy" {
|
|||||||
- name: "PORT"
|
- name: "PORT"
|
||||||
value: "8880"
|
value: "8880"
|
||||||
- name: "WILDDUCK_DOMAIN"
|
- name: "WILDDUCK_DOMAIN"
|
||||||
value: "${var.domain-name}"
|
value: "${var.domain_name}"
|
||||||
- name: "WILDDUCK_API"
|
- name: "WILDDUCK_API"
|
||||||
value: "http://${var.instance}-wildduck-api.${var.namespace}.svc"
|
value: "http://${var.instance}-wildduck-api.${var.namespace}.svc"
|
||||||
- name: SEED
|
- name: SEED
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ resource "kubernetes_config_map_v1" "webmail_config" {
|
|||||||
|
|
||||||
[service]
|
[service]
|
||||||
# email domain for new users
|
# email domain for new users
|
||||||
domain="${var.domain-name}"
|
domain="${var.domain_name}"
|
||||||
# default quotas for new users
|
# default quotas for new users
|
||||||
quota=1024
|
quota=1024
|
||||||
recipients=2000
|
recipients=2000
|
||||||
@@ -102,7 +102,7 @@ resource "kubernetes_config_map_v1" "webmail_config" {
|
|||||||
allowJoin=false
|
allowJoin=false
|
||||||
enableSpecial=false # if true the allow creating addresses with special usernames
|
enableSpecial=false # if true the allow creating addresses with special usernames
|
||||||
# allowed domains for new addresses
|
# allowed domains for new addresses
|
||||||
domains=["${var.domain-name}"]
|
domains=["${var.domain_name}"]
|
||||||
|
|
||||||
generalNotification="" # static notification to show on top of the page
|
generalNotification="" # static notification to show on top of the page
|
||||||
|
|
||||||
@@ -145,7 +145,7 @@ resource "kubernetes_config_map_v1" "webmail_config" {
|
|||||||
# set to false if not using HTTPS
|
# set to false if not using HTTPS
|
||||||
enabled=true
|
enabled=true
|
||||||
# must be https url or use default
|
# must be https url or use default
|
||||||
appId="https://${var.domain-name}"
|
appId="https://${var.domain_name}"
|
||||||
|
|
||||||
[log]
|
[log]
|
||||||
level="silly"
|
level="silly"
|
||||||
@@ -154,15 +154,15 @@ resource "kubernetes_config_map_v1" "webmail_config" {
|
|||||||
[setup]
|
[setup]
|
||||||
# these values are shown in the configuration help page
|
# these values are shown in the configuration help page
|
||||||
[setup.imap]
|
[setup.imap]
|
||||||
hostname="${var.sub-domain}.${var.domain-name}"
|
hostname="${var.sub-domain}.${var.domain_name}"
|
||||||
secure=true
|
secure=true
|
||||||
port=143
|
port=143
|
||||||
[setup.pop3]
|
[setup.pop3]
|
||||||
hostname="${var.sub-domain}.${var.domain-name}"
|
hostname="${var.sub-domain}.${var.domain_name}"
|
||||||
secure=true
|
secure=true
|
||||||
port=110
|
port=110
|
||||||
[setup.smtp]
|
[setup.smtp]
|
||||||
hostname="${var.sub-domain}.${var.domain-name}"
|
hostname="${var.sub-domain}.${var.domain_name}"
|
||||||
secure=true
|
secure=true
|
||||||
port=25
|
port=25
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ resource "kubernetes_config_map_v1" "wildduck_config" {
|
|||||||
enabled=true
|
enabled=true
|
||||||
[smtp.setup]
|
[smtp.setup]
|
||||||
# Public configuration for SMTP MDA, needed for mobileconfig files
|
# Public configuration for SMTP MDA, needed for mobileconfig files
|
||||||
hostname="${var.sub-domain}.${var.domain-name}"
|
hostname="${var.sub-domain}.${var.domain_name}"
|
||||||
secure=true
|
secure=true
|
||||||
port=465
|
port=465
|
||||||
[webhooks]
|
[webhooks]
|
||||||
@@ -312,7 +312,7 @@ resource "kubernetes_config_map_v1" "wildduck_config" {
|
|||||||
autoExpunge=true
|
autoExpunge=true
|
||||||
[setup]
|
[setup]
|
||||||
# Public configuration for IMAP
|
# Public configuration for IMAP
|
||||||
hostname="${var.sub-domain}.${var.domain-name}"
|
hostname="${var.sub-domain}.${var.domain_name}"
|
||||||
secure=true
|
secure=true
|
||||||
# port defaults to imap.port
|
# port defaults to imap.port
|
||||||
port=9930
|
port=9930
|
||||||
@@ -360,7 +360,7 @@ resource "kubernetes_config_map_v1" "wildduck_config" {
|
|||||||
cert="/var/opt/certs/tls.crt"
|
cert="/var/opt/certs/tls.crt"
|
||||||
[setup]
|
[setup]
|
||||||
# Public configuration for POP3
|
# Public configuration for POP3
|
||||||
hostname="${var.sub-domain}.${var.domain-name}"
|
hostname="${var.sub-domain}.${var.domain_name}"
|
||||||
secure=true
|
secure=true
|
||||||
# port defaults to pop3.port
|
# port defaults to pop3.port
|
||||||
port=995
|
port=995
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ resource "kubernetes_config_map_v1" "zonemta_config" {
|
|||||||
# Server process must be able to locally bind to these addresses
|
# Server process must be able to locally bind to these addresses
|
||||||
[[default]]
|
[[default]]
|
||||||
address="0.0.0.0"
|
address="0.0.0.0"
|
||||||
name="${var.sub-domain}.${var.domain-name}"
|
name="${var.sub-domain}.${var.domain_name}"
|
||||||
#
|
#
|
||||||
#[[default]]
|
#[[default]]
|
||||||
#address="1.2.3.5"
|
#address="1.2.3.5"
|
||||||
@@ -145,7 +145,7 @@ resource "kubernetes_config_map_v1" "zonemta_config" {
|
|||||||
interfaces=["feeder"]
|
interfaces=["feeder"]
|
||||||
# optional hostname to be used in headers
|
# optional hostname to be used in headers
|
||||||
# defaults to os.hostname()
|
# defaults to os.hostname()
|
||||||
hostname="${var.sub-domain}.${var.domain-name}"
|
hostname="${var.sub-domain}.${var.domain_name}"
|
||||||
# How long to keep auth records in log
|
# How long to keep auth records in log
|
||||||
authlogExpireDays=30
|
authlogExpireDays=30
|
||||||
# default smtp recipients for 24h (can be overriden per user)
|
# default smtp recipients for 24h (can be overriden per user)
|
||||||
@@ -161,7 +161,7 @@ resource "kubernetes_config_map_v1" "zonemta_config" {
|
|||||||
# SRS secret value. Must be the same as in the MX side
|
# SRS secret value. Must be the same as in the MX side
|
||||||
secret="${local.secrets.srs}"
|
secret="${local.secrets.srs}"
|
||||||
# SRS domain, must resolve back to MX
|
# SRS domain, must resolve back to MX
|
||||||
rewriteDomain="${var.domain-name}"
|
rewriteDomain="${var.domain_name}"
|
||||||
# DKIM Settings
|
# DKIM Settings
|
||||||
# -------------
|
# -------------
|
||||||
["modules/zonemta-wildduck".dkim]
|
["modules/zonemta-wildduck".dkim]
|
||||||
|
|||||||
Reference in New Issue
Block a user