2 #============LICENSE_START========================================================
3 # ================================================================================
4 # Copyright (c) 2019-2020 AT&T Intellectual Property. All rights reserved.
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=========================================================
23 name: {{ include "common.fullname" . }}
24 namespace: {{ include "common.namespace" . }}
26 app: {{ include "common.name" . }}
27 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
28 release: {{ include "common.release" . }}
29 heritage: {{ .Release.Service }}
34 app: {{ include "common.name" . }}
38 app: {{ include "common.name" . }}
39 release: {{ include "common.release" . }}
42 - name: {{ include "common.name" . }}-readiness
43 image: {{ include "common.repository" . }}/{{ .Values.global.readinessImage }}
44 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
49 - dcae-cloudify-manager
55 - dcae-deployment-handler
57 - {{ .Values.postgres.nameOverride }}
65 fieldPath: metadata.namespace
72 fieldPath: status.podIP
73 - name: aaf_locator_fqdn
75 image: {{ .Values.global.tlsRepository }}/{{ .Values.global.tlsImage }}
76 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
79 - mountPath: /opt/app/osaaf
82 - name: {{ include "common.name" . }}
83 image: "{{ include "common.repository" . }}/{{ .Values.image }}"
84 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
86 {{ include "common.resources" . | indent 12 }}
88 - containerPort: {{ .Values.service.internalPort }}
90 # disable liveness probe when breakpoints set in debugger
91 # so K8s doesn't restart unresponsive container
92 {{- if eq .Values.liveness.enabled true }}
95 port: {{ .Values.service.internalPort }}
96 initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
97 periodSeconds: {{ .Values.liveness.periodSeconds }}
101 path: {{ .Values.readiness.path }}
102 port: {{ .Values.service.internalPort }}
103 scheme: {{ .Values.readiness.scheme }}
104 initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
105 periodSeconds: {{ .Values.readiness.periodSeconds }}
110 - mountPath: /opt/app/osaaf/
112 - mountPath: /opt/logs/dcae/dashboard
116 value: consul-server.{{ include "common.namespace" . }}
117 - name: CONFIG_BINDING_SERVICE
118 value: config-binding-service
119 - name: inventory_url
120 value: {{ .Values.config.inventory_url }}
121 - name: postgres_port
122 value: "{{ .Values.postgres.config.pgPort }}"
123 - name: cloudify_password
124 {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "cm-pass" "key" "password") | indent 14 }}
126 value: {{ .Values.config.dhandler_url }}
128 value: {{ .Values.config.cfy_url }}
129 - name: cloudify_user
132 value: http://consul-server-ui:8500
133 - name: postgres_user_dashboard
134 {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "pg-user-creds" "key" "login") | indent 14 }}
135 - name: postgres_password_dashboard
136 {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "pg-user-creds" "key" "password") | indent 14 }}
137 - name: postgres_db_name
138 value: {{ .Values.postgres.config.pgDatabase }}
140 value: {{ .Values.postgres.service.name2 }}
145 fieldPath: status.podIP
146 - name: {{ include "common.name" . }}-filebeat
152 fieldPath: status.podIP
153 image: {{ .Values.global.loggingRepository }}/{{ .Values.global.loggingImage }}
154 imagePullPolicy: IfNotPresent
157 - mountPath: /var/log/onap/dashboard
159 - mountPath: /usr/share/filebeat/data
161 - mountPath: /usr/share/filebeat/filebeat.yml
163 subPath: filebeat.yml
171 name: {{ include "common.fullname" . }}-filebeat-configmap
176 - name: "{{ include "common.namespace" . }}-docker-registry-key"