Merge "[COMMON][ES] Simplify cert retrieval script"
[oom.git] / kubernetes / oof / components / oof-templates / templates / _secret.tpl
1 {{- define "oof.etcd.env" -}}
2 - name: OS_ETCD_API__USERNAME
3   {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "oof-has-etcd-secret" "key" "login") | indent 2 }}
4 - name: OS_ETCD_API__PASSWORD
5   {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "oof-has-etcd-secret" "key" "password") | indent 2 }}
6 {{- end -}}