[OOM][OOF-HAS] Use basic password strength to avoid dollar sign 06/127706/2
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>
Mon, 14 Mar 2022 07:17:02 +0000 (07:17 +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

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

index 73f96d3..f5b5c8e 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