This commit is contained in:
2024-01-26 20:02:18 +01:00
parent 86051b28b0
commit 937c229f92
2 changed files with 66 additions and 66 deletions

View File

@@ -82,7 +82,7 @@ resource "kubectl_manifest" "gitea" {
distrib: "${var.distributions.domain}" distrib: "${var.distributions.domain}"
category: "apps" category: "apps"
component: "gitea" component: "gitea"
options: ${jsonencode(merge(local.global, local.gitea-storage, local.gitea))} options: ${jsonencode(local.gitea)}
EOF EOF
} }
@@ -100,6 +100,6 @@ resource "kubectl_manifest" "woodpecker" {
distrib: "${var.distributions.domain}" distrib: "${var.distributions.domain}"
category: "apps" category: "apps"
component: "woodpecker" component: "woodpecker"
options: ${jsonencode(merge(local.global, local.woodpecker-storage, local.woodpecker))} options: ${jsonencode(local.woodpecker)}
EOF EOF
} }

View File

@@ -6,28 +6,61 @@ metadata:
name: domain-ci name: domain-ci
description: null description: null
options: options:
domain:
default: your-company
examples:
- your-company
type: string
language:
default: fr_FR
examples:
- fr_FR
type: string
timezone: timezone:
default: Europe/Paris default: Europe/Paris
examples: examples:
- Europe/Paris - Europe/Paris
type: string type: string
woodpecker: issuer:
default: default: letsencrypt-prod
enable: false
examples: examples:
- enable: false - letsencrypt-prod
type: string
ingress_class:
default: traefik
examples:
- traefik
type: string
app_group:
default: infra
examples:
- infra
type: string
distributions:
default:
core: core
domain: domain
examples:
- core: core
domain: domain
properties: properties:
enable: core:
default: false default: core
type: boolean type: string
domain:
default: domain
type: string
type: object type: object
x-vynil-category: apps
x-vynil-package: woodpecker
sso_vynil: sso_vynil:
default: true default: true
examples: examples:
- true - true
type: boolean type: boolean
domain_name:
default: your-company.com
examples:
- your-company.com
type: string
backups: backups:
default: default:
enable: false enable: false
@@ -68,48 +101,6 @@ options:
default: false default: false
type: boolean type: boolean
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
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
language:
default: fr_FR
examples:
- fr_FR
type: string
domain_name:
default: your-company.com
examples:
- your-company.com
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
storage: storage:
default: default:
volume: volume:
@@ -133,21 +124,30 @@ options:
type: string type: string
type: object type: object
type: object type: object
app_group: gitea:
default: infra default:
enable: true
examples: examples:
- infra - enable: true
type: string properties:
domain: enable:
default: your-company default: true
type: boolean
type: object
x-vynil-category: apps
x-vynil-package: gitea
woodpecker:
default:
enable: false
examples: examples:
- your-company - enable: false
type: string properties:
ingress_class: enable:
default: traefik default: false
examples: type: boolean
- traefik type: object
type: string x-vynil-category: apps
x-vynil-package: woodpecker
dependencies: [] dependencies: []
providers: providers:
kubernetes: true kubernetes: true