1 ################################################################################
\r
2 # Copyright (c) 2019 AT&T Intellectual Property. #
\r
3 # Copyright (c) 2019 Nokia. #
\r
5 # Licensed under the Apache License, Version 2.0 (the "License"); #
\r
6 # you may not use this file except in compliance with the License. #
\r
7 # You may obtain a copy of the License at #
\r
9 # http://www.apache.org/licenses/LICENSE-2.0 #
\r
11 # Unless required by applicable law or agreed to in writing, software #
\r
12 # distributed under the License is distributed on an "AS IS" BASIS, #
\r
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
\r
14 # See the License for the specific language governing permissions and #
\r
15 # limitations under the License. #
\r
16 ################################################################################
\r
21 apiVersion: extensions/v1beta1
\r
23 name: {{ include "common.deploymentname.ves" . }}
\r
26 app: {{ include "common.namespace.aux" . }}-{{ include "common.name.ves" . }}
\r
27 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
\r
28 release: {{ .Release.Name }}
\r
29 heritage: {{ .Release.Service }}
\r
31 deployment.kubernetes.io/revision: '1'
\r
33 replicas: {{ .Values.ves.replicaCount }}
\r
36 app: {{ include "common.namespace.aux" . }}-{{ include "common.name.ves" . }}
\r
37 release: {{ .Release.Name }}
\r
41 app: {{ include "common.namespace.aux" . }}-{{ include "common.name.ves" . }}
\r
42 release: {{ .Release.Name }}
\r
44 hostname: {{ include "common.name.ves" . }}
\r
46 - name: component-log
\r
48 - name: dmaap-config-file
\r
50 name: {{ include "common.configmapname.ves" . }}
\r
51 imagePullPolicy: {{ include "common.pullPolicy" . }}
\r
53 - name: onap-docker-registry-key
\r
55 - name: {{ include "common.containername.ves" . }}
\r
56 image: {{ .Values.ves.onapRepository }}/{{ .Values.ves.image.name }}:{{ .Values.ves.image.tag }}
\r
58 - containerPort: {{ include "common.serviceport.ves.http.container" . }}
\r
60 - containerPort: {{ include "common.serviceport.ves.https.container" . }}
\r
63 - name: component-log
\r
64 mountPath: "/opt/app/VESCollector/logs/ecomp"
\r
65 - name: dmaap-config-file
\r
66 mountPath: "/opt/app/VESCollector/etc/DmaapConfig.json"
\r
67 subPath: DMaapConfig.json
\r
70 path: "/healthcheck"
\r
71 port: {{ include "common.serviceport.ves.http.container" . }}
\r
73 initialDelaySeconds: 5
\r
78 terminationMessagePath: "/dev/termination-log"
\r
79 terminationMessagePolicy: File
\r