From 599764901bdf353c358be66fca47a41f3382b56e Mon Sep 17 00:00:00 2001 From: Krzysztof Opasiak Date: Tue, 20 Oct 2020 23:17:17 +0200 Subject: [COMMON] Move onap truststore to cert-wrapper certInitializer is included multiple times in number of different projects. If it contains the truststore then under if it is not used it increases the size of the chart itself so that it our final ONAP chart does not fit into default 20 Mb chartmuseum limit. Let's resolve this by moving the configmap and its content to the cert-wrapper which is included only once per onap instance. Issue-ID: AAF-1134 Signed-off-by: Krzysztof Opasiak Change-Id: I654d9158e7b776c012653dbef2c8091a393635f0 --- kubernetes/common/certInitializer/templates/configmap.yaml | 9 --------- 1 file changed, 9 deletions(-) (limited to 'kubernetes/common/certInitializer/templates/configmap.yaml') diff --git a/kubernetes/common/certInitializer/templates/configmap.yaml b/kubernetes/common/certInitializer/templates/configmap.yaml index 69d74e1ca7..7abbf9c7d8 100644 --- a/kubernetes/common/certInitializer/templates/configmap.yaml +++ b/kubernetes/common/certInitializer/templates/configmap.yaml @@ -23,12 +23,3 @@ data: aaf-add-config.sh: | {{ tpl .Values.aaf_add_config . | indent 4 }} {{- end }} -{{- if .Values.createCertsCM }} ---- -apiVersion: v1 -kind: ConfigMap -{{- $suffix := "certs" }} -metadata: {{- include "common.resourceMetadata" (dict "suffix" $suffix "dot" . ) | nindent 2 }} -data: -{{ tpl (.Files.Glob "resources/*").AsConfig . | indent 2 }} -{{- end -}} -- cgit 1.2.3-korg