message: Add managed cluster proxy endpoint env var to multicluster-environment.sh script
diff: @@ -46,7 +46,7 @@ EOF
  OAUTH_CA_FILE="$CA_FILE_DIR/$NAME/oauth-ca.crt"
  oc --context "$CONTEXT" get -n openshift-config-managed cm kube-root-ca.crt -o json | jq -r '.data["ca.crt"]' >"$CA_FILE"
  oc --context "$CONTEXT" get -n openshift-config-managed cm default-ingress-cert -o json | jq -r '.data["ca-bundle.crt"]' >"$OAUTH_CA_FILE"
  - BRIDGE_MANAGED_CLUSTERS=$(echo "$BRIDGE_MANAGED_CLUSTERS" | \
  + BRIDGE_MANAGED_CLUSTERS=$(echo "$BRIDGE_MANAGED_CLUSTERS" |
  jq --arg name "$NAME" \
  --arg url "$URL" \
  --arg caFile "$CA_FILE" \
  @@ -76,6 +76,9 @@ export BRIDGE_K8S_MODE
  BRIDGE_K8S_MODE_OFF_CLUSTER_ENDPOINT=$(oc whoami --show-server)
  export BRIDGE_K8S_MODE_OFF_CLUSTER_ENDPOINT
  +BRIDGE_K8S_MODE_OFF_CLUSTER_MANAGED_CLUSTER_PROXY="https://$(oc get route cluster-proxy-addon-user -n multicluster-engine -o json | jq -r '.spec.host')"
  +export BRIDGE_K8S_MODE_OFF_CLUSTER_MANAGED_CLUSTER_PROXY
  +
  BRIDGE_CA_FILE="$CA_FILE_DIR/api-ca.crt"
  export BRIDGE_CA_FILE
  