fix
This commit is contained in:
@@ -12,6 +12,13 @@ module "ingress" {
|
||||
ingress-class = var.ingress-class
|
||||
labels = local.common-labels
|
||||
dns-names = local.dns-names
|
||||
middlewares = ["${var.instance}-https"]
|
||||
service = {
|
||||
"name" = "${var.component}-${var.instance}"
|
||||
"port" = {
|
||||
"number" = 80
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module "application" {
|
||||
|
||||
@@ -6,7 +6,7 @@ metadata:
|
||||
name: dbgate
|
||||
description: null
|
||||
options:
|
||||
maria:
|
||||
pg:
|
||||
default: []
|
||||
examples:
|
||||
- []
|
||||
@@ -35,21 +35,11 @@ options:
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
sub-domain:
|
||||
default: dbgate
|
||||
examples:
|
||||
- dbgate
|
||||
type: string
|
||||
ingress-class:
|
||||
default: traefik
|
||||
examples:
|
||||
- traefik
|
||||
type: string
|
||||
app-group:
|
||||
default: dev
|
||||
examples:
|
||||
- dev
|
||||
type: string
|
||||
images:
|
||||
default:
|
||||
dbgate:
|
||||
@@ -89,22 +79,22 @@ options:
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
domain-name:
|
||||
default: your_company.com
|
||||
examples:
|
||||
- your_company.com
|
||||
type: string
|
||||
issuer:
|
||||
default: letsencrypt-prod
|
||||
examples:
|
||||
- letsencrypt-prod
|
||||
type: string
|
||||
domain:
|
||||
default: your-company
|
||||
sub-domain:
|
||||
default: dbgate
|
||||
examples:
|
||||
- your-company
|
||||
- dbgate
|
||||
type: string
|
||||
use-oauth:
|
||||
default: false
|
||||
examples:
|
||||
- false
|
||||
type: boolean
|
||||
pg:
|
||||
maria:
|
||||
default: []
|
||||
examples:
|
||||
- []
|
||||
@@ -162,6 +152,11 @@ options:
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
app-group:
|
||||
default: dev
|
||||
examples:
|
||||
- dev
|
||||
type: string
|
||||
storage:
|
||||
default:
|
||||
accessMode: ReadWriteOnce
|
||||
@@ -189,10 +184,15 @@ options:
|
||||
- Block
|
||||
type: string
|
||||
type: object
|
||||
domain-name:
|
||||
default: your_company.com
|
||||
use-oauth:
|
||||
default: false
|
||||
examples:
|
||||
- your_company.com
|
||||
- false
|
||||
type: boolean
|
||||
domain:
|
||||
default: your-company
|
||||
examples:
|
||||
- your-company
|
||||
type: string
|
||||
dependencies:
|
||||
- dist: null
|
||||
|
||||
@@ -22,14 +22,8 @@ variable "dns-names" {
|
||||
}
|
||||
variable "middlewares" {
|
||||
type = list(string)
|
||||
default = ["${var.instance}-https"]
|
||||
}
|
||||
variable "service" {
|
||||
default = {
|
||||
"name" = "${var.component}-${var.instance}"
|
||||
"port" = {
|
||||
"number" = 80
|
||||
}
|
||||
}
|
||||
type = object
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user