You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched for similar issues and couldn't find anything matching
I've included steps to reproduce the behavior
Affected Components
K8sGPT (CLI)
K8sGPT Version
v0.3.14
Kubernetes Version
v1.27
Host OS and its Version
MacOS 14 Sonoma
Steps to reproduce
Create a ingress that has no paths defined yet (this use case may arise when an expert wants to configure an ingress rule with annotations and TLS secrets, while leaving defining paths for services up to developers).
Checklist
Affected Components
K8sGPT Version
v0.3.14
Kubernetes Version
v1.27
Host OS and its Version
MacOS 14 Sonoma
Steps to reproduce
k8sgpt analyze --filter Ingress
Expected behaviour
There should be a valid response with error message summaries or no errors.
Actual behaviour
Additional Information
It could be worth checking if
rule.HTTP != nil
before looping throughrole.HTTP.Paths
atk8sgpt/pkg/analyzer/ingress.go:102
The text was updated successfully, but these errors were encountered: