aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates/configmap.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-05-12 12:53:50 +0200
committerKrzysztof Opasiak <k.opasiak@samsung.com>2020-05-29 01:22:26 +0200
commit48eaa240290bb1bbf1117e8411f560c446d4aefc (patch)
tree3e70cb3bd7ccb81903f644956e30d13b631d72f4 /kubernetes/sdnc/templates/configmap.yaml
parentd72adb3e19a820173f42572c0794b1b971c76ab8 (diff)
[SDNC] Use common aaf template in sdnc
Instead of copy-pasting code around aaf_agent usage let's use a common template that automates this. Issue-ID: AAF-1134 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I66886290a1a13ca1c1d924b4d1128adc293b301c
Diffstat (limited to 'kubernetes/sdnc/templates/configmap.yaml')
-rw-r--r--kubernetes/sdnc/templates/configmap.yaml13
1 files changed, 0 insertions, 13 deletions
diff --git a/kubernetes/sdnc/templates/configmap.yaml b/kubernetes/sdnc/templates/configmap.yaml
index cd39425073..087ed30055 100644
--- a/kubernetes/sdnc/templates/configmap.yaml
+++ b/kubernetes/sdnc/templates/configmap.yaml
@@ -78,16 +78,3 @@ metadata:
heritage: {{ .Release.Service }}
data:
{{ tpl (.Files.Get "resources/env.yaml") . | indent 2 }}
-
-{{ if .Values.global.aafEnabled }}
-{{- if .Values.aafConfig.addconfig -}}
----
-apiVersion: v1
-kind: ConfigMap
-{{- $suffix := "aaf-add-config" }}
-metadata: {{- include "common.resourceMetadata" (dict "suffix" $suffix "dot" . )| nindent 2 }}
-data:
- aaf-add-config.sh: |-
- cd /opt/app/osaaf/local && /opt/app/aaf_config/bin/agent.sh local showpass {{.Values.aafConfig.fqi}} {{ .Values.aafConfig.fqdn }} | grep cadi_keystore_password= | cut -d= -f 2 > {{ .Values.aafConfig.credsPath }}/.pass 2>&1
-{{- end -}}
-{{- end -}}