fix
This commit is contained in:
@@ -12,7 +12,7 @@ locals {
|
|||||||
pg_conns = [for pg in var.pg: join("_",["pg", pg.namespace, pg.name, pg.dbname])]
|
pg_conns = [for pg in var.pg: join("_",["pg", pg.namespace, pg.name, pg.dbname])]
|
||||||
|
|
||||||
maria_vars = merge([for m in var.maria: {
|
maria_vars = merge([for m in var.maria: {
|
||||||
join("_",["LABEL_maria", m.namespace, m.name]) = join("|",["maria", m.namespace, pg.name])
|
join("_",["LABEL_maria", m.namespace, m.name]) = join("|",["maria", m.namespace, m.name])
|
||||||
join("_",["ENGINE_maria", m.namespace, m.name]) = "mysql@dbgate-plugin-mysql"
|
join("_",["ENGINE_maria", m.namespace, m.name]) = "mysql@dbgate-plugin-mysql"
|
||||||
join("_",["SERVER_maria", m.namespace, m.name]) = join(".",[m.name, m.namespace, "svc"])
|
join("_",["SERVER_maria", m.namespace, m.name]) = join(".",[m.name, m.namespace, "svc"])
|
||||||
join("_",["PORT_maria", m.namespace, m.name]) = "3306"
|
join("_",["PORT_maria", m.namespace, m.name]) = "3306"
|
||||||
|
|||||||
@@ -6,16 +6,39 @@ metadata:
|
|||||||
name: dbgate
|
name: dbgate
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
ingress-class:
|
ingress-class:
|
||||||
default: traefik
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
type: string
|
type: string
|
||||||
|
redis:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
namespace:
|
||||||
|
type: string
|
||||||
|
default: ''
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
default: ''
|
||||||
|
secret:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
default: ''
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
default: ''
|
||||||
|
examples:
|
||||||
|
- []
|
||||||
|
type: array
|
||||||
|
domain-name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
type: string
|
||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
dbgate:
|
dbgate:
|
||||||
@@ -55,7 +78,22 @@ options:
|
|||||||
tag: 5.2.6-alpine
|
tag: 5.2.6-alpine
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
type: object
|
type: object
|
||||||
mongo:
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
app-group:
|
||||||
|
default: dev
|
||||||
|
examples:
|
||||||
|
- dev
|
||||||
|
type: string
|
||||||
|
maria:
|
||||||
default: []
|
default: []
|
||||||
items:
|
items:
|
||||||
type: object
|
type: object
|
||||||
@@ -66,9 +104,6 @@ options:
|
|||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
dbname:
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
username:
|
username:
|
||||||
type: string
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
@@ -113,70 +148,6 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- []
|
- []
|
||||||
type: array
|
type: array
|
||||||
app-group:
|
|
||||||
default: dev
|
|
||||||
examples:
|
|
||||||
- dev
|
|
||||||
type: string
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
sub-domain:
|
|
||||||
default: dbgate
|
|
||||||
examples:
|
|
||||||
- dbgate
|
|
||||||
type: string
|
|
||||||
maria:
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
namespace:
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
username:
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
secret:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
examples:
|
|
||||||
- []
|
|
||||||
type: array
|
|
||||||
redis:
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
namespace:
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
secret:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
default: ''
|
|
||||||
examples:
|
|
||||||
- []
|
|
||||||
type: array
|
|
||||||
storage:
|
storage:
|
||||||
default:
|
default:
|
||||||
size: 1Gi
|
size: 1Gi
|
||||||
@@ -204,10 +175,39 @@ options:
|
|||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
type: Filesystem
|
type: Filesystem
|
||||||
type: object
|
type: object
|
||||||
issuer:
|
mongo:
|
||||||
default: letsencrypt-prod
|
default: []
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
namespace:
|
||||||
|
type: string
|
||||||
|
default: ''
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
default: ''
|
||||||
|
dbname:
|
||||||
|
type: string
|
||||||
|
default: ''
|
||||||
|
username:
|
||||||
|
type: string
|
||||||
|
default: ''
|
||||||
|
secret:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
default: ''
|
||||||
|
key:
|
||||||
|
type: string
|
||||||
|
default: ''
|
||||||
examples:
|
examples:
|
||||||
- letsencrypt-prod
|
- []
|
||||||
|
type: array
|
||||||
|
sub-domain:
|
||||||
|
default: dbgate
|
||||||
|
examples:
|
||||||
|
- dbgate
|
||||||
type: string
|
type: string
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
|
|||||||
Reference in New Issue
Block a user