System info:
- OS: [MacOS]
Describe the bug
Kube-linter ignores that a liveness is being exposed in the container arguments.
To Reproduce
Steps to reproduce the behavior:
- get opentelemetry-operator-0.100.0 chart
- kube-linter lint opentelemetry-operator
Sample YAML input
containers:
- args:
- --metrics-addr=0.0.0.0:8080
- --enable-leader-election
{{- end }}
- --health-probe-addr=8081
Expected behavior
A clear and concise description of what you expected to happen.
No error as this
grafana-tempo/charts/opentelemetry-operator/templates/deployment.yaml: (object: default/test-release-opentelemetry-operator apps/v1, Kind=Deployment) container "manager" does not expose port 8081 for the HTTPGet (check: liveness-port, remediation: Check which ports you've exposed and ensure they match what you have specified in the liveness probe.)
Screenshots
not applicable
Additional context
System info:
Describe the bug
Kube-linter ignores that a liveness is being exposed in the container arguments.
To Reproduce
Steps to reproduce the behavior:
Sample YAML input
Expected behavior
A clear and concise description of what you expected to happen.
No error as this
Screenshots
not applicable
Additional context