Browse Source

fix #30: 3scale on-premise only supports hosted deployments

pull/38/head
Nicolas Massé 7 years ago
parent
commit
9b92edea1e
  1. 2
      templates/api-calls/create_service.j2

2
templates/api-calls/create_service.j2

@ -1,4 +1,4 @@
{% if threescale_cicd_apicast_sandbox_endpoint|default("")|length > 0 or threescale_cicd_apicast_production_endpoint|default("")|length > 0 %}
{% if inventory_hostname is match(".*[.]3scale[.]net") and (threescale_cicd_apicast_sandbox_endpoint|default("")|length > 0 or threescale_cicd_apicast_production_endpoint|default("")|length > 0) %}
{% set deployment_type = "self_managed" %}
{% else %}
{% set deployment_type = "hosted" %}

Loading…
Cancel
Save