Parameters explanation
The following parameters are included in the
config.sh
file.
ws_adapter=true
proxy_id=<Proxy ID generated via UUID tool >
host=ibm.gravitant.net
application=mcmp:consume:service
protocol=<Provider Code >
ws_token_name=<token Name used to generate WS Token>
ws_token=yIye-<Actual Token >
cleanup_proxies=false/true (if you want to clean old Proxy ID ,keep true , else false )
unused_proxies=<unused Proxy ID >
#values for ws token name and value secret key for swarm mode
ws_token_key=ws_token
ws_token_name_key=ws_token_name
nginx_required=true
external_interfacing_required=false
nginx_image_name=nginx:1.17.10
load_balancer_ip=<IP of LB VM >
load_balancer_port=2371
load_balancer_user=root
external_interfacing_ip=<IP of VM >
external_interfacing_port=5678
proxy_adapter_ip="Proxy Adapter VM IP"
proxy_adapter_user=root
#Advanced configuration, make sure to give proper version for image (e.g. release-2018.08.01) as per artifactory
vra_proxy_image_name=ibmcb-docker-local.artifactory.swg-devops.com/cb-vra-proxy-adapter-int:latest
vra_proxy_port="3333"
#Advanced configuration, make sure to give proper version for image (e.g. release-2018.08.01) as per artifactory
proxy_image_name=ibmcb-docker-local.artifactory.swg-devops.com/cb-vra-proxy-adapter-int:latest
proxy_port="3333"
con_app_api_end_point=<Env Host-API URL >
#connection protocol configuraiton
connection_protocol=https
certificate_name=vramutualauth2
#externalvault enabled configuration, value can be true or false
externalvaultenabled=false
# set the name of external vault script here
vravaultcredscript="getCredentials.sh"
If set to true, update the 'image' field value in respective yml file in proxy-docker-compose folder
Use the same image value as configured in vra_proxy_image_name, make sure to give proper version for image (e.g. release-2018.08.01) as per artifactory
# image: ibmcb-docker-local.artifactory.swg-devops.com/cb-vra-proxy-adapter-int:latest
#This is only required if mutual auth is true.
mutual_auth=false
endpoint_cer_name=vramutualclcrt2
endpoint_key_name=vramutualclkey2
# give the ip address or subnet in which the adapters are running. This will ensure that only adapters are able to access the forward proxy port.
# example1: 192.168.1.2 example2: 192.168.1.1/24 Example3: 2001:0db8::/32
# Ensure you provide the public ip of adapter vm, which usually starts with 169.x.x.x and not the private ip which usually starts with 10.x.x.x
#This is only required if mutual auth is true. This has to match the CN of consume certificate.
conf_upstream_value=*.gravitant.net
#This is only required if mutual auth is true. Sets the verification depth in the client certificates chain.
#This is only required if mutual auth is true. This is nginx forward proxy port.
nginxforwardproxyport=12345
# This has to point to consume/api gateway host and port.
nginxupstreamserver=cb-qa-1-api.gravitant.net:8443
#This is only required if mutual auth is true. This is nginx host and nginx forward proxy port.
# adapter_con_app_api_end_point=http://169.45.189.14:12345
# This is the name of the file that contains consume ca certificate.
consume_ca_cert_filename=combinedca_intermediate.pem
# Set the valid value for provider code here
#Feature flag to use credential api's.By default it will use old deprecated api's.To use the new credentials api, set to false
#Create a new provider of type vRA using the provider_code and provider_name mentioned
#Use the below provider name to create a new provider