From 20552e7bebb63393f850886a1a8844c9c0bbe8cc Mon Sep 17 00:00:00 2001 From: krishnaa96 Date: Tue, 18 May 2021 18:52:56 +0530 Subject: [OOF] Update HAS charts to use etcd - Add etcd as a subchart - Add configuration to switch between etcd and music - Remove onboard and healthcheck jobs Issue-ID: OPTFRA-953 Signed-off-by: Krishna moorthy Change-Id: I44c8b60c3bdb0282329b6f87c5011093055ea91f --- kubernetes/oof/components/oof-templates/templates/_secret.tpl | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 kubernetes/oof/components/oof-templates/templates/_secret.tpl (limited to 'kubernetes/oof/components/oof-templates') diff --git a/kubernetes/oof/components/oof-templates/templates/_secret.tpl b/kubernetes/oof/components/oof-templates/templates/_secret.tpl new file mode 100644 index 0000000000..0b04f7120b --- /dev/null +++ b/kubernetes/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 -- cgit 1.2.3-korg