nginxinc / nginx-supportpkg-for-k8s

NGINX Support Package Tool For Kubernetes
Apache License 2.0
0 stars 2 forks source link

"nginx -T" command execution failures #66

Closed dareste closed 1 month ago

dareste commented 1 month ago

Describe the bug

Command executions fail if the container within the iingress pod has a different name than nginx-ingress:

2024/10/10 14:11:39.727612 nic_job_list.go:78:  Command execution [/usr/sbin/nginx -T] failed for pod nginx-ingress-a-6974589fc5-8rmlr in namespace nginx-ingress: container nginx-ingress is not valid for pod nginx-ingress-a-6974589fc5-8rmlr

Expected behavior

Command execution should work regardless of the container name.