fix
This commit is contained in:
@@ -107,7 +107,8 @@ resource "kubectl_manifest" "postgrest_deploy" {
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
EOF
|
||||
], var.extentions.postgrest.swagger.enable&&false?[<<-EOF
|
||||
], var.extentions.postgrest.swagger.enable?[<<-EOF
|
||||
|
||||
- name: swagger
|
||||
securityContext:
|
||||
fsGroup: 1000
|
||||
@@ -123,24 +124,6 @@ EOF
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: "${var.component}-${var.instance}-postgrest"
|
||||
livenessProbe:
|
||||
failureThreshold: 3
|
||||
httpGet:
|
||||
path: /
|
||||
port: swagger
|
||||
scheme: HTTP
|
||||
periodSeconds: 10
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
readinessProbe:
|
||||
failureThreshold: 3
|
||||
httpGet:
|
||||
path: /
|
||||
port: swagger
|
||||
scheme: HTTP
|
||||
periodSeconds: 10
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
EOF
|
||||
]:[""]))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user