From 45770ba03bfea8781a7af191910d424dc2adeaa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Thu, 19 Oct 2023 13:08:44 +0200 Subject: [PATCH] fix --- apps/code-server/index.yaml | 100 +++--- apps/dbgate/index.yaml | 200 ++++++------ apps/dolibarr/index.yaml | 332 +++++++++---------- apps/gitea/index.yaml | 336 +++++++++---------- apps/k8s-api/index.yaml | 22 +- apps/nextcloud/index.yaml | 626 ++++++++++++++++++------------------ apps/okd/index.yaml | 42 +-- apps/traefik-ui/index.yaml | 32 +- apps/woodpecker/index.yaml | 106 +++--- modules/ingress/ingress.tf | 8 +- 10 files changed, 902 insertions(+), 902 deletions(-) diff --git a/apps/code-server/index.yaml b/apps/code-server/index.yaml index a0fd50d..197bcaf 100644 --- a/apps/code-server/index.yaml +++ b/apps/code-server/index.yaml @@ -6,61 +6,11 @@ metadata: name: code-server description: null options: - admin: - default: - cluster: false - namespace: false - examples: - - cluster: false - namespace: false - properties: - cluster: - default: false - type: boolean - namespace: - default: false - type: boolean - type: object - ingress-class: - default: traefik - examples: - - traefik - type: string - no-editor: - default: false - examples: - - false - type: boolean - domain-name: - default: your_company.com - examples: - - your_company.com - type: string timezone: default: Europe/Paris examples: - Europe/Paris type: string - app-group: - default: dev - examples: - - dev - type: string - sub-domain: - default: code - examples: - - code - type: string - domain: - default: your-company - examples: - - your-company - type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string storage: default: accessMode: ReadWriteOnce @@ -127,6 +77,56 @@ options: type: number type: object type: object + admin: + default: + cluster: false + namespace: false + examples: + - cluster: false + namespace: false + properties: + cluster: + default: false + type: boolean + namespace: + default: false + type: boolean + type: object + ingress-class: + default: traefik + examples: + - traefik + type: string + no-editor: + 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: + default: your_company.com + examples: + - your_company.com + type: string + sub-domain: + default: code + examples: + - code + type: string + domain: + default: your-company + examples: + - your-company + type: string dependencies: - dist: null category: share diff --git a/apps/dbgate/index.yaml b/apps/dbgate/index.yaml index 7aca075..43abca5 100644 --- a/apps/dbgate/index.yaml +++ b/apps/dbgate/index.yaml @@ -6,69 +6,53 @@ metadata: name: dbgate description: null options: - mongo: - default: [] + domain: + default: your-company 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 + - your-company + type: string + domain-name: + default: your_company.com + examples: + - your_company.com + type: string use-oauth: default: false examples: - false type: boolean - pg: - default: [] + app-group: + default: dev 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 + - dev + type: string + storage: + default: + accessMode: ReadWriteOnce + size: 1Gi + type: Filesystem + examples: + - accessMode: ReadWriteOnce + size: 1Gi + type: Filesystem + properties: + accessMode: + default: ReadWriteOnce + enum: + - ReadWriteOnce + - ReadOnlyMany + - ReadWriteMany + type: string + size: + default: 1Gi + type: string + type: + default: Filesystem + enum: + - Filesystem + - Block + type: string + type: object images: default: dbgate: @@ -108,21 +92,6 @@ options: type: string type: object type: object - app-group: - default: dev - examples: - - dev - type: string - ingress-class: - default: traefik - examples: - - traefik - type: string - domain: - default: your-company - examples: - - your-company - type: string sub-domain: default: dbgate examples: @@ -133,33 +102,35 @@ options: examples: - letsencrypt-prod type: string - storage: - default: - accessMode: ReadWriteOnce - size: 1Gi - type: Filesystem + pg: + default: [] examples: - - accessMode: ReadWriteOnce - size: 1Gi - type: Filesystem - properties: - accessMode: - default: ReadWriteOnce - enum: - - ReadWriteOnce - - ReadOnlyMany - - ReadWriteMany - type: string - size: - default: 1Gi - type: string - type: - default: Filesystem - enum: - - Filesystem - - Block - type: string - type: object + - [] + 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 maria: default: [] examples: @@ -189,10 +160,39 @@ options: type: string type: object type: array - domain-name: - default: your_company.com + mongo: + default: [] examples: - - your_company.com + - [] + 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 + ingress-class: + default: traefik + examples: + - traefik type: string dependencies: - dist: null diff --git a/apps/dolibarr/index.yaml b/apps/dolibarr/index.yaml index 3744fd8..525dc1d 100644 --- a/apps/dolibarr/index.yaml +++ b/apps/dolibarr/index.yaml @@ -6,15 +6,125 @@ metadata: name: dolibarr description: null options: - domain: - default: your-company + images: + default: + dolibarr: + pullPolicy: IfNotPresent + registry: docker.io + repository: sebt3/dolibarr + tag: 17.0.1 + nginx: + pullPolicy: IfNotPresent + registry: docker.io + repository: nginx + tag: alpine examples: - - your-company + - dolibarr: + pullPolicy: IfNotPresent + registry: docker.io + repository: sebt3/dolibarr + tag: 17.0.1 + nginx: + pullPolicy: IfNotPresent + registry: docker.io + repository: nginx + tag: alpine + properties: + dolibarr: + default: + pullPolicy: IfNotPresent + registry: docker.io + repository: sebt3/dolibarr + tag: 17.0.1 + properties: + pullPolicy: + default: IfNotPresent + type: string + registry: + default: docker.io + type: string + repository: + default: sebt3/dolibarr + type: string + tag: + default: 17.0.1 + type: string + type: object + nginx: + default: + pullPolicy: IfNotPresent + registry: docker.io + repository: nginx + tag: alpine + properties: + pullPolicy: + default: IfNotPresent + type: string + registry: + default: docker.io + type: string + repository: + default: nginx + type: string + tag: + default: alpine + type: string + type: object + type: object + parameters: + default: + MAIN_LANG_DEFAULT: auto + examples: + - MAIN_LANG_DEFAULT: auto + properties: + MAIN_LANG_DEFAULT: + default: auto + type: string + type: object + 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 + postgres: + default: + replicas: 1 + storage: 5Gi + version: '14' + examples: + - replicas: 1 + storage: 5Gi + version: '14' + properties: + replicas: + default: 1 + type: integer + storage: + default: 5Gi + type: string + version: + default: '14' + type: string + type: object + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod type: string - domain-name: - default: your_company.com + ingress-class: + default: traefik examples: - - your_company.com + - traefik type: string redis: default: @@ -49,19 +159,11 @@ options: default: 2Gi type: string type: object - ingress-class: - default: traefik + app-group: + default: '' examples: - - traefik + - '' type: string - modules: - default: - - societe - examples: - - - societe - items: - type: string - type: array resources: default: limits: @@ -103,63 +205,11 @@ options: type: string type: object type: object - postgres: - default: - replicas: 1 - storage: 5Gi - version: '14' + domain: + default: your-company examples: - - replicas: 1 - storage: 5Gi - version: '14' - properties: - replicas: - default: 1 - type: integer - storage: - default: 5Gi - type: string - version: - default: '14' - type: string - type: object - storage: - default: - accessMode: ReadWriteOnce - size: 10Gi - type: Filesystem - examples: - - accessMode: ReadWriteOnce - size: 10Gi - type: Filesystem - properties: - accessMode: - default: ReadWriteOnce - enum: - - ReadWriteOnce - - ReadOnlyMany - - ReadWriteMany - type: string - size: - default: 10Gi - type: string - type: - default: Filesystem - enum: - - Filesystem - - block - type: string - type: object - parameters: - default: - MAIN_LANG_DEFAULT: auto - examples: - - MAIN_LANG_DEFAULT: auto - properties: - MAIN_LANG_DEFAULT: - default: auto - type: string - type: object + - your-company + type: string hpa: default: avg-cpu: 50 @@ -180,6 +230,11 @@ options: default: 1 type: integer type: object + domain-name: + default: your_company.com + examples: + - your_company.com + type: string backups: default: enable: false @@ -286,106 +341,51 @@ options: default: false type: boolean type: object - log-level: - default: 5 + storage: + default: + accessMode: ReadWriteOnce + size: 10Gi + type: Filesystem examples: - - 5 - type: integer + - accessMode: ReadWriteOnce + size: 10Gi + type: Filesystem + properties: + accessMode: + default: ReadWriteOnce + enum: + - ReadWriteOnce + - ReadOnlyMany + - ReadWriteMany + type: string + size: + default: 10Gi + type: string + type: + default: Filesystem + enum: + - Filesystem + - block + type: string + type: object + modules: + default: + - societe + examples: + - - societe + items: + type: string + type: array sub-domain: default: erp examples: - erp type: string - issuer: - default: letsencrypt-prod + log-level: + default: 5 examples: - - letsencrypt-prod - type: string - images: - default: - dolibarr: - pullPolicy: IfNotPresent - registry: docker.io - repository: sebt3/dolibarr - tag: 17.0.1 - nginx: - pullPolicy: IfNotPresent - registry: docker.io - repository: nginx - tag: alpine - examples: - - dolibarr: - pullPolicy: IfNotPresent - registry: docker.io - repository: sebt3/dolibarr - tag: 17.0.1 - nginx: - pullPolicy: IfNotPresent - registry: docker.io - repository: nginx - tag: alpine - properties: - dolibarr: - default: - pullPolicy: IfNotPresent - registry: docker.io - repository: sebt3/dolibarr - tag: 17.0.1 - properties: - pullPolicy: - default: IfNotPresent - type: string - registry: - default: docker.io - type: string - repository: - default: sebt3/dolibarr - type: string - tag: - default: 17.0.1 - type: string - type: object - nginx: - default: - pullPolicy: IfNotPresent - registry: docker.io - repository: nginx - tag: alpine - properties: - pullPolicy: - default: IfNotPresent - type: string - registry: - default: docker.io - type: string - repository: - default: nginx - type: string - tag: - default: alpine - type: string - type: object - type: object - app-group: - default: '' - examples: - - '' - 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 + - 5 + type: integer dependencies: - dist: null category: share diff --git a/apps/gitea/index.yaml b/apps/gitea/index.yaml index dda7ca0..cdd4364 100644 --- a/apps/gitea/index.yaml +++ b/apps/gitea/index.yaml @@ -9,36 +9,134 @@ metadata: 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. options: - push-create: - default: - org: 'true' - private: 'false' - user: 'true' + domain: + default: your-company examples: - - org: 'true' - private: 'false' - user: 'true' + - your-company + type: string + load-balancer: + default: + ip: '' + examples: + - ip: '' properties: - org: - default: 'true' - type: string - private: - default: 'false' - type: string - user: - default: 'true' + ip: + default: '' type: string type: object - theme: - default: gitea-modern + postgres: + default: + replicas: 1 + storage: 10Gi + version: '14' examples: - - gitea-modern + - replicas: 1 + storage: 10Gi + version: '14' + properties: + replicas: + default: 1 + type: integer + storage: + default: 10Gi + type: string + version: + default: '14' + type: string + type: object + timezone: + default: Europe/Paris + examples: + - Europe/Paris + type: string + app-group: + default: dev + examples: + - dev type: string domain-name: default: your_company.com examples: - your_company.com type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + theme: + default: gitea-modern + examples: + - gitea-modern + type: string + replicas: + default: 1 + examples: + - 1 + type: integer + images: + default: + gitea: + pullPolicy: IfNotPresent + registry: docker.io + repository: gitea/gitea + tag: 1.19.3 + memcached: + registry: docker.io + repository: bitnami/memcached + tag: 1.6.19-debian-11-r7 + examples: + - gitea: + pullPolicy: IfNotPresent + registry: docker.io + repository: gitea/gitea + tag: 1.19.3 + memcached: + registry: docker.io + repository: bitnami/memcached + tag: 1.6.19-debian-11-r7 + properties: + gitea: + default: + pullPolicy: IfNotPresent + registry: docker.io + repository: gitea/gitea + tag: 1.19.3 + properties: + pullPolicy: + default: IfNotPresent + enum: + - Always + - Never + - IfNotPresent + type: string + registry: + default: docker.io + type: string + repository: + default: gitea/gitea + type: string + tag: + default: 1.19.3 + type: string + type: object + memcached: + default: + registry: docker.io + repository: bitnami/memcached + tag: 1.6.19-debian-11-r7 + properties: + registry: + default: docker.io + type: string + repository: + default: bitnami/memcached + type: string + tag: + default: 1.6.19-debian-11-r7 + type: string + type: object + type: object backups: default: enable: false @@ -145,26 +243,6 @@ options: default: false type: boolean type: object - timezone: - default: Europe/Paris - examples: - - Europe/Paris - type: string - release: - default: 8.3.0 - examples: - - 8.3.0 - type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - replicas: - default: 1 - examples: - - 1 - type: integer webhook: default: allowed-hosts: private @@ -180,144 +258,21 @@ options: default: false type: boolean type: object - postgres: - default: - replicas: 1 - storage: 10Gi - version: '14' + release: + default: 8.3.0 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 - volume: - default: - size: 10Gi - examples: - - size: 10Gi - properties: - size: - default: 10Gi - type: string - type: object - app-group: - default: dev - examples: - - dev - type: string - domain: - default: your-company - examples: - - your-company - type: string - default-branch: - default: main - examples: - - main + - 8.3.0 type: string ssh-port: default: 2222 examples: - 2222 type: integer - load-balancer: - default: - ip: '' + default-branch: + default: main examples: - - ip: '' - properties: - ip: - default: '' - type: string - type: object - sub-domain: - default: git - examples: - - git + - main type: string - disable-registration: - default: true - examples: - - true - type: boolean - ingress-class: - default: traefik - examples: - - traefik - type: string - images: - default: - gitea: - pullPolicy: IfNotPresent - registry: docker.io - repository: gitea/gitea - tag: 1.19.3 - memcached: - registry: docker.io - repository: bitnami/memcached - tag: 1.6.19-debian-11-r7 - examples: - - gitea: - pullPolicy: IfNotPresent - registry: docker.io - repository: gitea/gitea - tag: 1.19.3 - memcached: - registry: docker.io - repository: bitnami/memcached - tag: 1.6.19-debian-11-r7 - properties: - gitea: - default: - pullPolicy: IfNotPresent - registry: docker.io - repository: gitea/gitea - tag: 1.19.3 - properties: - pullPolicy: - default: IfNotPresent - enum: - - Always - - Never - - IfNotPresent - type: string - registry: - default: docker.io - type: string - repository: - default: gitea/gitea - type: string - tag: - default: 1.19.3 - type: string - type: object - memcached: - default: - registry: docker.io - repository: bitnami/memcached - tag: 1.6.19-debian-11-r7 - properties: - registry: - default: docker.io - type: string - repository: - default: bitnami/memcached - type: string - tag: - default: 1.6.19-debian-11-r7 - type: string - type: object - type: object admin: default: email: git-admin@git.your_company.com @@ -333,6 +288,51 @@ options: default: gitea_admin type: string type: object + ingress-class: + default: traefik + examples: + - traefik + type: string + disable-registration: + default: true + examples: + - true + type: boolean + push-create: + default: + org: 'true' + private: 'false' + user: 'true' + examples: + - org: 'true' + private: 'false' + user: 'true' + properties: + org: + default: 'true' + type: string + private: + default: 'false' + type: string + user: + default: 'true' + type: string + type: object + sub-domain: + default: git + examples: + - git + type: string + volume: + default: + size: 10Gi + examples: + - size: 10Gi + properties: + size: + default: 10Gi + type: string + type: object dependencies: - dist: null category: share diff --git a/apps/k8s-api/index.yaml b/apps/k8s-api/index.yaml index 26f4a0f..223be24 100644 --- a/apps/k8s-api/index.yaml +++ b/apps/k8s-api/index.yaml @@ -6,31 +6,31 @@ metadata: name: k8s-api description: Access to the kubernetes api options: - ingress-class: - default: traefik + domain: + default: your-company examples: - - traefik - type: string - domain-name: - default: your_company.com - examples: - - your_company.com + - your-company type: string sub-domain: default: api examples: - api type: string - domain: - default: your-company + domain-name: + default: your_company.com examples: - - your-company + - your_company.com type: string issuer: default: letsencrypt-prod examples: - letsencrypt-prod type: string + ingress-class: + default: traefik + examples: + - traefik + type: string dependencies: - dist: null category: share diff --git a/apps/nextcloud/index.yaml b/apps/nextcloud/index.yaml index 14822a8..f21da43 100644 --- a/apps/nextcloud/index.yaml +++ b/apps/nextcloud/index.yaml @@ -6,6 +6,319 @@ metadata: name: nextcloud description: null options: + postgres: + default: + replicas: 1 + storage: 5Gi + version: '14' + examples: + - replicas: 1 + storage: 5Gi + version: '14' + properties: + replicas: + default: 1 + type: integer + storage: + default: 5Gi + type: string + version: + default: '14' + type: string + type: object + sub-domain: + default: files + examples: + - files + type: string + app-group: + default: '' + examples: + - '' + type: string + openid-name: + default: vynil + examples: + - vynil + type: string + apps: + default: + audioplayer: false + bookmarks: false + bpm: false + calendar: false + collabora: false + contacts: false + deck: false + groupfolders: true + mindmap: false + music: false + notes: false + onlyoffice: false + passman: false + spreed: false + tables: false + tasks: false + texteditor: true + examples: + - audioplayer: false + bookmarks: false + bpm: false + calendar: false + collabora: false + contacts: false + deck: false + groupfolders: true + mindmap: false + music: false + notes: false + onlyoffice: false + passman: false + spreed: false + tables: false + tasks: false + texteditor: true + properties: + audioplayer: + default: false + type: boolean + bookmarks: + default: false + type: boolean + bpm: + default: false + type: boolean + calendar: + default: false + type: boolean + collabora: + default: false + type: boolean + contacts: + default: false + type: boolean + deck: + default: false + type: boolean + groupfolders: + default: true + type: boolean + mindmap: + default: false + type: boolean + music: + default: false + type: boolean + notes: + default: false + type: boolean + onlyoffice: + default: false + type: boolean + passman: + default: false + type: boolean + spreed: + default: false + type: boolean + tables: + default: false + type: boolean + tasks: + default: false + type: boolean + texteditor: + default: true + type: boolean + type: object + redis: + default: + exporter: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + image: quay.io/opstree/redis:v7.0.5 + storage: 2Gi + examples: + - exporter: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + image: quay.io/opstree/redis:v7.0.5 + 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.5 + type: string + storage: + default: 2Gi + type: string + type: object + admin: + default: + name: nextcloud_admin + examples: + - name: nextcloud_admin + properties: + name: + default: nextcloud_admin + type: string + type: object + domain: + default: your-company + examples: + - your-company + type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + ingress-class: + default: traefik + examples: + - traefik + 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: 30 3 * * * + check: 30 5 * * 1 + db: 30 3 * * * + prune: 30 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: 30 3 * * * + check: 30 5 * * 1 + db: 30 3 * * * + prune: 30 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: 30 3 * * * + check: 30 5 * * 1 + db: 30 3 * * * + prune: 30 1 * * 0 + properties: + backup: + default: 30 3 * * * + type: string + check: + default: 30 5 * * 1 + type: string + db: + default: 30 3 * * * + type: string + prune: + default: 30 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-name: + default: your_company.com + examples: + - your_company.com + type: string + storage: + 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 images: default: collabora: @@ -169,11 +482,6 @@ options: type: string type: object type: object - ingress-class: - default: traefik - examples: - - traefik - type: string hpa: default: avg-cpu: 50 @@ -194,314 +502,6 @@ options: default: 1 type: integer type: object - admin: - default: - name: nextcloud_admin - examples: - - name: nextcloud_admin - properties: - name: - default: nextcloud_admin - type: string - type: object - app-group: - default: '' - examples: - - '' - type: string - postgres: - default: - replicas: 1 - storage: 5Gi - version: '14' - examples: - - replicas: 1 - storage: 5Gi - version: '14' - properties: - replicas: - default: 1 - type: integer - storage: - default: 5Gi - type: string - version: - default: '14' - type: string - type: object - domain: - default: your-company - examples: - - your-company - 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: 30 3 * * * - check: 30 5 * * 1 - db: 30 3 * * * - prune: 30 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: 30 3 * * * - check: 30 5 * * 1 - db: 30 3 * * * - prune: 30 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: 30 3 * * * - check: 30 5 * * 1 - db: 30 3 * * * - prune: 30 1 * * 0 - properties: - backup: - default: 30 3 * * * - type: string - check: - default: 30 5 * * 1 - type: string - db: - default: 30 3 * * * - type: string - prune: - default: 30 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 - storage: - 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 - sub-domain: - default: files - examples: - - files - type: string - openid-name: - default: vynil - examples: - - vynil - type: string - apps: - default: - audioplayer: false - bookmarks: false - bpm: false - calendar: false - collabora: false - contacts: false - deck: false - groupfolders: true - mindmap: false - music: false - notes: false - onlyoffice: false - passman: false - spreed: false - tables: false - tasks: false - texteditor: true - examples: - - audioplayer: false - bookmarks: false - bpm: false - calendar: false - collabora: false - contacts: false - deck: false - groupfolders: true - mindmap: false - music: false - notes: false - onlyoffice: false - passman: false - spreed: false - tables: false - tasks: false - texteditor: true - properties: - audioplayer: - default: false - type: boolean - bookmarks: - default: false - type: boolean - bpm: - default: false - type: boolean - calendar: - default: false - type: boolean - collabora: - default: false - type: boolean - contacts: - default: false - type: boolean - deck: - default: false - type: boolean - groupfolders: - default: true - type: boolean - mindmap: - default: false - type: boolean - music: - default: false - type: boolean - notes: - default: false - type: boolean - onlyoffice: - default: false - type: boolean - passman: - default: false - type: boolean - spreed: - default: false - type: boolean - tables: - default: false - type: boolean - tasks: - default: false - type: boolean - texteditor: - default: true - type: boolean - type: object - redis: - default: - exporter: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - image: quay.io/opstree/redis:v7.0.5 - storage: 2Gi - examples: - - exporter: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - image: quay.io/opstree/redis:v7.0.5 - 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.5 - type: string - storage: - default: 2Gi - type: string - type: object - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - domain-name: - default: your_company.com - examples: - - your_company.com - type: string dependencies: - dist: null category: share diff --git a/apps/okd/index.yaml b/apps/okd/index.yaml index 6380565..c97db97 100644 --- a/apps/okd/index.yaml +++ b/apps/okd/index.yaml @@ -49,21 +49,26 @@ options: type: string type: object type: object - domain-name: - default: your_company.com - examples: - - your_company.com - type: string - sub-domain: - default: okd - examples: - - okd - type: string cluster-admin: default: false examples: - false type: boolean + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + app-group: + default: infra + examples: + - infra + type: string + domain: + default: your-company + examples: + - your-company + type: string ingress-class: default: traefik examples: @@ -74,20 +79,15 @@ options: items: type: string type: array - domain: - default: your-company + domain-name: + default: your_company.com examples: - - your-company + - your_company.com type: string - issuer: - default: letsencrypt-prod + sub-domain: + default: okd examples: - - letsencrypt-prod - type: string - app-group: - default: infra - examples: - - infra + - okd type: string dependencies: - dist: null diff --git a/apps/traefik-ui/index.yaml b/apps/traefik-ui/index.yaml index 364356a..fa535ea 100644 --- a/apps/traefik-ui/index.yaml +++ b/apps/traefik-ui/index.yaml @@ -6,35 +6,35 @@ metadata: name: traefik-ui description: Access to the Traefik UI options: - sub-domain: - default: traefik + app-group: + default: infra examples: - - traefik + - infra + type: string + domain: + default: your-company + examples: + - your-company type: string issuer: default: letsencrypt-prod examples: - letsencrypt-prod type: string - ingress-class: - default: traefik - examples: - - traefik - type: string - app-group: - default: infra - examples: - - infra - type: string domain-name: default: your_company.com examples: - your_company.com type: string - domain: - default: your-company + ingress-class: + default: traefik examples: - - your-company + - traefik + type: string + sub-domain: + default: traefik + examples: + - traefik type: string dependencies: - dist: null diff --git a/apps/woodpecker/index.yaml b/apps/woodpecker/index.yaml index 067b179..576b981 100644 --- a/apps/woodpecker/index.yaml +++ b/apps/woodpecker/index.yaml @@ -6,56 +6,6 @@ metadata: name: woodpecker description: null options: - storage-agent: - default: - size: 10Gi - storageClass: '' - writeMany: 'false' - examples: - - size: 10Gi - storageClass: '' - writeMany: 'false' - properties: - size: - default: 10Gi - type: string - storageClass: - default: '' - type: string - writeMany: - default: 'false' - type: string - type: object - timeouts: - default: - default: '60' - max: '120' - examples: - - default: '60' - max: '120' - properties: - default: - default: '60' - type: string - max: - default: '120' - type: string - type: object - domain: - default: your-company - examples: - - your-company - type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - sub-domain: - default: ci - examples: - - ci - type: string storage-server: default: accessMode: ReadWriteOnce @@ -80,11 +30,31 @@ options: examples: - your_company.com type: string - ingress-class: - default: traefik + domain: + default: your-company examples: - - traefik + - your-company type: string + storage-agent: + default: + size: 10Gi + storageClass: '' + writeMany: 'false' + examples: + - size: 10Gi + storageClass: '' + writeMany: 'false' + properties: + size: + default: 10Gi + type: string + storageClass: + default: '' + type: string + writeMany: + default: 'false' + type: string + type: object images: default: agent: @@ -182,6 +152,36 @@ options: type: string type: object type: object + ingress-class: + default: traefik + examples: + - traefik + type: string + sub-domain: + default: ci + examples: + - ci + type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + timeouts: + default: + default: '60' + max: '120' + examples: + - default: '60' + max: '120' + properties: + default: + default: '60' + type: string + max: + default: '120' + type: string + type: object dependencies: - dist: null category: apps diff --git a/modules/ingress/ingress.tf b/modules/ingress/ingress.tf index 98efd32..473df63 100644 --- a/modules/ingress/ingress.tf +++ b/modules/ingress/ingress.tf @@ -19,11 +19,11 @@ resource "kubectl_manifest" "prj_certificate" { apiVersion: "cert-manager.io/v1" kind: "Certificate" metadata: - name: "${var.instance}${var.component==""?:"":"-"}${var.component}" + name: "${var.instance}${var.component==""?"":"-"}${var.component}" namespace: "${var.namespace}" labels: ${jsonencode(var.labels)} spec: - secretName: "${var.instance}${var.component==""?:"":"-"}${var.component}-cert" + secretName: "${var.instance}${var.component==""?"":"-"}${var.component}-cert" dnsNames: ${jsonencode(var.dns-names)} issuerRef: name: "${var.issuer}" @@ -54,7 +54,7 @@ resource "kubectl_manifest" "prj_ingress" { apiVersion: "networking.k8s.io/v1" kind: "Ingress" metadata: - name: "${var.instance}${var.component==""?:"":"-"}${var.component}" + name: "${var.instance}${var.component==""?"":"-"}${var.component}" namespace: "${var.namespace}" labels: ${jsonencode(var.labels)} annotations: @@ -64,6 +64,6 @@ resource "kubectl_manifest" "prj_ingress" { rules: ${jsonencode(local.rules)} tls: - hosts: ${jsonencode(var.dns-names)} - secretName: "${var.instance}${var.component==""?:"":"-"}${var.component}-cert" + secretName: "${var.instance}${var.component==""?"":"-"}${var.component}-cert" EOF }