Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-5833

Restrict ALLOWED_HOSTS to the IP of the pod

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • rhos-18.0.0
    • None
    • horizon-operator
    • None
    • 2024Q2
    • UV; UI

      To provide sufficient security, it is necessary for us to restrict the ALLOWED_HOSTS value to only those that will need to be served by Horizon. But, we must include the pod IP address in this list in order to facilitate liveness checks,

      In order to do this, we need to dynamically determine the IP address of the pod which will be allocated each time a pod is created. We can do this by writing some Python code into the local_settings.py file that will determine the IP address of the primary interface in the pod.

            rhn-support-bshephar Brendan Shephard
            rhn-support-bshephar Brendan Shephard
            rhos-dfg-df
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: