Skip to content

e2e: the bad-policy restart cases of the OPA sidecar are not in CI #1448

Closed as not planned

Description

@bpalermo

e2e/authz.sh step d (#1436) covers a policy change reaching a RUNNING sidecar with no pod restart. Not covered: a sidecar container restart with a policy that does not compile (checks fail per failureMode), and a proxy pod replacement in that state (the node ends up with no proxy after the successor wait). Both were measured by hand on kind. Adding them needs a destructive step and about three more minutes in the nightly authz job.

Reported by the OPA policy-watch work (PR #1436), not changed there. Measured on kind with OPA 1.21.1.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Activity

  1. added
    enhancement
    minor
    chart
    on Oct 8, 2026
  2. bpalermo commented on Oct 10, 2026

    @bpalermo
    OwnerAuthor

    Closed on the owner's decision: the chart will not run a workload that checks policies. A policy is assumed to be tested before it is distributed (the standing rule from #1383), so what an untested policy does at a later restart is not something the chart or CI will cover.

    🤖 Generated with Claude Code

    https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    chartenhancementminor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions