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 ################################################################################'
20 name: {{ include "ricxapp.fullname" . }}
22 app: {{ include "ricxapp.namespace" . }}-{{ include "ricxapp.name" . }}
23 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
24 release: {{ .Release.Name }}
25 heritage: {{ .Release.Service }}
27 replicas: {{ .Values.ricxapp.replicaCount }}
30 app: {{ include "ricxapp.namespace" . }}-{{ include "ricxapp.name" . }}
31 release: {{ .Release.Name }}
35 app: {{ include "ricxapp.namespace" . }}-{{ include "ricxapp.name" . }}
36 release: {{ .Release.Name }}
38 hostname: {{ include "ricxapp.name" . }}
40 - name: {{ include "ricxapp.imagepullsecret" . }}
42 - name: {{ include "ricxapp.containername" . }}
43 image: "{{ .Values.ricxapp.image.repository }}/{{ .Values.ricxapp.image.name }}:{{ .Values.ricxapp.image.tag }}"
44 imagePullPolicy: {{ .Values.ricxapp.image.pullPolicy }}
47 containerPort: {{ .Values.ricxapp.service.http.containerPort }}
50 containerPort: {{ .Values.ricxapp.service.rmr.route.port }}
53 containerPort: {{ .Values.ricxapp.service.rmr.data.port }}
57 mountPath: {{ .Values.ricxapp.appconfig.path }}
60 name: {{ include "ricxapp.configmapname" . }}-appenv
61 {{- if .Values.ricxapp.livenessProbe }}
63 {{- .Values.ricxapp.livenessProbe | nindent 12 -}}
65 {{- if .Values.ricxapp.readinessProbe }}
67 {{- .Values.ricxapp.readinessProbe | nindent 12 -}}
73 name: {{ include "ricxapp.configmapname" . }}-appconfig