1 # Copyright © 2019 AT&T Intellectual Property. All rights reserved.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
18 name: {{ include "ric-robot.fullname" . }}
19 namespace: {{ .Release.Namespace }}
21 app: {{ include "ric-robot.name" . }}
22 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
23 release: {{ .Release.Name }}
24 heritage: {{ .Release.Service }}
26 replicas: {{ .Values.replicaCount }}
29 app: {{ include "ric-robot.name" . }}
30 release: {{ .Release.Name }}
33 {{- if .Values.rtmgr.annotations }}
35 {{- .Values.rtmgr.annotations | nindent 8 -}}
38 app: {{ include "ric-robot.name" . }}
39 release: {{ .Release.Name }}
40 robotImplementation: {{ .Values.robotImplementation }}
43 - name: {{ include "ric-robot.name" . }}
44 image: "{{ .Values.image.repository }}/{{ .Values.image.name }}:{{ .Values.image.tag }}"
45 imagePullPolicy: {{ .Values.image.pullPolicy }}
47 - name: RICPLT_NAMESPACE
48 value: {{ .Release.Namespace }}
49 - name: RICPLT_RELEASE_NAME
50 value: {{ .Release.Name }}
51 - name: RICPLT_COMPONENTS
52 value: {{ keys .Values.ric.platform.components | join " " }}
54 - containerPort: {{ .Values.service.port }}
57 port: {{ .Values.service.port }}
58 initialDelaySeconds: 5
62 port: {{ .Values.service.port }}
63 initialDelaySeconds: 5
69 mountPath: /etc/localtime
71 - name: robot-eteshare
72 mountPath: /share/config
74 mountPath: /share/logs
83 - name: robot-eteshare
85 name: {{ include "ric-robot.fullname" . }}-eteshare-configmap
90 - name: {{ .Values.image.repositoryCred }}