[AAF] Use common secret in sms preload 38/106138/3
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Thu, 16 Apr 2020 18:01:05 +0000 (20:01 +0200)
committervrvarma <vikas.varma@att.com>
Thu, 16 Apr 2020 23:11:12 +0000 (19:11 -0400)
commit59d47c348433befc4b599bdeec918583011a047b
treee4ad75a30fa5388ebb060cd577023a66e9d6c92c
parent786e6903090ab66a4ae67140351aa271f55328f0
[AAF] Use common secret in sms preload

Use common secret template and init container to fill config files for
job that preloads secrets to SMS.

Init container is prepared for temporary workaround required by the
OOF team to encrypt passwords before storing them in sms.

The only thing that has to be done is to instead of just assigning for
example:
export AAI_PASS=${AAI_PASS_PLAIN};

do

export AAI_PASS=`awesomeEncryptCommand ${AAI_PASS_PLAIN}`

Issue-ID: OPTFRA-720
Change-Id: I0ada7de0aa8710580ccf51cb9ab0822b81b4f46a
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
kubernetes/aaf/charts/aaf-sms/resources/config/has.json
kubernetes/aaf/charts/aaf-sms/resources/config/osdf.json
kubernetes/aaf/charts/aaf-sms/templates/job.yaml
kubernetes/aaf/charts/aaf-sms/templates/secret.yaml [new file with mode: 0644]
kubernetes/aaf/charts/aaf-sms/values.yaml