1 #============LICENSE_START========================================================
2 # ================================================================================
3 # Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
4 # Modifications Copyright © 2020 Nokia
5 # ================================================================================
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.
17 # ============LICENSE_END=========================================================
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 }}
33 app: {{ include "common.name" . }}
37 app: {{ include "common.name" . }}
38 release: {{ include "common.release" . }}
41 - name: {{ include "common.name" . }}-readiness
42 image: {{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}
43 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
48 - dcae-cloudify-manager
60 fieldPath: metadata.namespace
67 fieldPath: status.podIP
68 - name: aaf_locator_fqdn
70 image: {{ .Values.global.tlsRepository }}/{{ .Values.global.tlsImage }}
71 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
74 - mountPath: /opt/app/osaaf
77 image: {{ .Values.global.consulLoaderRepository }}/{{ .Values.global.consulLoaderImage }}
78 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
81 - "cloudify_manager|dcae-cloudify-manager.{{ include "common.namespace" . }}|443"
83 - "inventory|inventory.{{ include "common.namespace" . }}|8080"
85 - deployment_handler|/dhconfig/config.json
88 - mountPath: /dhconfig
91 - name: {{ include "common.name" . }}
92 image: "{{ include "common.repository" . }}/{{ .Values.image }}"
93 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
95 {{ include "common.resources" . | indent 12 }}
97 - containerPort: {{ .Values.service.internalPort }}
98 # disable liveness probe when breakpoints set in debugger
99 # so K8s doesn't restart unresponsive container
100 {{- if eq .Values.liveness.enabled true }}
103 port: {{ .Values.service.internalPort }}
104 initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
105 periodSeconds: {{ .Values.liveness.periodSeconds }}
109 path: {{ .Values.readiness.path }}
110 port: {{ .Values.service.internalPort }}
111 scheme: {{ .Values.readiness.scheme }}
112 initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
113 periodSeconds: {{ .Values.readiness.periodSeconds }}
115 - mountPath: /opt/app/dh/log
117 - mountPath: /opt/app/dh/etc/cert/
119 - mountPath: /opt/app/dh/etc/
123 value: consul-server.{{ include "common.namespace" . }}
124 - name: CLOUDIFY_USER
126 - name: CLOUDIFY_PASSWORD
128 - name: CONFIG_BINDING_SERVICE
129 value: config-binding-service
130 - name: NODE_EXTRA_CA_CERTS
131 value: /opt/app/dh/etc/cert/cacert.pem
136 fieldPath: status.podIP
137 - name: {{ include "common.name" . }}-filebeat
143 fieldPath: status.podIP
144 image: {{ .Values.global.loggingRepository }}/{{ .Values.global.loggingImage }}
145 imagePullPolicy: IfNotPresent
148 - mountPath: /var/log/onap/deployment-handler
150 - mountPath: /usr/share/filebeat/data
152 - mountPath: /usr/share/filebeat/filebeat.yml
154 subPath: filebeat.yml
162 name: {{ include "common.fullname" . }}-filebeat-configmap
168 name: {{ include "common.fullname" . }}-configmap
172 name: {{include "common.fullname" . }}-log4js-configmap
175 - name: "{{ include "common.namespace" . }}-docker-registry-key"