fix
This commit is contained in:
@@ -62,7 +62,10 @@ resource "kubectl_manifest" "dbgate-init" {
|
|||||||
labels: ${jsonencode(local.common-labels)}
|
labels: ${jsonencode(local.common-labels)}
|
||||||
data:
|
data:
|
||||||
start.sh: |-
|
start.sh: |-
|
||||||
[ -e /etc/local-ca/ca.crt ] && cat /etc/local-ca/ca.crt >> /etc/ssl/certs/ca-certificates.crt
|
if [ -e /etc/local-ca/ca.crt ];then
|
||||||
|
cp /etc/local-ca/ca.crt /usr/local/share/ca-certificates/
|
||||||
|
update-ca-certificates
|
||||||
|
fi
|
||||||
exec /bin/su node -c /home/dbgate-docker/entrypoint.sh "$@"
|
exec /bin/su node -c /home/dbgate-docker/entrypoint.sh "$@"
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,11 +6,6 @@ metadata:
|
|||||||
name: dbgate
|
name: dbgate
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
storage:
|
storage:
|
||||||
default:
|
default:
|
||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
@@ -43,40 +38,6 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- your_company.com
|
||||||
type: string
|
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
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
pg:
|
pg:
|
||||||
default: []
|
default: []
|
||||||
examples:
|
examples:
|
||||||
@@ -112,20 +73,20 @@ options:
|
|||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: dbgate/dbgate
|
repository: dbgate/dbgate
|
||||||
tag: 5.2.6-alpine
|
tag: 5.2.7
|
||||||
examples:
|
examples:
|
||||||
- dbgate:
|
- dbgate:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: dbgate/dbgate
|
repository: dbgate/dbgate
|
||||||
tag: 5.2.6-alpine
|
tag: 5.2.7
|
||||||
properties:
|
properties:
|
||||||
dbgate:
|
dbgate:
|
||||||
default:
|
default:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: dbgate/dbgate
|
repository: dbgate/dbgate
|
||||||
tag: 5.2.6-alpine
|
tag: 5.2.7
|
||||||
properties:
|
properties:
|
||||||
pullPolicy:
|
pullPolicy:
|
||||||
default: IfNotPresent
|
default: IfNotPresent
|
||||||
@@ -141,7 +102,7 @@ options:
|
|||||||
default: dbgate/dbgate
|
default: dbgate/dbgate
|
||||||
type: string
|
type: string
|
||||||
tag:
|
tag:
|
||||||
default: 5.2.6-alpine
|
default: 5.2.7
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
@@ -150,11 +111,45 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
type: string
|
type: string
|
||||||
app-group:
|
domain:
|
||||||
default: dev
|
default: your-company
|
||||||
examples:
|
examples:
|
||||||
- dev
|
- your-company
|
||||||
type: string
|
type: string
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
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:
|
sub-domain:
|
||||||
default: dbgate
|
default: dbgate
|
||||||
examples:
|
examples:
|
||||||
@@ -189,6 +184,11 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
|
app-group:
|
||||||
|
default: dev
|
||||||
|
examples:
|
||||||
|
- dev
|
||||||
|
type: string
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: share
|
category: share
|
||||||
|
|||||||
Reference in New Issue
Block a user