Skip to content

Implement PolicyAffected Status for NGF Policies #1761

Open
@kate-osborn

Description

@kate-osborn

As an HTTPRoute or Gateway owner
I want to know when my object is affected by an NGF policy
So that I know that the policy has taken effect.

Acceptance

  • Add and document the Condition type gateway.nginx.org/ClientSettingsPolicyAffected, gateway.nginx.org/ObservabilityPolicyAffected, and 'gateway.nginx.org/Waf/WAFPolicyAffected'
  • Set this Condition on all HTTPRoutes and Gateways affected by a ClientSettingPolicy or ObservabilityPolicy.
  • If an object is affected by multiple ClientSettingsPolicy, only one gateway.nginx.org/ClientSettingsPolicyAffected should exist. (same for ObservabilityPolicy)
  • When the last policy affecting that object is removed, the Condition should be removed.
  • The Observed Generation is the generation of the affected object, not the generation of the policy.

Metadata

Metadata

Assignees

Labels

communityenhancementNew feature or requestrefinedRequirements are refined and the issue is ready to be implemented.size/mediumEstimated to be completed within a week

Type

No type

Projects

Status

🏗 In Progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions