-
Notifications
You must be signed in to change notification settings - Fork 95
Closed
Description
Describe the bug
The condition of rule 'no-resource-limits-pods' is '!container.resources.limit'.
but, It should be '!container.resources.limits' as followed.
You omit 's' at 'limit'.
for(var container of item.config.spec.containers)
{
if (!container.resources.limits)
{
warning('No resource limit set');
}
}
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment Details:
- Kubernetes Distribution/Version [e.g. GKE v1.13.12-gke.25, OpenShift 4.3]
- Browser [e.g. chrome, safari]
- Version [e.g. v0.3]
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
No labels