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

@@ -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