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=========================================================
19 apiVersion: extensions/v1beta1
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 }}
34 app: {{ include "common.name" . }}
35 release: {{ include "common.release" . }}
42 - "cd /config-input && for PFILE in `find . -not -type d | grep -v -F ..`; do envsubst <${PFILE} >/config/${PFILE}; done"
44 - name: PG_ROOT_PASSWORD
45 {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "pg-root-pass" "key" "password") | indent 10 }}
47 - mountPath: /config-input
48 name: {{ include "common.fullname" . }}-dcae-inputs-input
50 name: {{ include "common.fullname" . }}-dcae-inputs
51 image: "{{ .Values.global.envsubstImage }}"
52 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
53 name: {{ include "common.name" . }}-update-config
55 - name: {{ include "common.name" . }}-readiness
56 image: {{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}
57 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
62 - dcae-cloudify-manager
70 - dcae-config-binding-service
82 fieldPath: metadata.namespace
89 fieldPath: status.podIP
90 - name: aaf_locator_fqdn
92 image: {{ .Values.global.tlsRepository }}/{{ .Values.global.tlsImage }}
93 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
96 - mountPath: /opt/app/osaaf
99 image: {{ .Values.global.consulLoaderRepository }}/{{ .Values.global.consulLoaderImage }}
100 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
103 - "config-binding-service|config-binding-service.{{ include "common.namespace" . }}|10000"
105 - "config_binding_service|config-binding-service.{{ include "common.namespace" . }}|10000"
108 - name: {{ include "common.name" . }}
109 image: "{{ include "common.repository" . }}/{{ .Values.image }}"
110 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
112 {{ include "common.resources" . | indent 12 }}
115 name: {{ include "common.fullname" . }}-dcae-inputs
116 - mountPath: /dcae-configs
117 name: {{ include "common.fullname" . }}-dcae-config
118 - mountPath: /etc/localtime
126 value: {{ .Values.config.address.cm.host }}
130 name: {{ include "common.name" . }}-cmpass
133 value: {{ .Values.config.address.cm.proto }}
135 value: !!string {{ .Values.config.address.cm.port }}
137 value: {{ .Values.config.address.consul.host }}:{{ .Values.config.address.consul.port }}
138 - name: DCAE_NAMESPACE
139 value: {{ .Values.dcae_ns | default "" }}
140 - name: ONAP_NAMESPACE
141 value: {{ include "common.namespace" . }}
143 - name: {{ include "common.fullname" . }}-dcae-inputs-input
145 name: {{ include "common.fullname" . }}-dcae-inputs
146 - name: {{ include "common.fullname" . }}-dcae-inputs
149 - name: {{ include "common.fullname" . }}-dcae-config
151 name: {{ include "common.fullname" . }}-dcae-config
158 - name: "{{ include "common.namespace" . }}-docker-registry-key"