summaryrefslogtreecommitdiffstats
path: root/kubernetes/oof/components/oof-templates/templates
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/oof/components/oof-templates/templates')
-rw-r--r--kubernetes/oof/components/oof-templates/templates/_certificate.tpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/kubernetes/oof/components/oof-templates/templates/_certificate.tpl b/kubernetes/oof/components/oof-templates/templates/_certificate.tpl
new file mode 100644
index 0000000000..4da128bcbb
--- /dev/null
+++ b/kubernetes/oof/components/oof-templates/templates/_certificate.tpl
@@ -0,0 +1,11 @@
+{{- define "oof.certificate.volume" -}}
+- name: {{ include "common.fullname" . }}-onap-certs
+ secret:
+ secretName: {{ include "common.secret.getSecretNameFast" (dict "global" . "uid" "oof-onap-certs") }}
+ items:
+ - key: aaf_root_ca.cer
+ path: aaf_root_ca.cer
+ - key: intermediate_root_ca.pem
+ path: intermediate_root_ca.pem
+{{- end -}}
+