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
Update memory resource validation in C-0004 control
- Modify memory resource validation to use `quantity().asInteger()` for correct parsing
- Update test cases to use Kubernetes memory unit suffixes (Mi, Gi, Ki)
- Expand memory resource configuration range in default and basic control configurations
- Ensure consistent memory resource validation across Pod, Workload, and CronJob resources
Signed-off-by: Ben <[email protected]>
message: "Pods contains container/s with memory limit or request not set or they are not in the specified range! (see more at https://hub.armosec.io/docs/c-0004)"
message: "Workloads contains container/s with memory limit or request not set or they are not in the specified range! (see more at https://hub.armosec.io/docs/c-0004)"
message: "CronJob contains container/s with memory limit or request not set or they are not in the specified range! (see more at https://hub.armosec.io/docs/c-0004)"
0 commit comments