1 {{- define "so.certificate.container_importer" -}}
2 - name: {{ include "common.name" . }}-certs-importer
3 image: "{{ include "common.repository" . }}/{{ .Values.global.soBaseImage }}"
4 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
9 - "update-ca-certificates --fresh && \
10 cp -r {{ .Values.global.certificates.path }}/* /certificates"
12 - name: {{ include "common.name" . }}-certificates
13 mountPath: /certificates
14 - name: {{ include "common.name" . }}-onap-certificates
15 mountPath: {{ .Values.global.certificates.share_path }}
18 {{- define "so.certificate.volume-mounts" -}}
19 - name: {{ include "common.name" . }}-certificates
20 mountPath: {{ .Values.global.certificates.path }}
21 - name: {{ include "common.name" . }}-onap-certificates
22 mountPath: {{ .Values.global.certificates.share_path }}
25 {{- define "so.certificate.volumes" -}}
26 - name: {{ include "common.name" . }}-certificates
29 - name: {{ include "common.name" . }}-onap-certificates
31 secretName: {{ include "common.secret.getSecretNameFast" (dict "global" . "uid" "so-onap-certs") }}