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
{{ message }}
Repository navigation
chart: the OPA authz sidecar does not watch its policy, so a policy change needs a proxy roll #1383
opa run is started without --watch, so the sidecar reads its policy once. Since #1367 a policy change rolls the proxy pod through a checksum/opa-policy annotation (before that it was applied only by the accident of every release rolling everything). A proxy roll is a hot restart on every node.
Fix: run OPA with --watch on the mounted policy (ConfigMap updates arrive through the symlink swap) and drop the checksum annotation; check the reload is atomic and what a bad policy does (keep the last good one, with a metric).
Reported by the chart work for #1363/#1364 (PRs #1367, #1368), not changed there.
Activity
feat(chart): the OPA authz sidecar reloads its policy on change; a po…
feat(chart): the OPA authz sidecar reloads its policy on change; a po…
feat(chart): the OPA authz sidecar reloads its policy on change; a po…
docs(chart): the OPA policy rollout is asynchronous per node; validat…