diff --git a/apps/dbgate/configs.tf b/apps/dbgate/configs.tf index f37c482..a55a3e9 100644 --- a/apps/dbgate/configs.tf +++ b/apps/dbgate/configs.tf @@ -63,7 +63,7 @@ resource "kubectl_manifest" "dbgate-init" { data: start.sh: |- [ -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 "$@" + exec /bin/su node -c /home/dbgate-docker/entrypoint.sh "$@" EOF } diff --git a/apps/dbgate/index.yaml b/apps/dbgate/index.yaml index ec76373..079cf11 100644 --- a/apps/dbgate/index.yaml +++ b/apps/dbgate/index.yaml @@ -11,6 +11,33 @@ options: examples: - letsencrypt-prod type: string + storage: + default: + accessMode: ReadWriteOnce + size: 1Gi + type: Filesystem + examples: + - accessMode: ReadWriteOnce + size: 1Gi + type: Filesystem + properties: + accessMode: + default: ReadWriteOnce + enum: + - ReadWriteOnce + - ReadOnlyMany + - ReadWriteMany + type: string + size: + default: 1Gi + type: string + type: + default: Filesystem + enum: + - Filesystem + - Block + type: string + type: object domain-name: default: your_company.com examples: @@ -45,7 +72,12 @@ options: type: string type: object type: array - mongo: + domain: + default: your-company + examples: + - your-company + type: string + pg: default: [] examples: - [] @@ -113,7 +145,22 @@ options: type: string type: object type: object - pg: + ingress-class: + default: traefik + examples: + - traefik + type: string + app-group: + default: dev + examples: + - dev + type: string + sub-domain: + default: dbgate + examples: + - dbgate + type: string + mongo: default: [] examples: - [] @@ -142,53 +189,6 @@ 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 - app-group: - default: dev - examples: - - dev - type: string - storage: - default: - accessMode: ReadWriteOnce - size: 1Gi - type: Filesystem - examples: - - accessMode: ReadWriteOnce - size: 1Gi - type: Filesystem - properties: - accessMode: - default: ReadWriteOnce - enum: - - ReadWriteOnce - - ReadOnlyMany - - ReadWriteMany - type: string - size: - default: 1Gi - type: string - type: - default: Filesystem - enum: - - Filesystem - - Block - type: string - type: object dependencies: - dist: null category: share