+
+---
+
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.configmapname.e2mgr" . }}-configuration-configmap
+ namespace: {{ include "common.namespace.platform" . }}
+data:
+ configuration.yaml: |
+ logging:
+ {{- if hasKey .Values.e2mgr "logLevel" }}
+ logLevel: {{ .Values.e2mgr.logLevel }}
+ {{- else }}
+ logLevel: "info"
+ {{- end }}
+ http:
+ {{- if hasKey .Values.e2mgr "httpPort" }}
+ port: {{ .Values.e2mgr.httpPort }}
+ {{- else }}
+ port: 3800
+ {{- end }}
+ rmr:
+ {{- if hasKey .Values.e2mgr "rmrPort" }}
+ port: {{ .Values.e2mgr.rmrPort }}
+ {{- else }}
+ port: 3801
+ {{- end }}
+ {{- if hasKey .Values.e2mgr "maxMsgSize" }}
+ maxMsgSize: {{ .Values.e2mgr.maxMsgSize }}
+ {{- else }}
+ maxMsgSize: 4096
+ {{- end }}
+
+ {{- if hasKey .Values.e2mgr "notificationResponseBuffer" }}
+ notificationResponseBuffer: {{ .Values.e2mgr.notificationResponseBuffer }}
+ {{- else }}
+ notificationResponseBuffer: 100
+ {{- end }}
+
+ {{- if hasKey .Values.e2mgr "bigRedButtonTimeoutSec" }}
+ bigRedButtonTimeoutSec: {{ .Values.e2mgr.bigRedButtonTimeoutSec }}
+ {{- else }}
+ bigRedButtonTimeoutSec: 5
+ {{- end }}
+
+ {{- if hasKey .Values.e2mgr "maxConnectionAttempts" }}
+ maxConnectionAttempts: {{ .Values.e2mgr.maxConnectionAttempts }}
+ {{- else }}
+ maxConnectionAttempts: 3
+ {{- end }}
+
+ {{- if hasKey .Values.e2mgr "maxRnibConnectionAttempts" }}
+ maxRnibConnectionAttempts: {{ .Values.e2mgr.maxRnibConnectionAttempts }}
+ {{- else }}
+ maxRnibConnectionAttempts: 3
+ {{- end }}
+
+ {{- if hasKey .Values.e2mgr "rnibRetryIntervalMs" }}
+ rnibRetryIntervalMs: {{ .Values.e2mgr.rnibRetryIntervalMs }}
+ {{- else }}
+ rnibRetryIntervalMs: 10
+ {{- end }}
+
+ {{- if hasKey .Values.e2mgr "keepAliveResponseTimeoutMs" }}
+ keepAliveResponseTimeoutMs: {{ .Values.e2mgr.keepAliveResponseTimeoutMs }}
+ {{- else }}
+ keepAliveResponseTimeoutMs: 1500
+ {{- end }}
+
+ {{- if hasKey .Values.e2mgr "keepAliveDelayMs" }}
+ keepAliveDelayMs: {{ .Values.e2mgr.keepAliveDelayMs }}
+ {{- else }}
+ keepAliveDelayMs: 500
+ {{- end }}
+
+---