2 # ==================================================================================
3 # Copyright (c) 2019 Nokia
4 # ==================================================================================
10 name: {{ include "ricapp.fullname" . }}
12 app.kubernetes.io/name: {{ include "ricapp.name" . }}
13 helm.sh/chart: {{ include "ricapp.chart" . }}
14 app.kubernetes.io/instance: {{ .Release.Name }}
15 app.kubernetes.io/managed-by: {{ .Release.Service }}
17 replicas: {{ .Values.ricapp.replicaCount }}
20 app.kubernetes.io/name: {{ include "ricapp.name" . }}
21 app.kubernetes.io/instance: {{ .Release.Name }}
25 app.kubernetes.io/name: {{ include "ricapp.name" . }}
26 app.kubernetes.io/instance: {{ .Release.Name }}
28 hostname: {{ .Values.ricapp.hostname }}
30 - name: {{ include "ricxapp.imagepullsecret" . }}
32 - name: {{ .Chart.Name }}
33 image: "{{ .Values.global.repository }}/{{ .Values.ricapp.image.name }}:{{ .Values.ricapp.image.tag }}"
34 imagePullPolicy: {{ .Values.global.image.pullPolicy }}
37 containerPort: {{ .Values.ricapp.service.http.containerPort }}
40 containerPort: {{ .Values.ricapp.service.rmr.containerPort }}
44 mountPath: {{ .Values.ricapp.appconfig.path }}
46 mountPath: {{ .Values.ricapp.cert.path }}
49 path: {{ .Values.ricapp.probes.healthAliveCheckEndpoint }}
51 initialDelaySeconds: 5
55 path: {{ .Values.ricapp.probes.healthReadyCheckEndpoint }}
57 initialDelaySeconds: 5
61 {{- toYaml .Values.ricapp.resources | nindent 12 }}
65 #allowPrivilegeEscalation: false
66 {{- with .Values.ricapp.nodeSelector }}
68 {{- toYaml . | nindent 8 }}
70 {{- with .Values.ricapp.affinity }}
72 {{- toYaml . | nindent 8 }}
74 {{- with .Values.ricapp.tolerations }}
76 {{- toYaml . | nindent 8 }}
82 name: {{ if .Values.ricapp.appconfig.override }}{{ .Values.ricapp.appconfig.override }}{{ else }}{{ .Release.Name }}-appconfig{{ end }}