516 lines
11 KiB
YAML
516 lines
11 KiB
YAML
---
|
|
apiVersion: vinyl.solidite.fr/v1beta1
|
|
kind: Component
|
|
category: apps
|
|
metadata:
|
|
name: dolibarr
|
|
description: Open Source ERP & CRM for business
|
|
options:
|
|
app_group:
|
|
default: ''
|
|
examples:
|
|
- ''
|
|
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: 20 3 * * *
|
|
check: 20 5 * * 1
|
|
db: 0 3 * * *
|
|
prune: 20 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: 20 3 * * *
|
|
check: 20 5 * * 1
|
|
db: 0 3 * * *
|
|
prune: 20 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: 20 3 * * *
|
|
check: 20 5 * * 1
|
|
db: 0 3 * * *
|
|
prune: 20 1 * * 0
|
|
properties:
|
|
backup:
|
|
default: 20 3 * * *
|
|
type: string
|
|
check:
|
|
default: 20 5 * * 1
|
|
type: string
|
|
db:
|
|
default: 0 3 * * *
|
|
type: string
|
|
prune:
|
|
default: 20 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
|
|
domain:
|
|
default: your-company
|
|
examples:
|
|
- your-company
|
|
type: string
|
|
domain_name:
|
|
default: your_company.com
|
|
examples:
|
|
- your_company.com
|
|
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
|
|
images:
|
|
default:
|
|
dolibarr:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: sebt3/dolibarr
|
|
tag: 18.0.5
|
|
nginx:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: nginx
|
|
tag: alpine
|
|
postgresql:
|
|
registry: ghcr.io
|
|
repository: cloudnative-pg/postgresql
|
|
tag: 15.3
|
|
redis:
|
|
pull_policy: IfNotPresent
|
|
registry: quay.io
|
|
repository: opstree/redis
|
|
tag: v7.0.12
|
|
redis_exporter:
|
|
pull_policy: IfNotPresent
|
|
registry: quay.io
|
|
repository: opstree/redis-exporter
|
|
tag: v1.44.0
|
|
examples:
|
|
- dolibarr:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: sebt3/dolibarr
|
|
tag: 18.0.5
|
|
nginx:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: nginx
|
|
tag: alpine
|
|
postgresql:
|
|
registry: ghcr.io
|
|
repository: cloudnative-pg/postgresql
|
|
tag: 15.3
|
|
redis:
|
|
pull_policy: IfNotPresent
|
|
registry: quay.io
|
|
repository: opstree/redis
|
|
tag: v7.0.12
|
|
redis_exporter:
|
|
pull_policy: IfNotPresent
|
|
registry: quay.io
|
|
repository: opstree/redis-exporter
|
|
tag: v1.44.0
|
|
properties:
|
|
dolibarr:
|
|
default:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: sebt3/dolibarr
|
|
tag: 18.0.5
|
|
properties:
|
|
pull_policy:
|
|
default: IfNotPresent
|
|
type: string
|
|
registry:
|
|
default: docker.io
|
|
type: string
|
|
repository:
|
|
default: sebt3/dolibarr
|
|
type: string
|
|
tag:
|
|
default: 18.0.5
|
|
type: string
|
|
type: object
|
|
nginx:
|
|
default:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: nginx
|
|
tag: alpine
|
|
properties:
|
|
pull_policy:
|
|
default: IfNotPresent
|
|
type: string
|
|
registry:
|
|
default: docker.io
|
|
type: string
|
|
repository:
|
|
default: nginx
|
|
type: string
|
|
tag:
|
|
default: alpine
|
|
type: string
|
|
type: object
|
|
postgresql:
|
|
default:
|
|
registry: ghcr.io
|
|
repository: cloudnative-pg/postgresql
|
|
tag: 15.3
|
|
properties:
|
|
registry:
|
|
default: ghcr.io
|
|
type: string
|
|
repository:
|
|
default: cloudnative-pg/postgresql
|
|
type: string
|
|
tag:
|
|
default: 15.3
|
|
type: number
|
|
type: object
|
|
redis:
|
|
default:
|
|
pull_policy: IfNotPresent
|
|
registry: quay.io
|
|
repository: opstree/redis
|
|
tag: v7.0.12
|
|
properties:
|
|
pull_policy:
|
|
default: IfNotPresent
|
|
type: string
|
|
registry:
|
|
default: quay.io
|
|
type: string
|
|
repository:
|
|
default: opstree/redis
|
|
type: string
|
|
tag:
|
|
default: v7.0.12
|
|
type: string
|
|
type: object
|
|
redis_exporter:
|
|
default:
|
|
pull_policy: IfNotPresent
|
|
registry: quay.io
|
|
repository: opstree/redis-exporter
|
|
tag: v1.44.0
|
|
properties:
|
|
pull_policy:
|
|
default: IfNotPresent
|
|
type: string
|
|
registry:
|
|
default: quay.io
|
|
type: string
|
|
repository:
|
|
default: opstree/redis-exporter
|
|
type: string
|
|
tag:
|
|
default: v1.44.0
|
|
type: string
|
|
type: object
|
|
type: object
|
|
ingress_class:
|
|
default: traefik
|
|
examples:
|
|
- traefik
|
|
type: string
|
|
issuer:
|
|
default: letsencrypt-prod
|
|
examples:
|
|
- letsencrypt-prod
|
|
type: string
|
|
log-level:
|
|
default: 5
|
|
examples:
|
|
- 5
|
|
type: integer
|
|
modules:
|
|
default:
|
|
- societe
|
|
examples:
|
|
- - societe
|
|
items:
|
|
type: string
|
|
type: array
|
|
parameters:
|
|
default:
|
|
MAIN_LANG_DEFAULT: auto
|
|
examples:
|
|
- MAIN_LANG_DEFAULT: auto
|
|
properties:
|
|
MAIN_LANG_DEFAULT:
|
|
default: auto
|
|
type: string
|
|
type: object
|
|
postgres:
|
|
default:
|
|
replicas: 1
|
|
examples:
|
|
- replicas: 1
|
|
properties:
|
|
replicas:
|
|
default: 1
|
|
type: integer
|
|
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
|
|
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
|
|
storage:
|
|
default:
|
|
postgres:
|
|
size: 5Gi
|
|
redis:
|
|
size: 2Gi
|
|
volume:
|
|
accessMode: ReadWriteOnce
|
|
class: ''
|
|
maxSize: 100Gi
|
|
size: 10Gi
|
|
type: Filesystem
|
|
description: Configure this app storage
|
|
examples:
|
|
- postgres:
|
|
size: 5Gi
|
|
redis:
|
|
size: 2Gi
|
|
volume:
|
|
accessMode: ReadWriteOnce
|
|
class: ''
|
|
maxSize: 100Gi
|
|
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
|
|
class: ''
|
|
maxSize: 100Gi
|
|
size: 10Gi
|
|
type: Filesystem
|
|
properties:
|
|
accessMode:
|
|
default: ReadWriteOnce
|
|
enum:
|
|
- ReadWriteOnce
|
|
- ReadOnlyMany
|
|
- ReadWriteMany
|
|
type: string
|
|
class:
|
|
default: ''
|
|
type: string
|
|
maxSize:
|
|
default: 100Gi
|
|
type: string
|
|
size:
|
|
default: 10Gi
|
|
type: string
|
|
type:
|
|
default: Filesystem
|
|
enum:
|
|
- Filesystem
|
|
- Block
|
|
type: string
|
|
type: object
|
|
type: object
|
|
sub_domain:
|
|
default: erp
|
|
examples:
|
|
- erp
|
|
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
|
|
dependencies:
|
|
- dist: null
|
|
category: core
|
|
component: secret-generator
|
|
- dist: null
|
|
category: core
|
|
component: cert-manager-self-sign
|
|
- dist: null
|
|
category: dbo
|
|
component: pg
|
|
- dist: null
|
|
category: dbo
|
|
component: redis
|
|
providers:
|
|
kubernetes: true
|
|
authentik: true
|
|
kubectl: true
|
|
postgresql: null
|
|
mysql: null
|
|
restapi: true
|
|
http: true
|
|
gitea: null
|
|
tfaddtype: null
|