| ################################################################################ |
| # Copyright (c) 2019 AT&T Intellectual Property. # |
| # # |
| # Licensed under the Apache License, Version 2.0 (the "License"); # |
| # you may not use this file except in compliance with the License. # |
| # You may obtain a copy of the License at # |
| # # |
| # http://www.apache.org/licenses/LICENSE-2.0 # |
| # # |
| # Unless required by applicable law or agreed to in writing, software # |
| # distributed under the License is distributed on an "AS IS" BASIS, # |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # |
| # See the License for the specific language governing permissions and # |
| # limitations under the License. # |
| ################################################################################ |
| --- |
| apiVersion: v1 |
| kind: ConfigMap |
| metadata: |
| name: {{ include "common.configmapname.rsm" . }}-router-configmap |
| namespace: {{ include "common.namespace.platform" . }} |
| data: |
| rmr_verbose: | |
| 0 |
| router.txt: | |
| newrt|start |
| rte|10090|{{ include "common.servicename.e2term.rmr" . }}.{{ include "common.namespace.platform" . }}:{{ include "common.serviceport.e2term.rmr.data" . }} |
| newrt|end |
| --- |
| apiVersion: v1 |
| kind: ConfigMap |
| metadata: |
| name: {{ include "common.configmapname.rsm" . }} |
| namespace: {{ include "common.namespace.platform" . }} |
| data: |
| configuration.yaml: | |
| logging: |
| {{- if hasKey .Values.rsm "logLevel" }} |
| logLevel: {{ .Values.rsm.logLevel }} |
| {{- else }} |
| logLevel: "info" |
| {{- end }} |
| http: |
| {{- if hasKey .Values.rsm "httpPort" }} |
| port: {{ .Values.rsm.httpPort }} |
| {{- else }} |
| port: 4800 |
| {{- end }} |
| rmr: |
| {{- if hasKey .Values.rsm "rmrPort" }} |
| port: {{ .Values.rsm.rmrPort }} |
| {{- else }} |
| port: 4801 |
| {{- end }} |
| {{- if hasKey .Values.rsm "maxMsgSize" }} |
| maxMsgSize: {{ .Values.rsm.maxMsgSize }} |
| {{- else }} |
| maxMsgSize: 4096 |
| {{- end }} |
| {{- if hasKey .Values.rsm "readyIntervalSec" }} |
| readyIntervalSec: {{ .Values.rsm.readyIntervalSec }} |
| {{- else }} |
| readyIntervalSec: 1 |
| {{- end }} |
| rnib: |
| {{- if hasKey .Values.rsm "maxRnibConnectionAttempts" }} |
| maxRnibConnectionAttempts: {{ .Values.rsm.maxRnibConnectionAttempts }} |
| {{- else }} |
| maxRnibConnectionAttempts: 3 |
| {{- end }} |
| {{- if hasKey .Values.rsm "rnibRetryIntervalMs" }} |
| rnibRetryIntervalMs: {{ .Values.rsm.rnibRetryIntervalMs }} |
| {{- else }} |
| rnibRetryIntervalMs: 10 |
| {{- end }} |
| --- |