diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-05-21 23:49:45 +0200 |
---|---|---|
committer | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-05-25 22:38:12 +0200 |
commit | 09f5279dfbf989fc2403f632869ee74bb0d9b9fb (patch) | |
tree | dacb2318a5bb7d60dac51edf0f850cfecfb64c52 /kubernetes/portal/components/portal-sdk/templates/configmap.yaml | |
parent | 92e70e4db18ec9de845dcd09c2c0a015e4a72a3a (diff) |
[PORTAL] Use common aaf template in portal-sdk
Instead of copy-pasting code around aaf_agent usage let's use a common
template that automates this.
Issue-ID: AAF-1134
Change-Id: I49a7da1458b50dd1c550dbed5e686efc1c8e948d
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Diffstat (limited to 'kubernetes/portal/components/portal-sdk/templates/configmap.yaml')
-rw-r--r-- | kubernetes/portal/components/portal-sdk/templates/configmap.yaml | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/kubernetes/portal/components/portal-sdk/templates/configmap.yaml b/kubernetes/portal/components/portal-sdk/templates/configmap.yaml index 1dbdeedd5a..5ad9910c56 100644 --- a/kubernetes/portal/components/portal-sdk/templates/configmap.yaml +++ b/kubernetes/portal/components/portal-sdk/templates/configmap.yaml @@ -26,17 +26,3 @@ metadata: data: {{ tpl (.Files.Glob "resources/config/deliveries/properties/ONAPPORTALSDK/*").AsConfig . | indent 2 }} {{ tpl (.Files.Glob "resources/server/*").AsConfig . | 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: |- - /opt/app/aaf_config/bin/agent.sh;/opt/app/aaf_config/bin/agent.sh local showpass \ - {{.Values.aafConfig.fqi}} {{ .Values.aafConfig.fqdn }} > {{ .Values.aafConfig.credsPath }}/mycreds.prop -{{- end -}} -{{- end -}}
\ No newline at end of file |