diff options
author | Jack Lucas <jflos@sonoris.net> | 2022-01-31 14:59:24 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-01-31 14:59:24 +0000 |
commit | 0eec968ce240c0f029de5c3d3f8b3e8037ee74ce (patch) | |
tree | 44ed2213ea1877c2da51b2698ff9a00d5cc78147 /kubernetes/robot | |
parent | 85a13b2a91f3ba076a8ce28d9d7877354c6c0439 (diff) | |
parent | 2b764d035310d91744b4c22ace83593b9a561116 (diff) |
Merge "[SDC] Service Mesh Compliance for SDC"
Diffstat (limited to 'kubernetes/robot')
-rw-r--r-- | kubernetes/robot/resources/config/eteshare/config/robot_properties.py | 12 | ||||
-rw-r--r-- | kubernetes/robot/values.yaml | 3 |
2 files changed, 9 insertions, 6 deletions
diff --git a/kubernetes/robot/resources/config/eteshare/config/robot_properties.py b/kubernetes/robot/resources/config/eteshare/config/robot_properties.py index 84df722cb0..c2d1c48fe8 100644 --- a/kubernetes/robot/resources/config/eteshare/config/robot_properties.py +++ b/kubernetes/robot/resources/config/eteshare/config/robot_properties.py @@ -143,13 +143,13 @@ GLOBAL_APPC_CDT_SERVER_PROTOCOL = "https" GLOBAL_APPC_CDT_SERVER_PORT = '{{include "robot.ingress.port" (dict "root" . "hostname" "appc-cdt" "port" 18080) }}' GLOBAL_APPC_CDT_USERNAME = "demo" # sdc info - everything is from the private oam network (also called onap private network) -GLOBAL_SDC_SERVER_PROTOCOL = "https" -GLOBAL_SDC_FE_PORT = '{{include "robot.ingress.port" (dict "root" . "hostname" "sdc-fe" "port" 9443) }}' -GLOBAL_SDC_BE_PORT = '{{include "robot.ingress.port" (dict "root" . "hostname" "sdc-be" "port" 8443) }}' -GLOBAL_SDC_BE_ONBOARD_PORT = '{{include "robot.ingress.port" (dict "root" . "hostname" "sdc-onboarding-be" "port" 8445) }}' +GLOBAL_SDC_SERVER_PROTOCOL = 'http{{ (eq "true" (include "common.needTLS" .)) | ternary "s" "" }}' +GLOBAL_SDC_FE_PORT = '{{include "robot.ingress.port" (dict "root" . "hostname" "sdc-fe" "port" ( ternary 9443 8181 (eq "true" (include "common.needTLS" . )))) }}' +GLOBAL_SDC_BE_PORT = '{{include "robot.ingress.port" (dict "root" . "hostname" "sdc-be" "port" ( ternary 8443 8080 (eq "true" (include "common.needTLS" . )))) }}' +GLOBAL_SDC_BE_ONBOARD_PORT = '{{include "robot.ingress.port" (dict "root" . "hostname" "sdc-onboarding-be" "port" ( ternary 8445 8081 (eq "true" (include "common.needTLS" . )))) }}' GLOBAL_SDC_DCAE_BE_PORT = '{{include "robot.ingress.port" (dict "root" . "hostname" "sdc-dcae-be" "port" 8444) }}' -GLOBAL_SDC_USERNAME = "beep" -GLOBAL_SDC_PASSWORD = "boop" +GLOBAL_SDC_USERNAME = '{{ .Values.sdcUsername }}' +GLOBAL_SDC_PASSWORD = '{{ .Values.sdcPassword }}' GLOBAL_SDC_AUTHENTICATION = [GLOBAL_SDC_USERNAME, GLOBAL_SDC_PASSWORD] # clamp info - everything is from the private oam network (also called onap private network) GLOBAL_CLAMP_SERVER_PROTOCOL = "https" diff --git a/kubernetes/robot/values.yaml b/kubernetes/robot/values.yaml index 89d83c85a3..b057fc7304 100644 --- a/kubernetes/robot/values.yaml +++ b/kubernetes/robot/values.yaml @@ -322,6 +322,9 @@ aaiPassword: "demo123456!" # APPC appcUsername: "appc@appc.onap.org" appcPassword: "demo123456!" +# SDC +sdcUsername: "beep" +sdcPassword: "boop" # DCAE dcaeUsername: "dcae@dcae.onap.org" dcaePassword: "demo123456!" |