diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-05-21 19:06:42 +0200 |
---|---|---|
committer | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-05-26 18:17:43 +0200 |
commit | 57ec338ae0a875591e881f3457ff22bca737f81b (patch) | |
tree | fc00ee6ba119521b0adae3376a50bc47bbd5f930 /kubernetes/portal/components/portal-app/templates/configmap.yaml | |
parent | df31a724d919b39183df702f970ba4968c09d44e (diff) |
[PORTAL] Use common aaf template in portal-app
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: Ida183073e70563527d9d218cb247d7028687c167
Diffstat (limited to 'kubernetes/portal/components/portal-app/templates/configmap.yaml')
-rw-r--r-- | kubernetes/portal/components/portal-app/templates/configmap.yaml | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/kubernetes/portal/components/portal-app/templates/configmap.yaml b/kubernetes/portal/components/portal-app/templates/configmap.yaml index d514fe6411..feaee66190 100644 --- a/kubernetes/portal/components/portal-app/templates/configmap.yaml +++ b/kubernetes/portal/components/portal-app/templates/configmap.yaml @@ -26,17 +26,3 @@ metadata: data: {{ tpl (.Files.Glob "resources/config/deliveries/properties/ONAPPORTAL/*").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 -}} |