fix
This commit is contained in:
@@ -6,25 +6,6 @@ metadata:
|
|||||||
name: dataset-pg
|
name: dataset-pg
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
replicas:
|
|
||||||
default: 1
|
|
||||||
examples:
|
|
||||||
- 1
|
|
||||||
type: integer
|
|
||||||
databases:
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
default: db
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
extentions:
|
extentions:
|
||||||
default:
|
default:
|
||||||
pool:
|
pool:
|
||||||
@@ -131,35 +112,40 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
storage:
|
issuer:
|
||||||
default: 8Gi
|
default: letsencrypt-prod
|
||||||
examples:
|
examples:
|
||||||
- 8Gi
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
ingress-class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
|
databases:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
default: db
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
domain-name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
type: string
|
type: string
|
||||||
sub-domain:
|
sub-domain:
|
||||||
default: dataset-pg
|
default: dataset-pg
|
||||||
examples:
|
examples:
|
||||||
- dataset-pg
|
- dataset-pg
|
||||||
type: string
|
type: string
|
||||||
issuer:
|
replicas:
|
||||||
default: letsencrypt-prod
|
default: 1
|
||||||
examples:
|
examples:
|
||||||
- letsencrypt-prod
|
- 1
|
||||||
type: string
|
type: integer
|
||||||
roles:
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
default: alt-account
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
ingress-class:
|
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
|
||||||
backups:
|
backups:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
@@ -214,6 +200,20 @@ options:
|
|||||||
default: backup-settings
|
default: backup-settings
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
storage:
|
||||||
|
default: 8Gi
|
||||||
|
examples:
|
||||||
|
- 8Gi
|
||||||
|
type: string
|
||||||
|
roles:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
default: alt-account
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: dbo
|
category: dbo
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ resource "kubectl_manifest" "postgrest_config" {
|
|||||||
PGHOST: "${var.instance}-${var.component}-rw.${var.namespace}.svc"
|
PGHOST: "${var.instance}-${var.component}-rw.${var.namespace}.svc"
|
||||||
PGPORT: "5432"
|
PGPORT: "5432"
|
||||||
PGRST_OPENAPI_SERVER_PROXY_URI: "https://${local.prest-dns-name}"
|
PGRST_OPENAPI_SERVER_PROXY_URI: "https://${local.prest-dns-name}"
|
||||||
|
PGRST_ADMIN_SERVER_PORT: "9000"
|
||||||
API_URL: "https://${local.prest-dns-name}"
|
API_URL: "https://${local.prest-dns-name}"
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
@@ -84,11 +85,14 @@ resource "kubectl_manifest" "postgrest_deploy" {
|
|||||||
- containerPort: 3000
|
- containerPort: 3000
|
||||||
name: http
|
name: http
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
- containerPort: 9000
|
||||||
|
name: admin
|
||||||
|
protocol: TCP
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /live
|
||||||
port: http
|
port: admin
|
||||||
scheme: HTTP
|
scheme: HTTP
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
@@ -96,8 +100,8 @@ resource "kubectl_manifest" "postgrest_deploy" {
|
|||||||
readinessProbe:
|
readinessProbe:
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /ready
|
||||||
port: http
|
port: admin
|
||||||
scheme: HTTP
|
scheme: HTTP
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user