fix
This commit is contained in:
@@ -62,11 +62,8 @@ resource "kubectl_manifest" "dbgate-init" {
|
||||
labels: ${jsonencode(local.common-labels)}
|
||||
data:
|
||||
start.sh: |-
|
||||
mkdir -p /usr/local/share/ca-certificates/
|
||||
cp /etc/local-ca/ca.crt /usr/local/share/ca-certificates/
|
||||
/usr/sbin/update-ca-certificates
|
||||
/bin/su - node -c /home/dbgate/entrypoint.sh "$@"
|
||||
sleep infinity
|
||||
[ -e /etc/local-ca/ca.crt ] && cat /etc/local-ca/ca.crt >> /etc/ssl/certs/ca-certificates.crt
|
||||
exec /bin/su - node -c /home/dbgate-docker/entrypoint.sh "$@"
|
||||
EOF
|
||||
}
|
||||
|
||||
|
||||
@@ -6,12 +6,17 @@ metadata:
|
||||
name: dbgate
|
||||
description: null
|
||||
options:
|
||||
issuer:
|
||||
default: letsencrypt-prod
|
||||
examples:
|
||||
- letsencrypt-prod
|
||||
type: string
|
||||
domain-name:
|
||||
default: your_company.com
|
||||
examples:
|
||||
- your_company.com
|
||||
type: string
|
||||
pg:
|
||||
maria:
|
||||
default: []
|
||||
examples:
|
||||
- []
|
||||
@@ -40,11 +45,35 @@ options:
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
sub-domain:
|
||||
default: dbgate
|
||||
mongo:
|
||||
default: []
|
||||
examples:
|
||||
- dbgate
|
||||
- []
|
||||
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
|
||||
images:
|
||||
default:
|
||||
dbgate:
|
||||
@@ -84,7 +113,7 @@ options:
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
maria:
|
||||
pg:
|
||||
default: []
|
||||
examples:
|
||||
- []
|
||||
@@ -113,55 +142,26 @@ options:
|
||||
type: string
|
||||
type: object
|
||||
type: array
|
||||
domain:
|
||||
default: your-company
|
||||
examples:
|
||||
- your-company
|
||||
type: string
|
||||
sub-domain:
|
||||
default: dbgate
|
||||
examples:
|
||||
- dbgate
|
||||
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
|
||||
app-group:
|
||||
default: dev
|
||||
examples:
|
||||
- dev
|
||||
type: string
|
||||
domain:
|
||||
default: your-company
|
||||
examples:
|
||||
- your-company
|
||||
type: string
|
||||
storage:
|
||||
default:
|
||||
accessMode: ReadWriteOnce
|
||||
|
||||
Reference in New Issue
Block a user