Skip to content

Add static check for NetworkPolicy presence#852

Merged
Allda merged 1 commit into
mainfrom
ISV-6226
Sep 1, 2025
Merged

Add static check for NetworkPolicy presence#852
Allda merged 1 commit into
mainfrom
ISV-6226

Conversation

@Allda
Copy link
Copy Markdown
Contributor

@Allda Allda commented Aug 25, 2025

A new static check for all incoming bundles that rejects any bundle that contains a NetworkPolicy.

Based on the decision from OLM team this resource is temporarily not allowed globally for all OCP versions until OLM releases a backport.

JIRA: ISV-6226

Merge Request Checklists

  • Development is done in feature branches
  • Code changes are submitted as pull request into a primary branch [Provide reason for non-primary branch submissions]
  • Code changes are covered with unit and integration tests.
  • Code passes all automated code tests:
    • Linting
    • Code formatter - Black
    • Security scanners
    • Unit tests
    • Integration tests
  • Code is reviewed by at least 1 team member
  • Pull request is tagged with "risk/good-to-go" label for minor changes

@Allda Allda requested review from ezopezo and johnbe11 August 26, 2025 11:28
Comment thread docs/users/static_checks.md Outdated
Comment thread operator-pipeline-images/operatorcert/static_tests/common/bundle.py Outdated
@Allda Allda force-pushed the ISV-6226 branch 2 times, most recently from bef34de to 623f55d Compare September 1, 2025 07:07
A new static check for all incoming bundles that rejects any bundle
that contains a NetworkPolicy.

Based on the decision from OLM team this resource is temporarily
not allowed globally for all OCP versions until OLM releases a backport.

JIRA: ISV-6226

Signed-off-by: Ales Raszka <araszka@redhat.com>
@Allda Allda merged commit fe5d739 into main Sep 1, 2025
4 checks passed
@Allda Allda deleted the ISV-6226 branch September 1, 2025 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants