1 ################################################################################
2 # Copyright (c) 2019 AT&T Intellectual Property. #
3 # Copyright (c) 2019 Nokia. #
5 # Licensed under the Apache License, Version 2.0 (the "License"); #
6 # you may not use this file except in compliance with the License. #
7 # You may obtain a copy of the License at #
9 # http://www.apache.org/licenses/LICENSE-2.0 #
11 # Unless required by applicable law or agreed to in writing, software #
12 # distributed under the License is distributed on an "AS IS" BASIS, #
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14 # See the License for the specific language governing permissions and #
15 # limitations under the License. #
16 ################################################################################
21 name: {{ include "common.deploymentname.rtmgr" . }}
22 namespace: {{ include "common.namespace.platform" . }}
24 app: {{ include "common.namespace.platform" . }}-{{ include "common.name.rtmgr" . }}
25 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
26 release: {{ .Release.Name }}
27 heritage: {{ .Release.Service }}
29 replicas: {{ .Values.rtmgr.replicaCount }}
32 app: {{ include "common.namespace.platform" . }}-{{ include "common.name.rtmgr" . }}
33 release: {{ .Release.Name }}
36 {{- if .Values.rtmgr.annotations }}
38 {{- .Values.rtmgr.annotations | nindent 8 -}}
41 app: {{ include "common.namespace.platform" . }}-{{ include "common.name.rtmgr" . }}
42 release: {{ .Release.Name }}
44 hostname: {{ include "common.name.rtmgr" . }}
46 - name: {{ include "common.repositoryCred" . }}
48 - name: {{ include "common.containername.rtmgr" . }}
49 image: {{ include "common.repository" . }}/{{ .Values.rtmgr.image.name }}:{{ .Values.rtmgr.image.tag }}
50 imagePullPolicy: {{ include "common.pullPolicy" . }}
51 command: ["/run_rtmgr.sh"]
53 #args: ["-c", "while true; do echo hello; sleep 10;done"]
56 name: {{ include "common.configmapname.rtmgr" . }}-env
63 containerPort: {{ include "common.serviceport.rtmgr.http" . }}
65 containerPort: {{ include "common.serviceport.rtmgr.rmr.route" . }}
67 containerPort: {{ include "common.serviceport.rtmgr.rmr.data" . }}
71 name: {{ include "common.configmapname.rtmgr" . }}-rtmgrcfg
74 path: rtmgr-config.yaml