fix
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user