420 lines
9.5 KiB
YAML
420 lines
9.5 KiB
YAML
---
|
|
apiVersion: vinyl.solidite.fr/v1beta1
|
|
kind: Component
|
|
category: share
|
|
metadata:
|
|
name: dataset-pg
|
|
description: null
|
|
options:
|
|
app_group:
|
|
default: api
|
|
examples:
|
|
- api
|
|
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
|
|
databases:
|
|
default: []
|
|
items:
|
|
properties:
|
|
name:
|
|
default: db
|
|
type: string
|
|
type: object
|
|
type: array
|
|
domain:
|
|
default: your-company
|
|
examples:
|
|
- your-company
|
|
type: string
|
|
domain_name:
|
|
default: your_company.com
|
|
examples:
|
|
- your_company.com
|
|
type: string
|
|
extentions:
|
|
default:
|
|
directus:
|
|
enable: false
|
|
image:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: directus/directus
|
|
tag: 10.7.0
|
|
storage:
|
|
accessMode: ReadWriteOnce
|
|
size: 1Gi
|
|
type: Filesystem
|
|
pool:
|
|
enable: false
|
|
postgrest:
|
|
enable: false
|
|
image:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: postgrest/postgrest
|
|
tag: v11.2.1
|
|
swagger:
|
|
enable: true
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: swaggerapi/swagger-ui
|
|
tag: v5.9.0
|
|
examples:
|
|
- directus:
|
|
enable: false
|
|
image:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: directus/directus
|
|
tag: 10.7.0
|
|
storage:
|
|
accessMode: ReadWriteOnce
|
|
size: 1Gi
|
|
type: Filesystem
|
|
pool:
|
|
enable: false
|
|
postgrest:
|
|
enable: false
|
|
image:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: postgrest/postgrest
|
|
tag: v11.2.1
|
|
swagger:
|
|
enable: true
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: swaggerapi/swagger-ui
|
|
tag: v5.9.0
|
|
properties:
|
|
directus:
|
|
default:
|
|
enable: false
|
|
image:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: directus/directus
|
|
tag: 10.7.0
|
|
storage:
|
|
accessMode: ReadWriteOnce
|
|
size: 1Gi
|
|
type: Filesystem
|
|
properties:
|
|
enable:
|
|
default: false
|
|
type: boolean
|
|
image:
|
|
default:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: directus/directus
|
|
tag: 10.7.0
|
|
properties:
|
|
pull_policy:
|
|
default: IfNotPresent
|
|
type: string
|
|
registry:
|
|
default: docker.io
|
|
type: string
|
|
repository:
|
|
default: directus/directus
|
|
type: string
|
|
tag:
|
|
default: 10.7.0
|
|
type: string
|
|
type: object
|
|
storage:
|
|
default:
|
|
accessMode: ReadWriteOnce
|
|
size: 1Gi
|
|
type: Filesystem
|
|
properties:
|
|
accessMode:
|
|
default: ReadWriteOnce
|
|
type: string
|
|
size:
|
|
default: 1Gi
|
|
type: string
|
|
type:
|
|
default: Filesystem
|
|
type: string
|
|
type: object
|
|
type: object
|
|
pool:
|
|
default:
|
|
enable: false
|
|
properties:
|
|
enable:
|
|
default: false
|
|
type: boolean
|
|
type: object
|
|
postgrest:
|
|
default:
|
|
enable: false
|
|
image:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: postgrest/postgrest
|
|
tag: v11.2.1
|
|
swagger:
|
|
enable: true
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: swaggerapi/swagger-ui
|
|
tag: v5.9.0
|
|
properties:
|
|
enable:
|
|
default: false
|
|
type: boolean
|
|
image:
|
|
default:
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: postgrest/postgrest
|
|
tag: v11.2.1
|
|
properties:
|
|
pull_policy:
|
|
default: IfNotPresent
|
|
type: string
|
|
registry:
|
|
default: docker.io
|
|
type: string
|
|
repository:
|
|
default: postgrest/postgrest
|
|
type: string
|
|
tag:
|
|
default: v11.2.1
|
|
type: string
|
|
type: object
|
|
swagger:
|
|
default:
|
|
enable: true
|
|
pull_policy: IfNotPresent
|
|
registry: docker.io
|
|
repository: swaggerapi/swagger-ui
|
|
tag: v5.9.0
|
|
properties:
|
|
enable:
|
|
default: true
|
|
type: boolean
|
|
pull_policy:
|
|
default: IfNotPresent
|
|
type: string
|
|
registry:
|
|
default: docker.io
|
|
type: string
|
|
repository:
|
|
default: swaggerapi/swagger-ui
|
|
type: string
|
|
tag:
|
|
default: v5.9.0
|
|
type: string
|
|
type: object
|
|
type: object
|
|
type: object
|
|
images:
|
|
default:
|
|
postgresql:
|
|
registry: ghcr.io
|
|
repository: cloudnative-pg/postgresql
|
|
tag: 15.3
|
|
examples:
|
|
- postgresql:
|
|
registry: ghcr.io
|
|
repository: cloudnative-pg/postgresql
|
|
tag: 15.3
|
|
properties:
|
|
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
|
|
type: object
|
|
ingress_class:
|
|
default: traefik
|
|
examples:
|
|
- traefik
|
|
type: string
|
|
issuer:
|
|
default: letsencrypt-prod
|
|
examples:
|
|
- letsencrypt-prod
|
|
type: string
|
|
postgres:
|
|
default:
|
|
replicas: 1
|
|
examples:
|
|
- replicas: 1
|
|
properties:
|
|
replicas:
|
|
default: 1
|
|
type: integer
|
|
type: object
|
|
roles:
|
|
default: []
|
|
items:
|
|
properties:
|
|
name:
|
|
default: alt-account
|
|
type: string
|
|
type: object
|
|
type: array
|
|
storage:
|
|
default:
|
|
postgres:
|
|
size: 10Gi
|
|
examples:
|
|
- postgres:
|
|
size: 10Gi
|
|
properties:
|
|
postgres:
|
|
default:
|
|
size: 10Gi
|
|
properties:
|
|
size:
|
|
default: 10Gi
|
|
type: string
|
|
type: object
|
|
type: object
|
|
sub_domain:
|
|
default: dataset-pg
|
|
examples:
|
|
- dataset-pg
|
|
type: string
|
|
dependencies:
|
|
- dist: null
|
|
category: dbo
|
|
component: pg
|
|
- dist: null
|
|
category: share
|
|
component: authentik
|
|
- dist: null
|
|
category: core
|
|
component: secret-generator
|
|
providers:
|
|
kubernetes: true
|
|
authentik: true
|
|
kubectl: true
|
|
postgresql: true
|
|
mysql: null
|
|
restapi: null
|
|
http: null
|
|
gitea: null
|
|
tfaddtype: null
|