aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2022-03-11 15:15:36 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2022-03-14 07:17:02 +0000
commit259e8762948abfe1292feafffbedbd26866f63e5 (patch)
tree28f35984a09d6f8fd0bd13c81b83cf5c3ca6a028
parent4830e66d51450883839a7198ea0108376449b66e (diff)
[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 <michal.jagiello@t-mobile.pl> Change-Id: Id31d6f21f22dab93386ea36e2aa026f70367c2e0
-rwxr-xr-xkubernetes/onap/values.yaml2
-rwxr-xr-xkubernetes/oof/components/oof-has/values.yaml3
2 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/onap/values.yaml b/kubernetes/onap/values.yaml
index 73f96d3eb8..f5b5c8ed7d 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