540 lines
12 KiB
YAML
540 lines
12 KiB
YAML
---
|
|
apiVersion: vinyl.solidite.fr/v1beta1
|
|
kind: Component
|
|
category: apps
|
|
metadata:
|
|
name: wordpress
|
|
description: null
|
|
options:
|
|
app_group:
|
|
default: apps
|
|
examples:
|
|
- apps
|
|
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: 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:
|
|
- 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
|
|
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
|
|
config:
|
|
default:
|
|
admin_name: wordpress_admin
|
|
is_debug: false
|
|
locale: fr_FR
|
|
examples:
|
|
- admin_name: wordpress_admin
|
|
is_debug: false
|
|
locale: fr_FR
|
|
properties:
|
|
admin_name:
|
|
default: wordpress_admin
|
|
type: string
|
|
is_debug:
|
|
default: false
|
|
type: boolean
|
|
locale:
|
|
default: fr_FR
|
|
type: string
|
|
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:
|
|
kubectl:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: sebt3/basic-toolbox-image
|
|
tag: 1.29.3
|
|
mysql:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: mysql
|
|
tag: 8.4.0-oraclelinux9
|
|
nginx:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: nginx
|
|
tag: alpine
|
|
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
|
|
wordpress:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: wordpress
|
|
tag: 6.5.3-php8.3-fpm
|
|
examples:
|
|
- kubectl:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: sebt3/basic-toolbox-image
|
|
tag: 1.29.3
|
|
mysql:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: mysql
|
|
tag: 8.4.0-oraclelinux9
|
|
nginx:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: nginx
|
|
tag: alpine
|
|
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
|
|
wordpress:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: wordpress
|
|
tag: 6.5.3-php8.3-fpm
|
|
properties:
|
|
kubectl:
|
|
default:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: sebt3/basic-toolbox-image
|
|
tag: 1.29.3
|
|
properties:
|
|
pull_policy:
|
|
default: IfNotPresent
|
|
enum:
|
|
- Always
|
|
- Never
|
|
- IfNotPresent
|
|
type: string
|
|
registry:
|
|
default: docker.io
|
|
type: string
|
|
repository:
|
|
default: sebt3/basic-toolbox-image
|
|
type: string
|
|
tag:
|
|
default: 1.29.3
|
|
type: string
|
|
type: object
|
|
mysql:
|
|
default:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: mysql
|
|
tag: 8.4.0-oraclelinux9
|
|
properties:
|
|
pull_policy:
|
|
default: IfNotPresent
|
|
enum:
|
|
- Always
|
|
- Never
|
|
- IfNotPresent
|
|
type: string
|
|
registry:
|
|
default: docker.io
|
|
type: string
|
|
repository:
|
|
default: mysql
|
|
type: string
|
|
tag:
|
|
default: 8.4.0-oraclelinux9
|
|
type: string
|
|
type: object
|
|
nginx:
|
|
default:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: nginx
|
|
tag: alpine
|
|
properties:
|
|
pull_policy:
|
|
default: IfNotPresent
|
|
enum:
|
|
- Always
|
|
- Never
|
|
- IfNotPresent
|
|
type: string
|
|
registry:
|
|
default: docker.io
|
|
type: string
|
|
repository:
|
|
default: nginx
|
|
type: string
|
|
tag:
|
|
default: alpine
|
|
type: string
|
|
type: object
|
|
redis:
|
|
default:
|
|
pull_policy: IfNotPresent
|
|
registry: quay.io
|
|
repository: opstree/redis
|
|
tag: v7.0.12
|
|
properties:
|
|
pull_policy:
|
|
default: IfNotPresent
|
|
enum:
|
|
- Always
|
|
- Never
|
|
- 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
|
|
enum:
|
|
- Always
|
|
- Never
|
|
- 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
|
|
wordpress:
|
|
default:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: wordpress
|
|
tag: 6.5.3-php8.3-fpm
|
|
properties:
|
|
pull_policy:
|
|
default: IfNotPresent
|
|
enum:
|
|
- Always
|
|
- Never
|
|
- IfNotPresent
|
|
type: string
|
|
registry:
|
|
default: docker.io
|
|
type: string
|
|
repository:
|
|
default: wordpress
|
|
type: string
|
|
tag:
|
|
default: 6.5.3-php8.3-fpm
|
|
type: string
|
|
type: object
|
|
type: object
|
|
ingress_class:
|
|
default: traefik
|
|
examples:
|
|
- traefik
|
|
type: string
|
|
issuer:
|
|
default: letsencrypt-prod
|
|
examples:
|
|
- letsencrypt-prod
|
|
type: string
|
|
ndb:
|
|
default:
|
|
dataNode:
|
|
count: 1
|
|
mysqlNode:
|
|
count: 1
|
|
redundancyLevel: 1
|
|
examples:
|
|
- dataNode:
|
|
count: 1
|
|
mysqlNode:
|
|
count: 1
|
|
redundancyLevel: 1
|
|
properties:
|
|
dataNode:
|
|
default:
|
|
count: 1
|
|
properties:
|
|
count:
|
|
default: 1
|
|
type: integer
|
|
type: object
|
|
mysqlNode:
|
|
default:
|
|
count: 1
|
|
properties:
|
|
count:
|
|
default: 1
|
|
type: integer
|
|
type: object
|
|
redundancyLevel:
|
|
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
|
|
replicas:
|
|
default: 1
|
|
examples:
|
|
- 1
|
|
type: integer
|
|
storage:
|
|
default:
|
|
ndb:
|
|
size: 10Gi
|
|
redis:
|
|
size: 2Gi
|
|
volume:
|
|
accessMode: ReadWriteOnce
|
|
class: ''
|
|
maxSize: 100Gi
|
|
size: 10Gi
|
|
type: Filesystem
|
|
description: Configure this app storage
|
|
examples:
|
|
- ndb:
|
|
size: 10Gi
|
|
redis:
|
|
size: 2Gi
|
|
volume:
|
|
accessMode: ReadWriteOnce
|
|
class: ''
|
|
maxSize: 100Gi
|
|
size: 10Gi
|
|
type: Filesystem
|
|
properties:
|
|
ndb:
|
|
default:
|
|
size: 10Gi
|
|
properties:
|
|
size:
|
|
default: 10Gi
|
|
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: www
|
|
examples:
|
|
- www
|
|
type: string
|
|
dependencies:
|
|
- dist: null
|
|
category: dbo
|
|
component: ndb
|
|
- dist: null
|
|
category: dbo
|
|
component: redis
|
|
providers:
|
|
kubernetes: true
|
|
authentik: true
|
|
kubectl: true
|
|
postgresql: null
|
|
mysql: true
|
|
restapi: true
|
|
http: true
|
|
gitea: null
|
|
tfaddtype: null
|