1 # Copyright © 2018 Amdocs, AT&T
2 # Modifications Copyright © 2018 Bell Canada
3 # Modifications Copyright © 2020 Orange
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.
20 name: {{ include "common.fullname" . }}
21 namespace: {{ include "common.namespace" . }}
23 app: {{ include "common.name" . }}
24 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
25 release: {{ include "common.release" . }}
26 heritage: {{ .Release.Service }}
28 replicas: {{ .Values.replicaCount }}
31 app: {{ include "common.name" . }}
35 app: {{ include "common.name" . }}
36 release: {{ include "common.release" . }}
37 name: {{ include "common.name" . }}
39 {{- if .Values.nodeSelector }}
41 {{ toYaml .Values.nodeSelector | indent 8 }}
43 {{- if .Values.affinity }}
45 {{ toYaml .Values.affinity | indent 8 }}
48 - name: {{ include "common.name" . }}
49 image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
50 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
53 value: /opt/app/model-loader/config/
55 - mountPath: /etc/localtime
58 - mountPath: /opt/app/model-loader/config/model-loader.properties
59 subPath: model-loader.properties
60 name: {{ include "common.fullname" . }}-prop-config
61 - mountPath: /opt/app/model-loader/config/auth/
62 name: {{ include "common.fullname" . }}-auth-config
63 - mountPath: /var/log/onap
64 name: {{ include "common.fullname" . }}-logs
65 - mountPath: /opt/app/model-loader/logback.xml
66 name: {{ include "common.fullname" . }}-log-conf
69 - containerPort: {{ .Values.service.internalPort }}
70 - containerPort: {{ .Values.service.internalPort2 }}
72 {{ include "common.resources" . }}
76 image: {{ include "repositoryGenerator.image.logging" . }}
77 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
79 - mountPath: /usr/share/filebeat/filebeat.yml
82 - mountPath: /var/log/onap
83 name: {{ include "common.fullname" . }}-logs
84 - mountPath: /usr/share/filebeat/data
87 {{ include "common.resources" . }}
92 - name: {{ include "common.fullname" . }}-prop-config
94 name: {{ include "common.fullname" . }}-prop
95 - name: {{ include "common.fullname" . }}-auth-config
97 secretName: {{ include "common.fullname" . }}
101 - name: {{ include "common.fullname" . }}-logs
105 - name: {{ include "common.fullname" . }}-log-conf
107 name: {{ include "common.fullname" . }}-log
108 restartPolicy: {{ .Values.global.restartPolicy | default .Values.restartPolicy }}
110 - name: "{{ include "common.namespace" . }}-docker-registry-key"