aboutsummaryrefslogtreecommitdiffstats
path: root/archive/oof/components/oof-templates/templates/_secret.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'archive/oof/components/oof-templates/templates/_secret.tpl')
-rw-r--r--archive/oof/components/oof-templates/templates/_secret.tpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/archive/oof/components/oof-templates/templates/_secret.tpl b/archive/oof/components/oof-templates/templates/_secret.tpl
new file mode 100644
index 0000000000..0b04f7120b
--- /dev/null
+++ b/archive/oof/components/oof-templates/templates/_secret.tpl
@@ -0,0 +1,6 @@
+{{- define "oof.etcd.env" -}}
+- name: OS_ETCD_API__USERNAME
+ {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "oof-has-etcd-secret" "key" "login") | indent 2 }}
+- name: OS_ETCD_API__PASSWORD
+ {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "oof-has-etcd-secret" "key" "password") | indent 2 }}
+{{- end -}} \ No newline at end of file