Code Review
/
ric-plt
/
ric-dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update Kong ingress controller to version 1.4. It fixes the occasional 404 error.
[ric-plt/ric-dep.git]
/
helm
/
infrastructure
/
subcharts
/
kong
/
templates
/
config-custom-server-blocks.yaml
diff --git
a/helm/infrastructure/subcharts/kong/templates/config-custom-server-blocks.yaml
b/helm/infrastructure/subcharts/kong/templates/config-custom-server-blocks.yaml
index
466aa72
..
4f33949
100755
(executable)
--- a/
helm/infrastructure/subcharts/kong/templates/config-custom-server-blocks.yaml
+++ b/
helm/infrastructure/subcharts/kong/templates/config-custom-server-blocks.yaml
@@
-3,17
+3,18
@@
kind: ConfigMap
metadata:
name: {{ template "kong.fullname" . }}-default-custom-server-blocks
labels:
metadata:
name: {{ template "kong.fullname" . }}-default-custom-server-blocks
labels:
- app: {{ template "kong.name" . }}
- chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
- release: "{{ .Release.Name }}"
- heritage: "{{ .Release.Service }}"
+ {{- include "kong.metaLabels" . | nindent 4 }}
data:
servers.conf: |
data:
servers.conf: |
- # Prometheus metrics server
+ # Prometheus metrics
and health-checking
server
server {
server_name kong_prometheus_exporter;
listen 0.0.0.0:9542; # can be any other port as well
access_log off;
server {
server_name kong_prometheus_exporter;
listen 0.0.0.0:9542; # can be any other port as well
access_log off;
+ location /status {
+ default_type text/plain;
+ return 200;
+ }
location /metrics {
default_type text/plain;
content_by_lua_block {
location /metrics {
default_type text/plain;
content_by_lua_block {