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
83 fieldPath: metadata.namespace
90 fieldPath: status.podIP
91 - name: aaf_locator_fqdn
93 image: {{ .Values.global.tlsRepository }}/{{ .Values.global.tlsImage }}
94 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
97 - mountPath: /opt/app/osaaf
100 - name: {{ include "common.name" . }}
101 image: "{{ include "common.repository" . }}/{{ .Values.image }}"
102 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
104 {{ include "common.resources" . | indent 12 }}
107 name: {{ include "common.fullname" . }}-dcae-inputs
108 - mountPath: /dcae-configs
109 name: {{ include "common.fullname" . }}-dcae-config
110 - mountPath: /etc/localtime
118 value: {{ .Values.config.address.cm.host }}
122 name: {{ include "common.name" . }}-cmpass
125 value: {{ .Values.config.address.cm.proto }}
127 value: !!string {{ .Values.config.address.cm.port }}
129 value: {{ .Values.config.address.consul.host }}:{{ .Values.config.address.consul.port }}
130 - name: DCAE_NAMESPACE
131 value: {{ .Values.dcae_ns | default "" }}
132 - name: ONAP_NAMESPACE
133 value: {{ include "common.namespace" . }}
135 - name: {{ include "common.fullname" . }}-dcae-inputs-input
137 name: {{ include "common.fullname" . }}-dcae-inputs
138 - name: {{ include "common.fullname" . }}-dcae-inputs
141 - name: {{ include "common.fullname" . }}-dcae-config
143 name: {{ include "common.fullname" . }}-dcae-config
150 - name: "{{ include "common.namespace" . }}-docker-registry-key"