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
If you specify more than one exclude entry with an imageRef for the same rule (but with different imageRefs), then EC fails, calling it invalid when I try to apply it to my cluster.
Steps to Reproduce
Construct an policy with the following volatileConfig:
To fix the `Duplicate value` issue this declares the `volatileConfig`
not to be a map-like type with `value` as (unique) key, but rather a
slice.
Resolves: enterprise-contract#423
Describe the Bug
If you specify more than one exclude entry with an imageRef for the same rule (but with different imageRefs), then EC fails, calling it invalid when I try to apply it to my cluster.
Steps to Reproduce
Construct an policy with the following volatileConfig:
Expected Behavior
You can successfully apply that policy to the cluster and ec cli will process it and it will ignore cve.cve_blockers for those three refs.
Actual Behavior
Applying the resource to the cluster fails with:
The text was updated successfully, but these errors were encountered: