1 #============LICENSE_START========================================================
2 # ================================================================================
3 # Copyright (c) 2017-2019 AT&T Intellectual Property. All rights reserved.
4 # Modifications Copyright © 2018 Amdocs, Bell Canada
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" . }}
45 - "cd /config-input && for PFILE in `find . -not -type d | grep -v -F ..`; do envsubst <${PFILE} >/config/${PFILE}; done"
47 - name: PG_ROOT_PASSWORD
48 {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "pg-root-pass" "key" "password") | indent 10 }}
50 - mountPath: /config-input
51 name: {{ include "common.fullname" . }}-dcae-inputs-input
53 name: {{ include "common.fullname" . }}-dcae-inputs
54 image: "{{ .Values.global.envsubstImage }}"
55 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
56 name: {{ include "common.name" . }}-update-config
58 - name: {{ include "common.name" . }}-readiness
59 image: {{ include "common.repository" . }}/{{ .Values.global.readinessImage }}
60 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
65 - dcae-cloudify-manager
73 - dcae-config-binding-service
85 fieldPath: metadata.namespace
92 fieldPath: status.podIP
93 - name: aaf_locator_fqdn
95 image: {{ .Values.global.tlsRepository }}/{{ .Values.global.tlsImage }}
96 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
99 - mountPath: /opt/app/osaaf
102 image: {{ .Values.global.consulLoaderRepository }}/{{ .Values.global.consulLoaderImage }}
103 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
106 - "config-binding-service|config-binding-service.{{ include "common.namespace" . }}|10000"
108 - "config_binding_service|config-binding-service.{{ include "common.namespace" . }}|10000"
111 - name: {{ include "common.name" . }}
112 image: "{{ include "common.repository" . }}/{{ .Values.image }}"
113 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
115 {{ include "common.resources" . | indent 12 }}
118 name: {{ include "common.fullname" . }}-dcae-inputs
119 - mountPath: /dcae-configs
120 name: {{ include "common.fullname" . }}-dcae-config
121 - mountPath: /etc/localtime
129 value: {{ .Values.config.address.cm.host }}
133 name: {{ include "common.name" . }}-cmpass
136 value: {{ .Values.config.address.cm.proto }}
138 value: !!string {{ .Values.config.address.cm.port }}
140 value: {{ .Values.config.address.consul.host }}:{{ .Values.config.address.consul.port }}
141 - name: DCAE_NAMESPACE
142 value: {{ .Values.dcae_ns | default "" }}
143 - name: ONAP_NAMESPACE
144 value: {{ include "common.namespace" . }}
146 - name: {{ include "common.fullname" . }}-dcae-inputs-input
148 name: {{ include "common.fullname" . }}-dcae-inputs
149 - name: {{ include "common.fullname" . }}-dcae-inputs
152 - name: {{ include "common.fullname" . }}-dcae-config
154 name: {{ include "common.fullname" . }}-dcae-config
161 - name: "{{ include "common.namespace" . }}-docker-registry-key"