-
Feature Request
-
Resolution: Unresolved
-
Undefined
-
None
-
2.5
-
False
-
-
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; }