fix
This commit is contained in:
@@ -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