X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=helm%2Finfrastructure%2Fsubcharts%2Fkong%2Ftemplates%2Fconfig-custom-server-blocks.yaml;h=4f3394930db1e148b6deabbaed3b9bcce0abaae8;hb=7a43fbd4642448783aaf708d07ca883bf9bc5afd;hp=466aa72cd5bf8221a18a1cf6a22873d729a8cce5;hpb=282e7af25ec053ae6d1c5a399c91c2c323f705cd;p=ric-plt%2Fric-dep.git 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 --- 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: - app: {{ template "kong.name" . }} - chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" - release: "{{ .Release.Name }}" - heritage: "{{ .Release.Service }}" + {{- include "kong.metaLabels" . | nindent 4 }} 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; + location /status { + default_type text/plain; + return 200; + } location /metrics { default_type text/plain; content_by_lua_block {