fix
This commit is contained in:
@@ -6,17 +6,7 @@ metadata:
|
||||
name: dbgate
|
||||
description: null
|
||||
options:
|
||||
ingress-class:
|
||||
default: traefik
|
||||
examples:
|
||||
- traefik
|
||||
type: string
|
||||
domain-name:
|
||||
default: your_company.com
|
||||
examples:
|
||||
- your_company.com
|
||||
type: string
|
||||
maria:
|
||||
mongo:
|
||||
default: []
|
||||
examples:
|
||||
- []
|
||||
@@ -45,26 +35,6 @@ options:
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
domain:
|
||||
default: your-company
|
||||
examples:
|
||||
- your-company
|
||||
type: string
|
||||
issuer:
|
||||
default: letsencrypt-prod
|
||||
examples:
|
||||
- letsencrypt-prod
|
||||
type: string
|
||||
use-oauth:
|
||||
default: false
|
||||
examples:
|
||||
- false
|
||||
type: boolean
|
||||
app-group:
|
||||
default: dev
|
||||
examples:
|
||||
- dev
|
||||
type: string
|
||||
images:
|
||||
default:
|
||||
dbgate:
|
||||
@@ -104,7 +74,7 @@ options:
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
mongo:
|
||||
pg:
|
||||
default: []
|
||||
examples:
|
||||
- []
|
||||
@@ -138,7 +108,17 @@ options:
|
||||
examples:
|
||||
- dbgate
|
||||
type: string
|
||||
pg:
|
||||
domain-name:
|
||||
default: your_company.com
|
||||
examples:
|
||||
- your_company.com
|
||||
type: string
|
||||
issuer:
|
||||
default: letsencrypt-prod
|
||||
examples:
|
||||
- letsencrypt-prod
|
||||
type: string
|
||||
maria:
|
||||
default: []
|
||||
examples:
|
||||
- []
|
||||
@@ -167,6 +147,21 @@ options:
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
ingress-class:
|
||||
default: traefik
|
||||
examples:
|
||||
- traefik
|
||||
type: string
|
||||
app-group:
|
||||
default: dev
|
||||
examples:
|
||||
- dev
|
||||
type: string
|
||||
use-oauth:
|
||||
default: false
|
||||
examples:
|
||||
- false
|
||||
type: boolean
|
||||
storage:
|
||||
default:
|
||||
accessMode: ReadWriteOnce
|
||||
@@ -194,6 +189,11 @@ options:
|
||||
- Block
|
||||
type: string
|
||||
type: object
|
||||
domain:
|
||||
default: your-company
|
||||
examples:
|
||||
- your-company
|
||||
type: string
|
||||
dependencies:
|
||||
- dist: null
|
||||
category: share
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
locals {
|
||||
dns-name = "${var.sub-domain}.${var.domain-name}"
|
||||
dns-names = [local.dns-name]
|
||||
app-name = var.component == var.instance ? var.instance : format("%s-%s", var.component, var.instance)
|
||||
icon = "logo192.png"
|
||||
request_headers = {
|
||||
"Content-Type" = "application/json"
|
||||
@@ -36,7 +37,7 @@ module "ingress" {
|
||||
ingress-class = var.ingress-class
|
||||
labels = local.common-labels
|
||||
dns-names = local.dns-names
|
||||
middlewares = ["${var.instance}-https"]
|
||||
middlewares = concat(["${var.instance}-https"], var.use-oauth?[]:["forward-${local.app-name}"])
|
||||
service = local.service
|
||||
providers = {
|
||||
kubectl = kubectl
|
||||
|
||||
Reference in New Issue
Block a user