open-policy-agent / open-policy-agent/frameworks

reconsider ConstraintTemplate status placement

Open
#367 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
127
Forks
61
Avg merge
1d 17h
Merged PRs (30d)
13

Description

It seems that the ConstraintTemplatePodStatus could be better homed in Gatekeeper:

https://github.com/open-policy-agent/frameworks/blob/3eb381ce6cbedf3c1adedf2bfb20aa5e491c5baa/constraint/pkg/core/templates/constrainttemplate_types.go#L78-L100

If that's possible we should consider making that change.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading constraint/pkg/core/templates/constrainttemplate_types.go, especially lines 78-100, and examine how ConstraintTemplatePodStatus is currently defined. Determine whether the status belongs in Gatekeeper and what project-wide impact that placement would have; the issue is done when that design question is resolved and the agreed status placement is implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend-api-design
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.