This commit is contained in:
2023-10-15 18:24:59 +02:00
parent 84700cb09c
commit 18a8dcff11
2 changed files with 97 additions and 88 deletions

View File

@@ -17,6 +17,11 @@ resource "kubectl_manifest" "deploy" {
securityContext: securityContext:
fsGroup: 1000 fsGroup: 1000
runAsGroup: 1000 runAsGroup: 1000
volumes:
- name: certs
secret:
secretName: "${var.instance}-cert"
defaultMode: 0444
containers: containers:
- name: dbgate - name: dbgate
securityContext: securityContext:
@@ -24,6 +29,10 @@ resource "kubectl_manifest" "deploy" {
runAsGroup: 1000 runAsGroup: 1000
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
volumeMounts:
- name: certs
mountPath: /etc/local-ca
readOnly: true
envFrom: envFrom:
- secretRef: - secretRef:
name: "${var.component}-${var.instance}" name: "${var.component}-${var.instance}"

View File

@@ -6,6 +6,55 @@ metadata:
name: dbgate name: dbgate
description: null description: null
options: options:
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
domain:
default: your-company
examples:
- your-company
type: string
app-group:
default: dev
examples:
- dev
type: string
maria:
default: []
examples:
- []
items:
properties:
dbname:
default: ''
type: string
name:
default: ''
type: string
namespace:
default: ''
type: string
secret:
properties:
key:
default: ''
type: string
name:
default: ''
type: string
type: object
username:
default: ''
type: string
type: object
type: array
sub-domain:
default: dbgate
examples:
- dbgate
type: string
images: images:
default: default:
dbgate: dbgate:
@@ -45,6 +94,45 @@ options:
type: string type: string
type: object type: object
type: object type: object
ingress-class:
default: traefik
examples:
- traefik
type: string
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
mongo:
default: []
examples:
- []
items:
properties:
dbname:
default: ''
type: string
name:
default: ''
type: string
namespace:
default: ''
type: string
secret:
properties:
key:
default: ''
type: string
name:
default: ''
type: string
type: object
username:
default: ''
type: string
type: object
type: array
storage: storage:
default: default:
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
@@ -72,11 +160,6 @@ options:
- Block - Block
type: string type: string
type: object type: object
sub-domain:
default: dbgate
examples:
- dbgate
type: string
pg: pg:
default: [] default: []
examples: examples:
@@ -106,89 +189,6 @@ options:
type: string type: string
type: object type: object
type: array type: array
maria:
default: []
examples:
- []
items:
properties:
dbname:
default: ''
type: string
name:
default: ''
type: string
namespace:
default: ''
type: string
secret:
properties:
key:
default: ''
type: string
name:
default: ''
type: string
type: object
username:
default: ''
type: string
type: object
type: array
domain:
default: your-company
examples:
- your-company
type: string
app-group:
default: dev
examples:
- dev
type: string
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
ingress-class:
default: traefik
examples:
- traefik
type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
mongo:
default: []
examples:
- []
items:
properties:
dbname:
default: ''
type: string
name:
default: ''
type: string
namespace:
default: ''
type: string
secret:
properties:
key:
default: ''
type: string
name:
default: ''
type: string
type: object
username:
default: ''
type: string
type: object
type: array
dependencies: dependencies:
- dist: null - dist: null
category: share category: share