AETHER-572 Expose prometheus exporter ports for OMEC control plane services
Change-Id: I8a726b94f2bd958a814d229e182d6cf7f1f6feed
diff --git a/omec/omec-control-plane/templates/configmap-spgwc.yaml b/omec/omec-control-plane/templates/configmap-spgwc.yaml
index 030a09a..4e3ebef 100644
--- a/omec/omec-control-plane/templates/configmap-spgwc.yaml
+++ b/omec/omec-control-plane/templates/configmap-spgwc.yaml
@@ -26,6 +26,7 @@
PFCP_PORT = 8805
UPF_PFCP_IP = 127.0.0.1
UPF_PFCP_PORT = 8805
+ PROMETHEUS_PORT = {{ .Values.config.spgwc.prometheus.port }}
TRANSMIT_TIMER = 2
PERIODIC_TIMER = 10
TRANSMIT_COUNT = 5
@@ -90,6 +91,7 @@
{{ $value | indent 4 }}
{{- end }}
{{- range $key, $value := .Values.config.spgwc.jsonCfgFiles }}
- {{ $key }}: {{ toJson $value | quote }}
+ {{ $key }}: |-
+{{ toPrettyJson $value | indent 4 }}
{{- end }}
{{- end }}