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: {{ .Chart.Name }}
31 image: "{{ .Values.global.repository }}/{{ .Values.ricapp.image.name }}:{{ .Values.ricapp.image.tag }}"
32 imagePullPolicy: {{ .Values.global.image.pullPolicy }}
35 containerPort: {{ .Values.ricapp.service.port }}
38 containerPort: {{ .Values.ricapp.service.rmrPort }}
42 mountPath: {{ .Values.ricapp.appconfig.path }}
44 mountPath: {{ .Values.ricapp.cert.path }}
47 path: {{ .Values.ricapp.probes.healthAliveCheckEndpoint }}
49 initialDelaySeconds: 5
53 path: {{ .Values.ricapp.probes.healthReadyCheckEndpoint }}
55 initialDelaySeconds: 5
59 {{- toYaml .Values.ricapp.resources | nindent 12 }}
63 #allowPrivilegeEscalation: false
64 {{- with .Values.ricapp.nodeSelector }}
66 {{- toYaml . | nindent 8 }}
68 {{- with .Values.ricapp.affinity }}
70 {{- toYaml . | nindent 8 }}
72 {{- with .Values.ricapp.tolerations }}
74 {{- toYaml . | nindent 8 }}
80 name: {{ if .Values.ricapp.appconfig.override }}{{ .Values.ricapp.appconfig.override }}{{ else }}{{ .Release.Name }}-appconfig{{ end }}