Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-27733

Add policy linter for invalid managed cluster policy structure

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Critical Critical
    • ACM 2.16.0
    • None
    • GRC
    • None
    • Product / Portfolio Work
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • None

      Value Statement

      Tracking work for https://issues.redhat.com/browse/ACM-24872 . Investigate and implement linting capabilities to detect invalid policy structure. Example output:

      ConfigurationPolicy.policy.open-cluster-management.io "rolebinding-policy-citiedit-redis-osr" is invalid: spec.namespaceSelector.matchExpressions.values: Invalid value: "string": spec.namespaceSelector.matchExpressions.values in body must be of type array: "string"

      Definition of Done for Engineering Story Owner (Checklist)

      • ...

      Development Complete

      • The code is complete.
      • Functionality is working.
      • Any required downstream Docker file changes are made.

      Tests Automated

      • [ ] Unit/function tests have been automated and incorporated into the build.
      • [ ] 100% automated unit/function test coverage for new or changed APIs.

      Secure Design

      • [ ] Security has been assessed and incorporated into your threat model.

      Multidisciplinary Teams Readiness

      • [ ] Create an informative documentation issue using the Customer Portal Doc template that you can access from The Playbook, and ensure doc acceptance criteria is met.
      • Call out this sentence as it's own action:
      • [ ] Link the development issue to the doc issue.

      Support Readiness

      • [ ] The must-gather script has been updated.

              jalaw@redhat.com Janelle Law
              jalaw@redhat.com Janelle Law
              Derek Ho Derek Ho
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: