1 ################################################################################
2 # Copyright (c) 2019 AT&T Intellectual Property. #
3 # Copyright (c) 2019 Nokia. #
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. #
16 ################################################################################
21 apiVersion: extensions/v1beta1
23 name: {{ include "common.deploymentname.ves" . }}
26 app: {{ include "common.namespace.aux" . }}-{{ include "common.name.ves" . }}
27 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
28 release: {{ .Release.Name }}
29 heritage: {{ .Release.Service }}
31 deployment.kubernetes.io/revision: '1'
33 replicas: {{ .Values.ves.replicaCount }}
36 app: {{ include "common.namespace.aux" . }}-{{ include "common.name.ves" . }}
37 release: {{ .Release.Name }}
41 app: {{ include "common.namespace.aux" . }}-{{ include "common.name.ves" . }}
42 release: {{ .Release.Name }}
44 hostname: {{ include "common.name.ves" . }}
48 - name: dmaap-config-file
50 name: {{ include "common.configmapname.ves" . }}
52 - name: onap-docker-registry-key
54 - name: {{ include "common.containername.ves" . }}
55 image: {{ .Values.ves.onapRepository }}/{{ .Values.ves.image.name }}:{{ .Values.ves.image.tag }}
56 imagePullPolicy: {{ include "common.pullPolicy" . }}
58 - containerPort: {{ include "common.serviceport.ves.http" . }}
60 - containerPort: {{ include "common.serviceport.ves.https" . }}
64 mountPath: "/opt/app/VESCollector/logs/ecomp"
65 - name: dmaap-config-file
66 mountPath: "/opt/app/VESCollector/etc/DmaapConfig.json"
67 subPath: DMaapConfig.json
71 port: {{ include "common.serviceport.ves.http" . }}
73 initialDelaySeconds: 5
78 terminationMessagePath: "/dev/termination-log"
79 terminationMessagePolicy: File