fix
This commit is contained in:
@@ -88,7 +88,7 @@ resource "gitea_public_key" "user-ci-keys" {
|
|||||||
|
|
||||||
resource "gitea_org" "orga" {
|
resource "gitea_org" "orga" {
|
||||||
count = var.haveGitea?1:0
|
count = var.haveGitea?1:0
|
||||||
name = "${var.instance}"
|
name = "${trimprefix(var.instance,"org-")}"
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "gitea_repository" "deploy" {
|
resource "gitea_repository" "deploy" {
|
||||||
|
|||||||
@@ -6,57 +6,36 @@ metadata:
|
|||||||
name: organisation
|
name: organisation
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
haveGitea:
|
|
||||||
default: false
|
|
||||||
examples:
|
|
||||||
- false
|
|
||||||
type: boolean
|
|
||||||
datasets:
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
engine:
|
|
||||||
default: pg
|
|
||||||
type: string
|
|
||||||
name:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
domain-name:
|
domain-name:
|
||||||
default: your_company.com
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- your_company.com
|
||||||
type: string
|
type: string
|
||||||
stages:
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
default: prod
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
app-group:
|
app-group:
|
||||||
default: dev
|
default: dev
|
||||||
examples:
|
examples:
|
||||||
- dev
|
- dev
|
||||||
type: string
|
type: string
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
issuer:
|
issuer:
|
||||||
default: letsencrypt-prod
|
default: letsencrypt-prod
|
||||||
examples:
|
examples:
|
||||||
- letsencrypt-prod
|
- letsencrypt-prod
|
||||||
type: string
|
type: string
|
||||||
ingress-class:
|
distributions:
|
||||||
default: traefik
|
default:
|
||||||
|
core: core
|
||||||
|
domain: domain
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- core: core
|
||||||
type: string
|
domain: domain
|
||||||
|
properties:
|
||||||
|
core:
|
||||||
|
default: core
|
||||||
|
type: string
|
||||||
|
domain:
|
||||||
|
default: domain
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
backups:
|
backups:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
@@ -87,21 +66,42 @@ options:
|
|||||||
default: backup-settings
|
default: backup-settings
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
distributions:
|
ingress-class:
|
||||||
default:
|
default: traefik
|
||||||
core: core
|
|
||||||
domain: domain
|
|
||||||
examples:
|
examples:
|
||||||
- core: core
|
- traefik
|
||||||
domain: domain
|
type: string
|
||||||
properties:
|
domain:
|
||||||
core:
|
default: your-company
|
||||||
default: core
|
examples:
|
||||||
type: string
|
- your-company
|
||||||
domain:
|
type: string
|
||||||
default: domain
|
haveGitea:
|
||||||
type: string
|
default: false
|
||||||
type: object
|
examples:
|
||||||
|
- false
|
||||||
|
type: boolean
|
||||||
|
datasets:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
engine:
|
||||||
|
default: pg
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
stages:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
default: prod
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: true
|
kubernetes: true
|
||||||
|
|||||||
Reference in New Issue
Block a user