Fix
This commit is contained in:
@@ -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))}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user