2 #============LICENSE_START========================================================
3 # ================================================================================
4 # Copyright (c) 2019-2020 AT&T Intellectual Property. All rights reserved.
5 # Modifications Copyright © 2020 Nokia
6 # ================================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END=========================================================
24 name: {{ include "common.fullname" . }}
25 namespace: {{ include "common.namespace" . }}
27 app: {{ include "common.name" . }}
28 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
29 release: {{ include "common.release" . }}
30 heritage: {{ .Release.Service }}
35 app: {{ include "common.name" . }}
39 app: {{ include "common.name" . }}
40 release: {{ include "common.release" . }}
43 - name: {{ include "common.name" . }}-readiness
44 image: {{ include "repositoryGenerator.image.readiness" . }}
45 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
50 - dcae-cloudify-manager
62 fieldPath: metadata.namespace
69 fieldPath: status.podIP
70 - name: aaf_locator_fqdn
72 image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.global.tlsImage }}
73 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
76 - mountPath: /opt/app/osaaf
79 image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.global.consulLoaderImage }}
80 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
83 - "cloudify_manager|dcae-cloudify-manager.{{ include "common.namespace" . }}|443"
85 - "inventory|inventory.{{ include "common.namespace" . }}|8080"
87 - deployment_handler|/dhconfig/config.json
90 - mountPath: /dhconfig
93 - name: {{ include "common.name" . }}
94 image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
95 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
97 {{ include "common.resources" . | indent 12 }}
99 - containerPort: {{ .Values.service.internalPort }}
100 # disable liveness probe when breakpoints set in debugger
101 # so K8s doesn't restart unresponsive container
102 {{- if eq .Values.liveness.enabled true }}
105 port: {{ .Values.service.internalPort }}
106 initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
107 periodSeconds: {{ .Values.liveness.periodSeconds }}
111 path: {{ .Values.readiness.path }}
112 port: {{ .Values.service.internalPort }}
113 scheme: {{ .Values.readiness.scheme }}
114 initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
115 periodSeconds: {{ .Values.readiness.periodSeconds }}
117 - mountPath: /opt/app/dh/log
119 - mountPath: /opt/app/dh/etc/cert/
121 - mountPath: /opt/app/dh/etc/
125 value: consul-server.{{ include "common.namespace" . }}
126 - name: CLOUDIFY_USER
128 - name: CLOUDIFY_PASSWORD
129 {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "cm-pass" "key" "password") | indent 14 }}
130 - name: CONFIG_BINDING_SERVICE
131 value: config-binding-service
132 - name: NODE_EXTRA_CA_CERTS
133 value: /opt/app/dh/etc/cert/cacert.pem
138 fieldPath: status.podIP
139 - name: {{ include "common.name" . }}-filebeat
145 fieldPath: status.podIP
146 image: {{ include "repositoryGenerator.image.logging" . }}
147 imagePullPolicy: IfNotPresent
150 - mountPath: /var/log/onap/deployment-handler
152 - mountPath: /usr/share/filebeat/data
154 - mountPath: /usr/share/filebeat/filebeat.yml
156 subPath: filebeat.yml
164 name: {{ include "common.fullname" . }}-filebeat-configmap
170 name: {{ include "common.fullname" . }}-configmap
174 name: {{include "common.fullname" . }}-log4js-configmap
177 - name: "{{ include "common.namespace" . }}-docker-registry-key"