aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aaf/charts/aaf-sms/templates/secret.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-04-16 20:01:05 +0200
committervrvarma <vikas.varma@att.com>2020-04-16 19:11:12 -0400
commit59d47c348433befc4b599bdeec918583011a047b (patch)
treee4ad75a30fa5388ebb060cd577023a66e9d6c92c /kubernetes/aaf/charts/aaf-sms/templates/secret.yaml
parent786e6903090ab66a4ae67140351aa271f55328f0 (diff)
[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>
Diffstat (limited to 'kubernetes/aaf/charts/aaf-sms/templates/secret.yaml')
-rw-r--r--kubernetes/aaf/charts/aaf-sms/templates/secret.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/kubernetes/aaf/charts/aaf-sms/templates/secret.yaml b/kubernetes/aaf/charts/aaf-sms/templates/secret.yaml
new file mode 100644
index 0000000000..34932b713d
--- /dev/null
+++ b/kubernetes/aaf/charts/aaf-sms/templates/secret.yaml
@@ -0,0 +1,17 @@
+{{/*
+# Copyright © 2020 Samsung Electronics
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+*/}}
+
+{{ include "common.secretFast" . }}