2 #============LICENSE_START========================================================
3 # ================================================================================
4 # Copyright (c) 2017-2020 AT&T Intellectual Property. All rights reserved.
5 # Modifications Copyright © 2018 Amdocs, Bell Canada
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" . }}
47 - "cd /config-input && for PFILE in `find . -not -type d | grep -v -F ..`; do envsubst <${PFILE} >/config/${PFILE}; done"
49 - name: PG_ROOT_PASSWORD
50 {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "pg-root-pass" "key" "password") | indent 10 }}
52 - mountPath: /config-input
53 name: {{ include "common.fullname" . }}-dcae-inputs-input
55 name: {{ include "common.fullname" . }}-dcae-inputs
56 image: "{{ .Values.global.envsubstImage }}"
57 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
58 name: {{ include "common.name" . }}-update-config
60 - name: {{ include "common.name" . }}-readiness
61 image: {{ include "common.repository" . }}/{{ .Values.global.readinessImage }}
62 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
67 - dcae-cloudify-manager
75 - dcae-config-binding-service
87 fieldPath: metadata.namespace
94 fieldPath: status.podIP
95 - name: aaf_locator_fqdn
97 image: {{ .Values.global.tlsRepository }}/{{ .Values.global.tlsImage }}
98 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
101 - mountPath: /opt/app/osaaf
104 image: {{ .Values.global.consulLoaderRepository }}/{{ .Values.global.consulLoaderImage }}
105 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
108 - "config-binding-service|config-binding-service.{{ include "common.namespace" . }}|10000"
110 - "config_binding_service|config-binding-service.{{ include "common.namespace" . }}|10000"
113 - name: {{ include "common.name" . }}
114 image: "{{ include "common.repository" . }}/{{ .Values.image }}"
115 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
117 {{ include "common.resources" . | indent 12 }}
120 name: {{ include "common.fullname" . }}-dcae-inputs
121 - mountPath: /dcae-configs
122 name: {{ include "common.fullname" . }}-dcae-config
123 - mountPath: /etc/localtime
131 value: {{ .Values.config.address.cm.host }}
133 {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "cm-pass" "key" "password") | indent 14}}
135 value: {{ .Values.config.address.cm.proto }}
137 value: !!string {{ .Values.config.address.cm.port }}
139 value: {{ .Values.config.address.consul.host }}:{{ .Values.config.address.consul.port }}
140 - name: DCAE_NAMESPACE
141 value: {{ .Values.dcae_ns | default "" }}
142 - name: ONAP_NAMESPACE
143 value: {{ include "common.namespace" . }}
145 - name: {{ include "common.fullname" . }}-dcae-inputs-input
147 name: {{ include "common.fullname" . }}-dcae-inputs
148 - name: {{ include "common.fullname" . }}-dcae-inputs
151 - name: {{ include "common.fullname" . }}-dcae-config
153 name: {{ include "common.fullname" . }}-dcae-config
160 - name: "{{ include "common.namespace" . }}-docker-registry-key"