From 2448f8e5ba14cae162c755dbd2ccd06b45b46878 Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Fri, 11 Mar 2022 15:15:36 +0000 Subject: [OOM][OOF-HAS] Use basic password strength to avoid dollar sign OOF HAS controller uses Python oslo library to manage config files. In Python configuration files dollar sign ($) is used to reference other values. If that sign is in generated password container can't parse configuration file and exits with error. Basic password strength means it will use only alphanumberic characters. Issue-ID: OPTFRA-1028 Signed-off-by: Michal Jagiello Change-Id: Id31d6f21f22dab93386ea36e2aa026f70367c2e0 (cherry picked from commit 259e8762948abfe1292feafffbedbd26866f63e5) --- kubernetes/onap/values.yaml | 2 +- kubernetes/oof/components/oof-has/values.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/kubernetes/onap/values.yaml b/kubernetes/onap/values.yaml index 133e59fb01..ed96a7e2f3 100755 --- a/kubernetes/onap/values.yaml +++ b/kubernetes/onap/values.yaml @@ -135,7 +135,7 @@ global: # default password complexity # available options: phrase, name, pin, basic, short, medium, long, maximum security - # More datails: https://masterpassword.app/masterpassword-algorithm.pdf + # More datails: https://www.masterpasswordapp.com/masterpassword-algorithm.pdf passwordStrength: long # configuration to set log level to all components (the one that are using diff --git a/kubernetes/oof/components/oof-has/values.yaml b/kubernetes/oof/components/oof-has/values.yaml index 248d3afd57..bc129beb3e 100755 --- a/kubernetes/oof/components/oof-has/values.yaml +++ b/kubernetes/oof/components/oof-has/values.yaml @@ -155,3 +155,6 @@ etcd-init: keyPrefix: conductor flavor: *etcd-flavor resources: *etcd-resources + +# Python doesn't support well dollar sign in password +passwordStrengthOverride: basic \ No newline at end of file -- cgit 1.2.3-korg