Uploaded image for project: 'Ansible Automation Platform RFEs'
  1. Ansible Automation Platform RFEs
  2. AAPRFE-2087

[RFE] Allow custom nginx_status config for nginx_status endpoint

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Currently, the nginx_status endpoint is only accessible from within the pod, making it difficult for customers to monitor externally.

      With this change, customers could supply custom nginx_status directives (e.g., allow/deny rules, custom locations) to expose and manage the status endpoint as needed. As per https://github.com/ansible/awx-operator/blob/2.19.1/roles/installer/templates/configmaps/config.yaml.j2.

      PR: https://github.com/ansible/awx-operator/pull/2040

       

      This is an example of how to allow any IP but can be restricted to k8s CIDR:

      apiVersion: awx.ansible.com/v1beta1
      kind: AWX
      metadata:
        name: awx
      spec:
        service_type: clusterip
        ingress_type: Route
        nginx_extra_config: |
          location /nginx_status {
            stub_status on;
            access_log off;
            allow all;
          }

       

       

              dysilva Dylan Silva
              rhn-support-jbyrd Jimmy Byrd
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: