This commit is contained in:
2024-01-19 16:07:29 +01:00
parent 0411ac602f
commit 71e78e4d95
19 changed files with 1119 additions and 1050 deletions

View File

@@ -6,21 +6,63 @@ metadata:
name: code-server name: code-server
description: null description: null
options: options:
admin: sub-domain:
default: default: code
cluster: false
namespace: false
examples: examples:
- cluster: false - code
namespace: false type: string
storage:
default:
accessMode: ReadWriteOnce
size: 20Gi
type: Filesystem
examples:
- accessMode: ReadWriteOnce
size: 20Gi
type: Filesystem
properties: properties:
cluster: accessMode:
default: false default: ReadWriteOnce
type: boolean enum:
namespace: - ReadWriteOnce
default: false - ReadOnlyMany
type: boolean - ReadWriteMany
type: string
size:
default: 20Gi
type: string
type:
default: Filesystem
enum:
- Filesystem
- Block
type: string
type: object type: object
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
ingress-class:
default: traefik
examples:
- traefik
type: string
app-group:
default: dev
examples:
- dev
type: string
no-editor:
default: false
examples:
- false
type: boolean
domain:
default: your-company
examples:
- your-company
type: string
images: images:
default: default:
codeserver: codeserver:
@@ -60,72 +102,30 @@ options:
type: number type: number
type: object type: object
type: object type: object
domain: timezone:
default: your-company default: Europe/Paris
examples: examples:
- your-company - Europe/Paris
type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
sub-domain:
default: code
examples:
- code
type: string type: string
domain-name: domain-name:
default: your_company.com default: your_company.com
examples: examples:
- your_company.com - your_company.com
type: string type: string
timezone: admin:
default: Europe/Paris
examples:
- Europe/Paris
type: string
ingress-class:
default: traefik
examples:
- traefik
type: string
no-editor:
default: false
examples:
- false
type: boolean
app-group:
default: dev
examples:
- dev
type: string
storage:
default: default:
accessMode: ReadWriteOnce cluster: false
size: 20Gi namespace: false
type: Filesystem
examples: examples:
- accessMode: ReadWriteOnce - cluster: false
size: 20Gi namespace: false
type: Filesystem
properties: properties:
accessMode: cluster:
default: ReadWriteOnce default: false
enum: type: boolean
- ReadWriteOnce namespace:
- ReadOnlyMany default: false
- ReadWriteMany type: boolean
type: string
size:
default: 20Gi
type: string
type:
default: Filesystem
enum:
- Filesystem
- Block
type: string
type: object type: object
dependencies: dependencies:
- dist: null - dist: null

View File

@@ -6,16 +6,6 @@ metadata:
name: dbgate name: dbgate
description: null description: null
options: options:
domain:
default: your-company
examples:
- your-company
type: string
app-group:
default: dev
examples:
- dev
type: string
maria: maria:
default: [] default: []
examples: examples:
@@ -45,11 +35,50 @@ options:
type: string type: string
type: object type: object
type: array type: array
domain-name: domain:
default: your_company.com default: your-company
examples: examples:
- your_company.com - your-company
type: string type: string
sub-domain:
default: dbgate
examples:
- dbgate
type: string
app-group:
default: dev
examples:
- dev
type: string
pg:
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: mongo:
default: [] default: []
examples: examples:
@@ -79,11 +108,6 @@ options:
type: string type: string
type: object type: object
type: array type: array
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
images: images:
default: default:
dbgate: dbgate:
@@ -123,16 +147,30 @@ options:
type: string type: string
type: object type: object
type: object type: object
sub-domain:
default: dbgate
examples:
- dbgate
type: string
ingress-class: ingress-class:
default: traefik default: traefik
examples: examples:
- traefik - traefik
type: string type: string
redis:
default: []
examples:
- []
items:
properties:
name:
default: ''
type: string
namespace:
default: ''
type: string
type: object
type: array
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
storage: storage:
default: default:
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
@@ -160,49 +198,11 @@ options:
- Block - Block
type: string type: string
type: object type: object
redis: issuer:
default: [] default: letsencrypt-prod
examples: examples:
- [] - letsencrypt-prod
items: type: string
properties:
name:
default: ''
type: string
namespace:
default: ''
type: string
type: object
type: array
pg:
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: share category: share

View File

@@ -9,26 +9,90 @@ 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:
postgres: ssh-sub-domain:
default: default: git
replicas: 1
storage: 10Gi
version: '14'
examples: examples:
- replicas: 1 - git
storage: 10Gi type: string
version: '14' theme:
default: gitea-modern
examples:
- gitea-modern
type: string
webhook:
default:
allowed-hosts: private
skip-tls-verify: false
examples:
- allowed-hosts: private
skip-tls-verify: false
properties: properties:
replicas: allowed-hosts:
default: 1 default: private
type: integer type: string
storage: skip-tls-verify:
default: false
type: boolean
type: object
volume:
default:
accessMode: ReadWriteOnce
size: 10Gi
examples:
- accessMode: ReadWriteOnce
size: 10Gi
properties:
accessMode:
default: ReadWriteOnce
enum:
- ReadWriteOnce
- ReadOnlyMany
- ReadWriteMany
type: string
size:
default: 10Gi default: 10Gi
type: string type: string
version: type: object
default: '14' app-group:
default: dev
examples:
- dev
type: string
load-balancer:
default:
ip: ''
examples:
- ip: ''
properties:
ip:
default: ''
type: string type: string
type: object type: object
disable-registration:
default: true
examples:
- true
type: boolean
default-branch:
default: main
examples:
- main
type: string
replicas:
default: 1
examples:
- 1
type: integer
domain:
default: your-company
examples:
- your-company
type: string
release:
default: 8.3.0
examples:
- 8.3.0
type: string
backups: backups:
default: default:
enable: false enable: false
@@ -135,11 +199,84 @@ options:
default: false default: false
type: boolean type: boolean
type: object type: object
ssh-port:
default: 2222
examples:
- 2222
type: integer
postgres:
default:
replicas: 1
storage: 10Gi
version: '14'
examples:
- replicas: 1
storage: 10Gi
version: '14'
properties:
replicas:
default: 1
type: integer
storage:
default: 10Gi
type: string
version:
default: '14'
type: string
type: object
redis:
default:
exporter:
enabled: true
image: quay.io/opstree/redis-exporter:v1.44.0
image: quay.io/opstree/redis:v7.0.12
storage: 2Gi
examples:
- exporter:
enabled: true
image: quay.io/opstree/redis-exporter:v1.44.0
image: quay.io/opstree/redis:v7.0.12
storage: 2Gi
properties:
exporter:
default:
enabled: true
image: quay.io/opstree/redis-exporter:v1.44.0
properties:
enabled:
default: true
type: boolean
image:
default: quay.io/opstree/redis-exporter:v1.44.0
type: string
type: object
image:
default: quay.io/opstree/redis:v7.0.12
type: string
storage:
default: 2Gi
type: string
type: object
sub-domain: sub-domain:
default: git default: git
examples: examples:
- git - git
type: string 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
images: images:
default: default:
gitea: gitea:
@@ -179,15 +316,15 @@ options:
type: string type: string
type: object type: object
type: object type: object
release: ingress-class:
default: 8.3.0 default: traefik
examples: examples:
- 8.3.0 - traefik
type: string type: string
theme: domain-name:
default: gitea-modern default: your_company.com
examples: examples:
- gitea-modern - your_company.com
type: string type: string
push-create: push-create:
default: default:
@@ -209,152 +346,15 @@ options:
default: 'true' default: 'true'
type: string type: string
type: object type: object
load-balancer:
default:
ip: ''
examples:
- ip: ''
properties:
ip:
default: ''
type: string
type: object
webhook:
default:
allowed-hosts: private
skip-tls-verify: false
examples:
- allowed-hosts: private
skip-tls-verify: false
properties:
allowed-hosts:
default: private
type: string
skip-tls-verify:
default: false
type: boolean
type: object
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
redis:
default:
exporter:
enabled: true
image: quay.io/opstree/redis-exporter:v1.44.0
image: quay.io/opstree/redis:v7.0.12
storage: 2Gi
examples:
- exporter:
enabled: true
image: quay.io/opstree/redis-exporter:v1.44.0
image: quay.io/opstree/redis:v7.0.12
storage: 2Gi
properties:
exporter:
default:
enabled: true
image: quay.io/opstree/redis-exporter:v1.44.0
properties:
enabled:
default: true
type: boolean
image:
default: quay.io/opstree/redis-exporter:v1.44.0
type: string
type: object
image:
default: quay.io/opstree/redis:v7.0.12
type: string
storage:
default: 2Gi
type: string
type: object
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
disable-registration:
default: true
examples:
- true
type: boolean
default-branch:
default: main
examples:
- main
type: string
volume:
default:
accessMode: ReadWriteOnce
size: 10Gi
examples:
- accessMode: ReadWriteOnce
size: 10Gi
properties:
accessMode:
default: ReadWriteOnce
enum:
- ReadWriteOnce
- ReadOnlyMany
- ReadWriteMany
type: string
size:
default: 10Gi
type: string
type: object
domain:
default: your-company
examples:
- your-company
type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
timezone: timezone:
default: Europe/Paris default: Europe/Paris
examples: examples:
- Europe/Paris - Europe/Paris
type: string type: string
ssh-port: issuer:
default: 2222 default: letsencrypt-prod
examples: examples:
- 2222 - letsencrypt-prod
type: integer
replicas:
default: 1
examples:
- 1
type: integer
ssh-sub-domain:
default: git
examples:
- git
type: string type: string
dependencies: dependencies:
- dist: null - dist: null

