Enable the Ansible plug-ins for Red Hat Developer Hub feedback form

You can enable the Ansible plugins for Red Hat Developer Hub feedback form to submit star ratings and text. After you enabled the plugins, feedback is sent to Red Hat through the telemetry data collected by your Red Hat Developer Hub instance.

About this task

To enable the feedback form, set the ansible.feedback.enabled option to true in your Red Hat Developer Hub configuration.

Procedure

  • For Helm installation:

    If you installed Red Hat Developer Hub by using the Helm chart, add or update the following YAML in the app-config-rhdh.yaml data section of the ConfigMap:

    kind: ConfigMap
    apiVersion: v1
    metadata:
      name: app-config-rhdh
    data:
      app-config-rhdh.yaml: |
        ansible:
          feedback:
            enabled: true

    After updating the ConfigMap:

    1. In the OpenShift Developer UI, select the Red Hat Developer Hub pod.
    2. Open Actions.
    3. Click Restart rollout.
  • For Operator installation:

    If you installed Red Hat Developer Hub by using the Operator, update the app-config-rhdh ConfigMap referenced by your Backstage custom resource.

    Add or update the following YAML in the app-config-rhdh.yaml data section of the ConfigMap:

    kind: ConfigMap
    apiVersion: v1
    metadata:
      name: app-config-rhdh
    data:
      app-config-rhdh.yaml: |
        ansible:
          feedback:
            enabled: true

    The Operator detects the ConfigMap change and automatically restarts the Red Hat Developer Hub deployment.