Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion profisee-platform/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ appVersion: 1.16.0
description: A Helm chart for Profisee Platform on Kubernetes
name: profisee-platform
type: application
version: 0.1.26
version: 0.1.27
14 changes: 14 additions & 0 deletions profisee-platform/templates/ingress-profisee.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,20 @@ metadata:
nginx.ingress.kubernetes.io/proxy-read-timeout: "5400"
nginx.ingress.kubernetes.io/proxy-request-buffering: "off"
nginx.ingress.kubernetes.io/proxy-send-timeout: "5400"
nginx.ingress.kubernetes.io/server-snippet: |
set $block 0;
if ($http_x_gateway_validated != 1) {
set $block 1;
}
if ($http_x_from_agw != 1) {
set $block 0;
}
if ($uri = "/healthcheck" ) {
set $block 0;
}
if ($block = 1) {
return 403;
}
{{- if .Values.profiseeRunTime.isPaaS }}
nginx.ingress.kubernetes.io/rewrite-target: /$1
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions profisee-platform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ sqlServer:
databaseName: "$SQLDBNAME"
userName: "$SQLUSERNAME"
password: "$SQLUSERPASSWORD"
ingress:
impervaHeaderId: ""
profiseeRunTime:
useLetsEncrypt: $USELETSENCRYPT
adminAccount: "$ADMINACCOUNTNAME"
Expand Down