diff options
author | 2021-05-18 18:52:56 +0530 | |
---|---|---|
committer | 2021-05-28 17:49:10 +0000 | |
commit | 20552e7bebb63393f850886a1a8844c9c0bbe8cc (patch) | |
tree | 1b3f56a930f39a2888fd675cc0553a4f49705a20 /kubernetes/oof/components/oof-templates/templates | |
parent | 544863d73ef1137faaf031513ac6868ebf101953 (diff) |
[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 <krishna.moorthy6@wipro.com>
Change-Id: I44c8b60c3bdb0282329b6f87c5011093055ea91f
Diffstat (limited to 'kubernetes/oof/components/oof-templates/templates')
-rw-r--r-- | kubernetes/oof/components/oof-templates/templates/_secret.tpl | 6 |
1 files changed, 6 insertions, 0 deletions
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 |