1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 apiVersion: apps/v1beta1
18 name: {{ include "common.fullname" . }}
19 namespace: {{ include "common.namespace" . }}
21 app: {{ include "common.name" . }}
22 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
23 release: {{ .Release.Name }}
24 heritage: {{ .Release.Service }}
26 replicas: {{ .Values.replicaCount }}
30 app: {{ include "common.name" . }}
31 release: {{ .Release.Name }}
38 - {{ .Values.kafka.name }}
40 - {{ .Values.zookeeper.name }}
46 fieldPath: metadata.namespace
47 image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}"
48 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
49 name: {{ include "common.name" . }}-readiness
51 - name: {{ include "common.name" . }}
52 image: "{{ include "common.repository" . }}/{{ .Values.image }}"
53 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
55 - containerPort: {{ .Values.service.externalPort }}
56 - containerPort: {{ .Values.service.externalPort2 }}
57 {{- if eq .Values.liveness.enabled true }}
60 port: {{ .Values.service.externalPort }}
61 initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
62 periodSeconds: {{ .Values.liveness.periodSeconds }}
63 timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
67 port: {{ .Values.service.externalPort }}
68 initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
69 periodSeconds: {{ .Values.readiness.periodSeconds }}
70 timeoutSeconds: {{ .Values.readiness.timeoutSeconds }}
75 - mountPath: /etc/localtime
78 - mountPath: /appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties
79 subPath: MsgRtrApi.properties
81 - mountPath: /appl/dmaapMR1/bundleconfig/etc/logback.xml
84 - mountPath: /appl/dmaapMR1/etc/cadi.properties
85 subPath: cadi.properties
87 - mountPath: /appl/dmaapMR1/etc/keyfile
90 - mountPath: /bundleconfig/etc/org.onap.dmaap.mr.jks
91 subPath: org.onap.dmaap.mr.jks
92 name: aaf-certs-secret
93 - mountPath: /appl/dmaapMR1/etc/org.onap.dmaap.mr.trust.jks
94 subPath: org.onap.dmaap.mr.trust.jks
95 name: aaf-certs-secret
96 - mountPath: /appl/dmaapMR1/etc/org.onap.dmaap.mr.keyfile
97 subPath: org.onap.dmaap.mr.keyfile
98 name: aaf-certs-secret
99 - mountPath: /appl/dmaapMR1/etc/org.onap.dmaap.mr.p12
100 subPath: org.onap.dmaap.mr.p12
101 name: aaf-certs-secret
103 {{ include "common.resources" . | indent 12 }}
110 name: {{ include "common.fullname" . }}-msgrtrapi-prop-configmap
113 name: {{ include "common.fullname" . }}-logback-xml-configmap
116 name: {{ include "common.fullname" . }}-cadi-prop-configmap
119 secretName: {{ include "common.fullname" . }}-secret
120 - name: aaf-certs-secret
122 secretName: {{ include "common.fullname" . }}-aaf-certs-secret
124 - name: "{{ include "common.namespace" . }}-docker-registry-key"