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