[OOM][OOF-HAS] Use basic password strength to avoid dollar sign 67/127767/1
authorMichal Jagiello <michal.jagiello@t-mobile.pl>
Fri, 11 Mar 2022 15:15:36 +0000 (15:15 +0000)
committerMichal Jagiello <michal.jagiello@t-mobile.pl>
Tue, 15 Mar 2022 14:37:04 +0000 (14:37 +0000)
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 <michal.jagiello@t-mobile.pl>
Change-Id: Id31d6f21f22dab93386ea36e2aa026f70367c2e0
(cherry picked from commit 259e8762948abfe1292feafffbedbd26866f63e5)

kubernetes/onap/values.yaml
kubernetes/oof/components/oof-has/values.yaml

index 133e59f..ed96a7e 100755 (executable)
@@ -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
index 248d3af..bc129be 100755 (executable)
@@ -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