2 # Copyright © 2018 Amdocs, AT&T
3 # Modifications Copyright © 2018 Bell Canada
4 # Modifications Copyright © 2020 Orange
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
22 name: {{ include "common.fullname" . }}
23 namespace: {{ include "common.namespace" . }}
25 app: {{ include "common.name" . }}
26 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
27 release: {{ include "common.release" . }}
28 heritage: {{ .Release.Service }}
30 replicas: {{ .Values.replicaCount }}
33 app: {{ include "common.name" . }}
37 app: {{ include "common.name" . }}
38 release: {{ include "common.release" . }}
39 name: {{ include "common.name" . }}
41 {{- if .Values.nodeSelector }}
43 {{ toYaml .Values.nodeSelector | indent 8 }}
45 {{- if .Values.affinity }}
47 {{ toYaml .Values.affinity | indent 8 }}
50 - name: {{ include "common.name" . }}
51 image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
52 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
55 value: /opt/app/model-loader/config/
57 - mountPath: /etc/localtime
60 - mountPath: /opt/app/model-loader/config/model-loader.properties
61 subPath: model-loader.properties
62 name: {{ include "common.fullname" . }}-prop-config
63 - mountPath: /opt/app/model-loader/config/auth/
64 name: {{ include "common.fullname" . }}-auth-config
65 - mountPath: /var/log/onap
66 name: {{ include "common.fullname" . }}-logs
67 - mountPath: /opt/app/model-loader/logback.xml
68 name: {{ include "common.fullname" . }}-log-conf
71 - containerPort: {{ .Values.service.internalPort }}
72 - containerPort: {{ .Values.service.internalPort2 }}
74 {{ include "common.resources" . }}
78 image: {{ include "repositoryGenerator.image.logging" . }}
79 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
81 - mountPath: /usr/share/filebeat/filebeat.yml
84 - mountPath: /var/log/onap
85 name: {{ include "common.fullname" . }}-logs
86 - mountPath: /usr/share/filebeat/data
89 {{ include "common.resources" . }}
94 - name: {{ include "common.fullname" . }}-prop-config
96 name: {{ include "common.fullname" . }}-prop
97 - name: {{ include "common.fullname" . }}-auth-config
99 secretName: {{ include "common.fullname" . }}
100 - name: filebeat-conf
103 - name: {{ include "common.fullname" . }}-logs
107 - name: {{ include "common.fullname" . }}-log-conf
109 name: {{ include "common.fullname" . }}-log
110 restartPolicy: {{ .Values.global.restartPolicy | default .Values.restartPolicy }}
112 - name: "{{ include "common.namespace" . }}-docker-registry-key"