fix
This commit is contained in:
@@ -2,12 +2,22 @@ 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/issuer" = var.issuer
|
|
||||||
"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
|
||||||
|
"default.vynil.solidite.fr/timezone" = var.timezone
|
||||||
|
"default.vynil.solidite.fr/language" = var.language
|
||||||
|
"default.vynil.solidite.fr/domain" = var.domain
|
||||||
|
"default.vynil.solidite.fr/issuer" = var.issuer
|
||||||
|
"default.vynil.solidite.fr/ingress_class" = var.ingress_class
|
||||||
|
"default.vynil.solidite.fr/app_group" = var.app_group
|
||||||
|
"default.vynil.solidite.fr/backups.enable" = var.backups.enable
|
||||||
|
"default.vynil.solidite.fr/backups.use_barman" = var.backups.use_barman
|
||||||
|
"default.vynil.solidite.fr/backups.endpoint" = var.backups.endpoint
|
||||||
|
"default.vynil.solidite.fr/backups.secret_name" = var.backups.secret_name
|
||||||
|
"default.vynil.solidite.fr/backups.key_id_key" = var.backups.key_id_key
|
||||||
|
"default.vynil.solidite.fr/backups.secret_key" = var.backups.secret_key
|
||||||
|
"default.vynil.solidite.fr/backups.restic_key" = var.backups.restic_key
|
||||||
}
|
}
|
||||||
global = {
|
global = {
|
||||||
"domain" = var.namespace
|
"domain" = var.namespace
|
||||||
|
|||||||
@@ -6,28 +6,71 @@ metadata:
|
|||||||
name: domain-erp
|
name: domain-erp
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
ingress_class:
|
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
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
|
|
||||||
domain:
|
domain:
|
||||||
default: your-company
|
default: your-company
|
||||||
examples:
|
examples:
|
||||||
- your-company
|
- your-company
|
||||||
type: string
|
type: string
|
||||||
|
domain_name:
|
||||||
|
default: your-company.com
|
||||||
|
examples:
|
||||||
|
- your-company.com
|
||||||
|
type: string
|
||||||
|
ingress_class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
|
timezone:
|
||||||
|
default: Europe/Paris
|
||||||
|
examples:
|
||||||
|
- Europe/Paris
|
||||||
|
type: string
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
backups:
|
||||||
|
default:
|
||||||
|
enable: false
|
||||||
|
endpoint: ''
|
||||||
|
key_id_key: s3-id
|
||||||
|
restic_key: bck-password
|
||||||
|
secret_key: s3-secret
|
||||||
|
secret_name: backup-settings
|
||||||
|
use_barman: false
|
||||||
|
examples:
|
||||||
|
- enable: false
|
||||||
|
endpoint: ''
|
||||||
|
key_id_key: s3-id
|
||||||
|
restic_key: bck-password
|
||||||
|
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
|
||||||
|
secret_key:
|
||||||
|
default: s3-secret
|
||||||
|
type: string
|
||||||
|
secret_name:
|
||||||
|
default: backup-settings
|
||||||
|
type: string
|
||||||
|
use_barman:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
storage-classes:
|
storage-classes:
|
||||||
default:
|
default:
|
||||||
BlockReadWriteMany: ''
|
BlockReadWriteMany: ''
|
||||||
@@ -53,61 +96,28 @@ options:
|
|||||||
default: ''
|
default: ''
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
issuer:
|
dolibarr:
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
domain_name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
backups:
|
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: true
|
||||||
endpoint: ''
|
|
||||||
key-id-key: s3-id
|
|
||||||
secret-key: s3-secret
|
|
||||||
secret-name: backup-settings
|
|
||||||
examples:
|
examples:
|
||||||
- enable: false
|
- enable: true
|
||||||
endpoint: ''
|
|
||||||
key-id-key: s3-id
|
|
||||||
secret-key: s3-secret
|
|
||||||
secret-name: backup-settings
|
|
||||||
properties:
|
properties:
|
||||||
enable:
|
enable:
|
||||||
default: false
|
default: true
|
||||||
type: boolean
|
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
|
type: object
|
||||||
distributions:
|
x-vynil-category: apps
|
||||||
default:
|
x-vynil-package: dolibarr
|
||||||
core: core
|
language:
|
||||||
domain: domain
|
default: fr_FR
|
||||||
examples:
|
examples:
|
||||||
- core: core
|
- fr_FR
|
||||||
domain: domain
|
|
||||||
properties:
|
|
||||||
core:
|
|
||||||
default: core
|
|
||||||
type: string
|
type: string
|
||||||
domain:
|
app_group:
|
||||||
default: domain
|
default: infra
|
||||||
|
examples:
|
||||||
|
- infra
|
||||||
type: string
|
type: string
|
||||||
type: object
|
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: true
|
kubernetes: true
|
||||||
|
|||||||
Reference in New Issue
Block a user