View File

@@ -6,21 +6,16 @@ metadata:
name: gramo name: gramo
description: null description: null
options: options:
namespaces:
default: []
items:
type: string
type: array
sub-domain: sub-domain:
default: gramo default: gramo
examples: examples:
- gramo - gramo
type: string type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
domain:
default: your-company
examples:
- your-company
type: string
ingress-class: ingress-class:
default: traefik default: traefik
examples: examples:
@@ -31,6 +26,11 @@ options:
examples: examples:
- your_company.com - your_company.com
type: string type: string
cluster-admin:
default: false
examples:
- false
type: boolean
managed: managed:
default: false default: false
examples: examples:
@@ -75,21 +75,21 @@ options:
type: string type: string
type: object type: object
type: object type: object
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
app-group: app-group:
default: infra default: infra
examples: examples:
- infra - infra
type: string type: string
cluster-admin: domain:
default: false default: your-company
examples: examples:
- false - your-company
type: boolean type: string
namespaces:
default: []
items:
type: string
type: array
dependencies: dependencies:
- dist: null - dist: null
category: share category: share

View File

@@ -16,7 +16,7 @@ locals {
} }
module "service" { module "service" {
source = "/dist/modules/service" source = "git::https://git.solidite.fr/vynil/kydah-modules.git//service"
component = var.component component = var.component
instance = var.instance instance = var.instance
namespace = var.namespace namespace = var.namespace
@@ -29,7 +29,7 @@ module "service" {
} }
module "ingress" { module "ingress" {
source = "/dist/modules/ingress" source = "git::https://git.solidite.fr/vynil/kydah-modules.git//ingress"
component = "" component = ""
instance = var.instance instance = var.instance
namespace = var.namespace namespace = var.namespace
@@ -45,7 +45,7 @@ module "ingress" {
} }
module "application" { module "application" {
source = "/dist/modules/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
@@ -68,7 +68,7 @@ provider "restapi" {
} }
module "forward" { module "forward" {
source = "/dist/modules/forward" source = "git::https://git.solidite.fr/vynil/kydah-modules.git//forward"
component = var.component component = var.component
instance = var.instance instance = var.instance
domain = var.domain domain = var.domain

View File

@@ -6,6 +6,16 @@ metadata:
name: okd name: okd
description: null description: null
options: options:
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
cluster-admin:
default: false
examples:
- false
type: boolean
domain: domain:
default: your-company default: your-company
examples: examples:
@@ -16,36 +26,21 @@ options:
items: items:
type: string type: string
type: array type: array
app-group:
default: infra
examples:
- infra
type: string
issuer: issuer:
default: letsencrypt-prod default: letsencrypt-prod
examples: examples:
- letsencrypt-prod - letsencrypt-prod
type: string type: string
cluster-admin:
default: false
examples:
- false
type: boolean
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
managed:
default: false
examples:
- false
type: boolean
ingress-class: ingress-class:
default: traefik default: traefik
examples: examples:
- traefik - traefik
type: string type: string
app-group:
default: infra
examples:
- infra
type: string
images: images:
default: default:
okd: okd:
@@ -60,14 +55,6 @@ options:
repository: openshift/origin-console repository: openshift/origin-console
tag: 4.15.0 tag: 4.15.0
properties: properties:
dbgate:
default: null
properties:
pullPolicy:
enum:
- Always
- Never
- IfNotPresent
okd: okd:
default: default:
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
@@ -77,6 +64,10 @@ options:
properties: properties:
pullPolicy: pullPolicy:
default: IfNotPresent default: IfNotPresent
enum:
- Always
- Never
- IfNotPresent
type: string type: string
registry: registry:
default: quay.io default: quay.io
@@ -94,6 +85,11 @@ options:
examples: examples:
- okd - okd
type: string type: string
managed:
default: false
examples:
- false
type: boolean
dependencies: dependencies:
- dist: null - dist: null
category: share category: share

View File

@@ -11,12 +11,17 @@ options:
examples: examples:
- your-company - your-company
type: string type: string
sub-domain: issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
ingress-class:
default: traefik default: traefik
examples: examples:
- traefik - traefik
type: string type: string
ingress-class: sub-domain:
default: traefik default: traefik
examples: examples:
- traefik - traefik
@@ -26,11 +31,6 @@ options:
examples: examples:
- your_company.com - your_company.com
type: string type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
app-group: app-group:
default: infra default: infra
examples: examples:

View File

@@ -6,66 +6,6 @@ metadata:
name: domain-apps name: domain-apps
description: null description: null
options: options:
nextcloud:
default:
enable: false
examples:
- enable: false
properties:
enable:
default: false
type: boolean
type: object
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
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
backups: backups:
default: default:
enable: false enable: false
@@ -96,15 +36,77 @@ options:
default: backup-settings default: backup-settings
type: string type: string
type: object type: object
domain:
default: your-company
examples:
- your-company
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:
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: domain-name:
default: your-company default: your_company.com
examples: examples:
- your-company - your_company.com
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
ingress-class:
default: traefik
examples:
- traefik
type: string type: string
dependencies: [] dependencies: []
providers: providers:

View File

@@ -46,7 +46,47 @@ options:
examples: examples:
- your_company.com - your_company.com
type: string type: string
authentik-forward: issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
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
authentik-ldap:
default: default:
enable: false enable: false
examples: examples:
@@ -56,6 +96,31 @@ options:
default: false default: false
type: boolean type: boolean
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
fournisseurs: fournisseurs:
default: default:
apps: [] apps: []
@@ -91,6 +156,46 @@ options:
default: false default: false
type: boolean type: boolean
type: object type: object
authentik:
default:
enable: true
examples:
- enable: true
properties:
enable:
default: true
type: boolean
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
domain:
default: your-company
examples:
- your-company
type: string
authentik-forward:
default:
enable: false
examples:
- enable: false
properties:
enable:
default: false
type: boolean
type: object
clients: clients:
default: default:
apps: [] apps: []
@@ -126,111 +231,6 @@ options:
default: false default: false
type: boolean type: boolean
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
ingress-class:
default: traefik
examples:
- traefik
type: string
authentik:
default:
enable: true
examples:
- enable: true
properties:
enable:
default: true
type: boolean
type: object
authentik-ldap:
default:
enable: false
examples:
- enable: false
properties:
enable:
default: false
type: boolean
type: object
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
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
domain:
default: your-company
examples:
- your-company
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
dependencies: [] dependencies: []
providers: providers:
kubernetes: true kubernetes: true

View File

@@ -36,26 +36,21 @@ options:
default: backup-settings default: backup-settings
type: string type: string
type: object type: object
gitea: domain:
default: default: your-company
enable: true
examples: examples:
- enable: true - your-company
properties: type: string
enable: ingress-class:
default: true default: traefik
type: boolean
type: object
woodpecker:
default:
enable: false
examples: examples:
- enable: false - traefik
properties: type: string
enable: domain-name:
default: false default: your_company.com
type: boolean examples:
type: object - your_company.com
type: string
storage-classes: storage-classes:
default: default:
BlockReadWriteMany: '' BlockReadWriteMany: ''
@@ -81,6 +76,36 @@ options:
default: '' default: ''
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
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
x-vynil-enum-source: issuer
distributions: distributions:
default: default:
core: core core: core
@@ -96,26 +121,6 @@ options:
default: domain default: domain
type: string type: string
type: object type: object
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
domain:
default: your-company
examples:
- your-company
type: string
dependencies: [] dependencies: []
providers: providers:
kubernetes: true kubernetes: true

View File

@@ -28,6 +28,16 @@ locals {
]) ])
) )
}, { for k, v in var.apps.okd : k => v if k!="enable" }) }, { for k, v in var.apps.okd : k => v if k!="enable" })
gramo = merge({
"namespaces" = concat([
for station in local.sorted-station-names: "${var.domain}-devspaces-${station}"
],flatten([
for org in local.sorted-organisations:[
for stage in reverse(distinct(sort([for s in lookup(org, "stages", []): s.name]))): "${var.domain}-org-${org.name}-${stage}"
]
])
)
}, { for k, v in var.apps.gramo : k => v if k!="enable" })
dbgate = merge({ dbgate = merge({
"pg" = concat( "pg" = concat(
flatten([for ds in local.sorted-datasets: [for db in lookup(ds, "databases", []): { flatten([for ds in local.sorted-datasets: [for db in lookup(ds, "databases", []): {
@@ -159,6 +169,24 @@ resource "kubectl_manifest" "okd" {
EOF EOF
} }
resource "kubectl_manifest" "gramo" {
count = var.apps.okd.enable ? 1 : 0
depends_on = [kubernetes_namespace_v1.apps-ns]
yaml_body = <<-EOF
apiVersion: "vynil.solidite.fr/v1"
kind: "Install"
metadata:
name: "dev-gramo"
namespace: "${kubernetes_namespace_v1.apps-ns[0].metadata[0].name}"
labels: ${jsonencode(local.common-labels)}
spec:
distrib: "${var.distributions.domain}"
category: "apps"
component: "gramo"
options: ${jsonencode(merge(local.global-apps, local.gramo))}
EOF
}
resource "kubectl_manifest" "dbgate" { resource "kubectl_manifest" "dbgate" {
count = var.apps.dbgate.enable ? 1 : 0 count = var.apps.dbgate.enable ? 1 : 0
depends_on = [kubernetes_namespace_v1.apps-ns] depends_on = [kubernetes_namespace_v1.apps-ns]

View File

@@ -11,7 +11,48 @@ options:
examples: examples:
- letsencrypt-prod - letsencrypt-prod
type: string type: string
external-redis: organisations:
default: []
examples:
- []
items:
properties:
datasets:
default: []
items:
properties:
databases:
default: []
items:
properties:
name:
default: db
type: string
type: object
type: array
engine:
default: pg
type: string
name:
default: ''
type: string
type: object
type: array
name:
default: ''
type: string
stages:
default: []
items:
properties:
name:
default: prod
type: string
type: object
type: array
type: object
type: array
external-marias:
default: [] default: []
examples: examples:
- [] - []
@@ -23,71 +64,30 @@ options:
namespace: namespace:
default: '' default: ''
type: string type: string
secret:
properties:
key:
default: ''
type: string
name:
default: ''
type: string
type: object
username:
default: ''
type: string
type: object type: object
type: array type: array
domain:
default: your-company
examples:
- your-company
type: string
haveGitea: haveGitea:
default: false default: false
examples: examples:
- false - false
type: boolean type: boolean
apps: app-group:
default: default: dev
dbgate:
enable: false
okd:
enable: false
superset:
enable: false
yaade:
enable: false
examples: examples:
- dbgate: - dev
enable: false type: string
okd:
enable: false
superset:
enable: false
yaade:
enable: false
properties:
dbgate:
default:
enable: false
properties:
enable:
default: false
type: boolean
type: object
okd:
default:
enable: false
properties:
enable:
default: false
type: boolean
type: object
superset:
default:
enable: false
properties:
enable:
default: false
type: boolean
type: object
yaade:
default:
enable: false
properties:
enable:
default: false
type: boolean
type: object
type: object
images: images:
default: default:
codeserver: codeserver:
@@ -127,6 +127,107 @@ options:
type: number type: number
type: object type: object
type: object type: object
apps:
default:
dbgate:
enable: false
gramo:
enable: false
okd:
enable: false
superset:
enable: false
yaade:
enable: false
examples:
- dbgate:
enable: false
gramo:
enable: false
okd:
enable: false
superset:
enable: false
yaade:
enable: false
properties:
dbgate:
default:
enable: false
properties:
enable:
default: false
type: boolean
type: object
x-vynil-category: apps
x-vynil-package: dbgate
gramo:
default:
enable: false
properties:
enable:
default: false
type: boolean
type: object
x-vynil-category: apps
x-vynil-package: gramo
okd:
default:
enable: false
properties:
enable:
default: false
type: boolean
type: object
x-vynil-category: apps
x-vynil-package: okd
superset:
default:
enable: false
properties:
enable:
default: false
type: boolean
type: object
yaade:
default:
enable: false
properties:
enable:
default: false
type: boolean
type: object
type: object
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
stations: stations:
default: [] default: []
examples: examples:
@@ -143,11 +244,49 @@ options:
type: array type: array
type: object type: object
type: array type: array
domain-name: external-mongos:
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
external-redis:
default: []
examples:
- []
items:
properties:
name:
default: ''
type: string
namespace:
default: ''
type: string
type: object
type: array
distributions: distributions:
default: default:
core: core core: core
@@ -163,11 +302,21 @@ options:
default: domain default: domain
type: string type: string
type: object type: object
domain:
default: your-company
examples:
- your-company
type: string
stations-sub-domain: stations-sub-domain:
default: code default: code
examples: examples:
- code - code
type: string type: string
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
storage-classes: storage-classes:
default: default:
BlockReadWriteMany: '' BlockReadWriteMany: ''
@@ -222,137 +371,6 @@ options:
type: string type: string
type: object type: object
type: array type: array
app-group:
default: dev
examples:
- dev
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
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
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
organisations:
default: []
examples:
- []
items:
properties:
datasets:
default: []
items:
properties:
databases:
default: []
items:
properties:
name:
default: db
type: string
type: object
type: array
engine:
default: pg
type: string
name:
default: ''
type: string
type: object
type: array
name:
default: ''
type: string
stages:
default: []
items:
properties:
name:
default: prod
type: string
type: object
type: array
type: object
type: array
ingress-class: ingress-class:
default: traefik default: traefik
examples: examples:

View File

@@ -6,11 +6,26 @@ metadata:
name: domain-erp name: domain-erp
description: null description: null
options: options:
domain: domain-name:
default: your-company default: your_company.com
examples: examples:
- your-company - your_company.com
type: string 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
backups: backups:
default: default:
enable: false enable: false
@@ -41,46 +56,11 @@ options:
default: backup-settings default: backup-settings
type: string type: string
type: object type: object
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
ingress-class: ingress-class:
default: traefik default: traefik
examples: examples:
- traefik - traefik
type: string 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
dolibarr:
default:
enable: true
examples:
- enable: true
properties:
enable:
default: true
type: boolean
type: object
storage-classes: storage-classes:
default: default:
BlockReadWriteMany: '' BlockReadWriteMany: ''
@@ -106,6 +86,28 @@ options:
default: '' default: ''
type: string type: string
type: object type: object
domain:
default: your-company
examples:
- your-company
type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
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

View File

@@ -6,86 +6,6 @@ metadata:
name: domain-infra name: domain-infra
description: null description: null
options: options:
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
traefik:
default:
enable: false
namespace: traefik
examples:
- enable: false
namespace: traefik
properties:
enable:
default: false
type: boolean
namespace:
default: traefik
type: string
type: object
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
api:
default:
enable: false
examples:
- enable: false
properties:
enable:
default: false
type: boolean
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
app-group:
default: infra
examples:
- infra
type: string
backups: backups:
default: default:
enable: false enable: false
@@ -126,6 +46,60 @@ options:
default: false default: false
type: boolean type: boolean
type: object type: object
x-vynil-category: apps
x-vynil-package: okd
api:
default:
enable: false
examples:
- enable: false
properties:
enable:
default: false
type: boolean
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
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-package: traefix-ui
ingress-class:
default: traefik
examples:
- traefik
type: string
domain:
default: your-company
examples:
- your-company
type: string
dns: dns:
default: default:
enable: false enable: false
@@ -136,15 +110,47 @@ options:
default: false default: false
type: boolean type: boolean
type: object type: object
ingress-class: x-vynil-category: share
default: traefik x-vynil-package: dns
issuer:
default: letsencrypt-prod
examples: examples:
- traefik - letsencrypt-prod
type: string type: string
domain: app-group:
default: your-company default: infra
examples: examples:
- your-company - infra
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
domain-name:
default: your_company.com
examples:
- your_company.com
type: string type: string
dependencies: [] dependencies: []
providers: providers:

View File

@@ -6,6 +6,35 @@ metadata:
name: domain name: domain
description: null description: null
options: options:
erp:
default:
dolibarr:
enable: true
enable: false
examples:
- dolibarr:
enable: true
enable: false
properties:
dolibarr:
default:
enable: true
properties:
enable:
default: true
type: boolean
type: object
enable:
default: false
type: boolean
type: object
x-vynil-category: meta
x-vynil-package: domain-erp
ingress-class:
default: traefik
examples:
- traefik
type: string
devspaces: devspaces:
default: default:
enable: false enable: false
@@ -16,6 +45,32 @@ options:
default: false default: false
type: boolean type: boolean
type: object type: object
x-vynil-category: meta
x-vynil-package: domain-devspaces
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
infra: infra:
default: default:
enable: false enable: false
@@ -38,21 +93,8 @@ options:
type: boolean type: boolean
type: object type: object
type: object type: object
distributions: x-vynil-category: meta
default: x-vynil-package: domain-infra
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: ''
@@ -83,6 +125,11 @@ options:
examples: examples:
- your_company.com - your_company.com
type: string type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
apps: apps:
default: default:
enable: false enable: false
@@ -105,6 +152,8 @@ options:
type: boolean type: boolean
type: object type: object
type: object type: object
x-vynil-category: meta
x-vynil-package: domain-apps
mail: mail:
default: default:
enable: false enable: false
@@ -127,82 +176,6 @@ options:
type: boolean type: boolean
type: object type: object
type: object type: object
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
ci:
default:
enable: false
gitea:
enable: true
examples:
- enable: false
gitea:
enable: true
properties:
enable:
default: false
type: boolean
gitea:
default:
enable: true
properties:
enable:
default: true
type: boolean
type: object
type: object
ingress-class:
default: traefik
examples:
- traefik
type: string
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
erp:
default:
dolibarr:
enable: true
enable: false
examples:
- dolibarr:
enable: true
enable: false
properties:
dolibarr:
default:
enable: true
properties:
enable:
default: true
type: boolean
type: object
enable:
default: false
type: boolean
type: object
backups: backups:
default: default:
enable: false enable: false
@@ -233,6 +206,45 @@ 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
ci:
default:
enable: false
gitea:
enable: true
examples:
- enable: false
gitea:
enable: true
properties:
enable:
default: false
type: boolean
gitea:
default:
enable: true
properties:
enable:
default: true
type: boolean
type: object
type: object
x-vynil-category: meta
x-vynil-package: domain-ci
dependencies: [] dependencies: []
providers: providers:
kubernetes: null kubernetes: null

View File

@@ -6,6 +6,23 @@ metadata:
name: accounts-management name: accounts-management
description: null description: null
options: options:
employes:
default:
apps: []
examples:
- apps: []
properties:
apps:
default: []
items:
type: string
type: array
type: object
domain:
default: your-company
examples:
- your-company
type: string
clients: clients:
default: default:
apps: [] apps: []
@@ -23,23 +40,6 @@ options:
default: false default: false
type: boolean type: boolean
type: object type: object
domain:
default: your-company
examples:
- your-company
type: string
employes:
default:
apps: []
examples:
- apps: []
properties:
apps:
default: []
items:
type: string
type: array
type: object
fournisseurs: fournisseurs:
default: default:
apps: [] apps: []

View File

@@ -6,23 +6,23 @@ metadata:
name: authentik-forward name: authentik-forward
description: null description: null
options: options:
ingress-class: issuer:
default: traefik default: letsencrypt-prod
examples: examples:
- traefik - 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
type: string type: string
ingress-class:
default: traefik
examples:
- traefik
type: string
sub-domain: sub-domain:
default: null default: null
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
domain: domain:
default: your-company default: your-company
examples: examples:

View File

@@ -11,20 +11,6 @@ options:
examples: examples:
- your-company - your-company
type: string type: string
teams:
default: []
items:
properties:
apps:
default: []
items:
type: string
type: array
name:
default: ''
type: string
type: object
type: array
parent: parent:
default: employes default: employes
enum: enum:
@@ -39,6 +25,20 @@ options:
items: items:
type: string type: string
type: array type: array
teams:
default: []
items:
properties:
apps:
default: []
items:
type: string
type: array
name:
default: ''
type: string
type: object
type: array
dependencies: dependencies:
- dist: null - dist: null
category: share category: share

View File

@@ -6,21 +6,6 @@ metadata:
name: organisation name: organisation
description: null description: null
options: options:
haveGitea:
default: false
examples:
- false
type: boolean
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
app-group:
default: dev
examples:
- dev
type: string
domain-name: domain-name:
default: your_company.com default: your_company.com
examples: examples:
@@ -31,11 +16,20 @@ options:
examples: examples:
- traefik - traefik
type: string type: string
domain: haveGitea:
default: your-company default: false
examples: examples:
- your-company - false
type: string type: boolean
stages:
default: []
items:
properties:
name:
default: prod
type: string
type: object
type: array
backups: backups:
default: default:
enable: false enable: false
@@ -66,6 +60,38 @@ options:
default: backup-settings default: backup-settings
type: string type: string
type: object type: object
datasets:
default: []
items:
properties:
engine:
default: pg
type: string
name:
default: ''
type: string
type: object
type: array
domain:
default: your-company
examples:
- your-company
type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
gitea-ssh-domain:
default: ''
examples:
- ''
type: string
app-group:
default: dev
examples:
- dev
type: string
distributions: distributions:
default: default:
core: core core: core
@@ -81,32 +107,6 @@ options:
default: domain default: domain
type: string type: string
type: object type: object
gitea-ssh-domain:
default: ''
examples:
- ''
type: string
stages:
default: []
items:
properties:
name:
default: prod
type: string
type: object
type: array
datasets:
default: []
items:
properties:
engine:
default: pg
type: string
name:
default: ''
type: string
type: object
type: array
dependencies: [] dependencies: []
providers: providers:
kubernetes: true kubernetes: true