Enabling Developer Portal feature flags on OpenShift and Cloud Pak for Integration
Use a template override to update the installation CR with settings that control the default behavior of the Developer Portal subsystem.
About this task
You can add a template override to the Developer Portal subsystem CR to change the default behavior of the Portal subsystem, or to turn specific features on and off. Table 1 describes the available feature flags.
|Feature flag name||Default Value||Pod||Container||Description|
Controls whether the Portal subsystem checks whether the Portal web endpoint is accessible.
Sometimes, the endpoint cannot be reached, for example due to the complexity of the networks. In which case the following type of error can be seen in the
You can disable the check by setting this flag to
Controls whether the Drupal
If you have multiple load balancers and reverse proxies in your upstream network, and the
perimeter module is triggered, the incorrect IP address might be banned rather than the intended
client IP address. However, you can manage which IP addresses are banned by using the Drupal
The Drupal module inspects the
To use this module, you must ensure that all of the proxies in your upstream network, including the ingress controller, are configured correctly so that the
Warning: Enable this feature flag only if you trust your upstream reverse proxies, as it is possible to trick the
If API Connect is already deployed, retrieve the name of the deployed CR by running the
oc get apiconnectcluster -n <APIC_namespace>
If API Connect yet is not yet deployed, skip this step.
apiconnectclusterCR by running the following command:
oc edit apiconnectcluster <APIC_instance_name> -n <APIC_namespace>
In the CR, append the feature flag definition to the end of the
spec.portalsection, making sure to adhere to the spacing used in the file.
The following example enables the
spec: ... portal: template: - containers: - env: - name: ENABLE_TRUSTED_REVERSE_PROXY value: true name: container name: pod
Note: You can add multiple feature flags to the CR.
container is the name of the portal container.
pod is the name of the portal pod.
Close and save the file with the following command:
The Developer Portal subsystem is updated to enable or disable features as specified.