operator-framework / enhancements

Apache License 2.0
9 stars 40 forks source link

[WIP] Extended static bundle validation #28

Closed harishsurf closed 4 years ago

harishsurf commented 4 years ago

This enhancement involves:

  1. Adding static validation to SAP Gardner objects namely PDB, PriorityClass and VerticalPodAutoscaler
  2. Extends opm to validate catalog source index for invalid bundles that do not satisfy the static validation rules

Signed-off-by: Harish hgovinda@redhat.com

exdx commented 4 years ago

Related to https://github.com/operator-framework/operator-lifecycle-manager/pull/1564

This enhancement definitely makes me feel better about adding the objects in the above PR "as-is" and then handling the validation/security implications in a separate workflow.

I'm not entirely sure why the focus is on PDBs, which are namespace scoped, versus PriorityClass objects, which are clusterwide, but probably we can take logic from one and apply them to the other in this context.

harishsurf commented 4 years ago

The scoping for this enhancement was modified and is tracked as part of two separate PRs: #48 and #43