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
As described in the kubescape docs we can analyze a kustomize repository.
In my Kustomize directory I have in my base folder a webserver with resource limit set
But when I'm running kubescape scan --verbose framework nsa path-to-my-kustomize-dir/overlays/prod I still get a high severity for resource limits.
I've tried running kubescape scan --verbose framework nsa path-to-my-kustomize-dir/ kubescape scan --verbose framework nsa path-to-my-kustomize-dir/base
but it didn't work either
Environment
OS: macOS Ventura 13.6
Version: v3.0.3
Steps To Reproduce
Create a kustomize directory such as this one
2. In the directory create a deployment as base with resources limits set at the container level
3. In one of the overlays directory create an kustomization of the deployment created at the previous step (not one setting resource limits obviously). In my case I'm changing the image of the container deployed in my pod.
4. Run `kubescape scan --verbose framework nsa path-to-my-kustomize-dir/overlays/prod`, you'll have a severity high on the resource limits.
Expected behavior
I'd expect the resource limits severity not to be a failed resource and the template rendering issues for the complete deployment not only for the overlay
Actual Behavior
The resource limits severity is considered a failed resource however it was correctly set
Additional context
The text was updated successfully, but these errors were encountered:
Description
As described in the kubescape docs we can analyze a kustomize repository.
In my Kustomize directory I have in my base folder a webserver with resource limit set
But when I'm running
kubescape scan --verbose framework nsa path-to-my-kustomize-dir/overlays/prod
I still get a high severity for resource limits.I've tried running
kubescape scan --verbose framework nsa path-to-my-kustomize-dir/
kubescape scan --verbose framework nsa path-to-my-kustomize-dir/base
but it didn't work either
Environment
OS:
macOS Ventura 13.6
Version:
v3.0.3
Steps To Reproduce
Expected behavior
I'd expect the resource limits severity not to be a failed resource and the template rendering issues for the complete deployment not only for the overlay
Actual Behavior
The resource limits severity is considered a failed resource however it was correctly set
Additional context
The text was updated successfully, but these errors were encountered: