This commit is contained in:
2023-10-23 13:59:39 +02:00
parent 0d827d671e
commit 0447808b4a
2 changed files with 32 additions and 33 deletions

View File

@@ -112,30 +112,25 @@ options:
type: object
type: object
type: object
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
replicas:
default: 1
examples:
- 1
type: integer
storage:
default: 8Gi
examples:
- 8Gi
type: string
sub-domain:
default: dataset-pg
issuer:
default: letsencrypt-prod
examples:
- dataset-pg
- letsencrypt-prod
type: string
ingress-class:
default: traefik
examples:
- traefik
type: string
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
backups:
default:
@@ -191,15 +186,11 @@ options:
default: backup-settings
type: string
type: object
roles:
default: []
items:
properties:
name:
default: alt-account
type: string
type: object
type: array
replicas:
default: 1
examples:
- 1
type: integer
databases:
default: []
items:
@@ -209,11 +200,20 @@ options:
type: string
type: object
type: array
ingress-class:
default: traefik
sub-domain:
default: dataset-pg
examples:
- traefik
- dataset-pg
type: string
roles:
default: []
items:
properties:
name:
default: alt-account
type: string
type: object
type: array
dependencies:
- dist: null
category: dbo

View File

@@ -38,7 +38,7 @@ resource "kubectl_manifest" "postgrest_config" {
resource "kubectl_manifest" "postgrest_deploy" {
count = var.extentions.postgrest.enable ? 1:0
yaml_body = join("", concat([<<-EOF
yaml_body = join("", concat([<<EOF
apiVersion: apps/v1
kind: Deployment
metadata:
@@ -107,8 +107,7 @@ resource "kubectl_manifest" "postgrest_deploy" {
successThreshold: 1
timeoutSeconds: 1
EOF
], var.extentions.postgrest.swagger.enable?[<<-EOF
], var.extentions.postgrest.swagger.enable?[<<EOF
- name: swagger
securityContext:
fsGroup: 1000