summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2021-11-29 09:14:13 +0000
committerMorgan Richomme <morgan.richomme@orange.com>2022-01-06 16:54:38 +0000
commit3e85e389342b2c54055faf0019f941f55f32ef88 (patch)
tree25d68ca444838a6b91241f46f176bb0b8a3716fa
parentf1143ab021d09e93aa8bc1d73e2039bbfa0bdb0e (diff)
[POLICY] Add references to new policyadmin username
Adding a new username for PAP and API changes for the robot testcases. Issue-ID: POLICY-3815 Change-Id: Iccef19828a34be9c2ff28201ee27caad37d83504 Signed-off-by: adheli.tavares <adheli.tavares@est.tech> (cherry picked from commit eada20b74d31fc1d07d29270c3b37d7d94ca9b2d)
-rw-r--r--kubernetes/robot/resources/config/eteshare/config/robot_properties.py2
-rw-r--r--kubernetes/robot/values.yaml2
2 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/robot/resources/config/eteshare/config/robot_properties.py b/kubernetes/robot/resources/config/eteshare/config/robot_properties.py
index ac663da769..5b51b70bfc 100644
--- a/kubernetes/robot/resources/config/eteshare/config/robot_properties.py
+++ b/kubernetes/robot/resources/config/eteshare/config/robot_properties.py
@@ -311,6 +311,8 @@ GLOBAL_POLICY_USERNAME = '{{ .Values.policyUsername }}'
GLOBAL_POLICY_PASSWORD = '{{ .Values.policyPassword }}'
GLOBAL_POLICY_HEALTHCHECK_USERNAME = '{{ .Values.policyComponentUsername }}'
GLOBAL_POLICY_HEALTHCHECK_PASSWORD = '{{ .Values.policyComponentPassword }}'
+GLOBAL_POLICY_ADMIN_USERNAME = '{{ .Values.policyAdminUsername }}'
+GLOBAL_POLICY_ADMIN_PASSWORD = '{{ .Values.policyAdminPassword }}'
# portal info - everything is from the private oam network (also called onap private network)
GLOBAL_PORTAL_SERVER_PROTOCOL = "https"
GLOBAL_PORTAL_SERVER_PORT = '{{include "robot.ingress.port" (dict "root" . "hostname" "portal-app" "port" 8443) }}'
diff --git a/kubernetes/robot/values.yaml b/kubernetes/robot/values.yaml
index 9e5f222f48..087fc853d0 100644
--- a/kubernetes/robot/values.yaml
+++ b/kubernetes/robot/values.yaml
@@ -340,6 +340,8 @@ policyUsername: "demo@people.osaaf.org"
policyPassword: "demo123456!"
policyComponentUsername: "healthcheck"
policyComponentPassword: "zb!XztG34"
+policyAdminUsername: "policyadmin"
+policyAdminPassword: "zb!XztG34"
# PORTAL
portalUsername: "demo"
portalPassword: "Kp8bJ4SXszM0WXlhak3eHlcse"