open-policy-agent / gatekeeper

🐊 Gatekeeper - Policy Controller for Kubernetes
https://open-policy-agent.github.io/gatekeeper/
Apache License 2.0
3.56k stars 730 forks source link

POC and design a CRD and controller for pubsub configs #2802

Open JaydipGabani opened 1 year ago

JaydipGabani commented 1 year ago

We currently rely on configMaps for defining and reconciling pub-sub connections. While this approach offers simplicity, it has its limitations. One of the main challenges we face is the lack of a dedicated status field in configMaps, making it difficult to effectively communicate errors to users. Additionally, we might encounter unnecessary reconciliations for configMaps that are not actually utilized for connections.

Based on this comment on PR #2538. The suggestion to address these limitations is to introduce a specialized kind or Custom Resource Definition (CRD) specifically designed for managing pub-sub connections. This proposed solution aims to overcome the shortcomings of using configMaps, particularly in terms of error reporting and avoiding unnecessary reconciles.

Please comment on this issue, if there is an interest for specific CRD for pub-sub connections.

stale[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

stale[bot] commented 8 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.