summaryrefslogtreecommitdiffstats
path: root/kubernetes/dmaap/components/dmaap-bc/templates/deployment.yaml
diff options
context:
space:
mode:
authorUbuntu <dgl@research.att.com>2019-11-14 23:16:17 +0000
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2019-12-10 15:11:38 +0100
commit3d5d18079408598973f0d5a0b6fd3a2aef1ffec3 (patch)
tree4f365f0c24f05a27f8b5040d69118a034693a761 /kubernetes/dmaap/components/dmaap-bc/templates/deployment.yaml
parent672e49683b77bfbc8bc1cbc14c9180a4575eedc7 (diff)
Add cert dist for DMaaP BC
Issue-ID: DMAAP-1321 Signed-off-by: Ubuntu <dgl@research.att.com> Change-Id: I55a6d41c1955d3ea1bcc0799b5121212af102471
Diffstat (limited to 'kubernetes/dmaap/components/dmaap-bc/templates/deployment.yaml')
-rw-r--r--kubernetes/dmaap/components/dmaap-bc/templates/deployment.yaml34
1 files changed, 33 insertions, 1 deletions
diff --git a/kubernetes/dmaap/components/dmaap-bc/templates/deployment.yaml b/kubernetes/dmaap/components/dmaap-bc/templates/deployment.yaml
index f362f1c901..36963bfaf5 100644
--- a/kubernetes/dmaap/components/dmaap-bc/templates/deployment.yaml
+++ b/kubernetes/dmaap/components/dmaap-bc/templates/deployment.yaml
@@ -1,4 +1,3 @@
-
# Modifications Copyright © 2018 Amdocs,Bell Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -47,6 +46,39 @@ spec:
image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}"
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
name: {{ include "common.name" . }}-aaf-readiness
+ - name: {{ include "common.name" . }}-dbc-aaf-config
+ image: "{{ include "common.repository" . }}/{{ .Values.global.aafAgentImage }}"
+ imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
+ command: ["bash","-c","exec /opt/app/aaf_config/bin/agent.sh"]
+ volumeMounts:
+ - mountPath: {{ .Values.persistence.aafCredsPath }}
+ name: {{ include "common.name" . }}-aaf-config
+ env:
+ - name: APP_FQI
+ value: "{{ .Values.aafConfig.fqi }}"
+ - name: aaf_locate_url
+ value: "https://aaf-locate.{{ .Release.Namespace }}:8095"
+ - name: aaf_locator_container
+ value: "{{ .Values.global.aafLocatorContainer }}"
+ - name: aaf_locator_container_ns
+ value: "{{ .Release.Namespace }}"
+ - name: aaf_locator_fqdn
+ value: "{{ .Values.aafConfig.fqdn }}"
+ - name: aaf_locator_public_fqdn
+ value: "{{.Values.aafConfig.publicFqdn}}"
+ - name: aaf_locator_app_ns
+ value: "{{ .Values.global.aafAppNs }}"
+ - name: DEPLOY_FQI
+ value: "{{ .Values.aafConfig.aafDeployFqi }}"
+ - name: DEPLOY_PASSWORD
+ valueFrom:
+ secretKeyRef:
+ name: {{ include "common.fullname" . }}-secret
+ key: aaf-deploy-password
+ - name: cadi_longitude
+ value: "{{ .Values.aafConfig.cadiLongitude }}"
+ - name: cadi_latitude
+ value: "{{ .Values.aafConfig.cadiLatitude }}"
{{- end }}
{{- if .Values.PG.enabled }}
- command: