This commit is contained in:
2023-07-14 12:53:52 +02:00
parent 284dc650c4
commit 4c33e34f45
13 changed files with 204 additions and 128 deletions

View File

@@ -35,7 +35,7 @@ resource "kubectl_manifest" "gitea" {
namespace: "${var.namespace}-ci"
labels: ${jsonencode(local.common-labels)}
spec:
distrib: "core"
distrib: "${var.distributions.domain}"
category: "apps"
component: "gitea"
options: ${jsonencode(merge(local.global, local.gitea))}

View File

@@ -6,16 +6,6 @@ metadata:
name: domain-ci
description: null
options:
gitea:
default:
enable: true
examples:
- enable: true
properties:
enable:
default: true
type: boolean
type: object
domain-name:
default: your_company.com
examples:
@@ -36,6 +26,31 @@ options:
examples:
- traefik
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
gitea:
default:
enable: true
examples:
- enable: true
properties:
enable:
default: true
type: boolean
type: object
dependencies: []
providers:
kubernetes: true