-
Notifications
You must be signed in to change notification settings - Fork 865
feat: add syncset controller, feat: syncset readiness #3030
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
acpana
merged 47 commits into
open-policy-agent:master
from
acpana:acpana/syncsets-rt-r
Nov 23, 2023
Merged
Changes from 22 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
e34eed0
add syncset controller
acpana 3d43814
add syncset readiness, observe config
acpana 0dc69bd
reconcile data expectations
acpana 46dfde2
enable syncset crd
acpana 686af5d
interpret registrar err
acpana 7e94cdd
review: move EM, rename to EP
acpana 31979ac
review: remove waitgroup
acpana b290867
smoll fix for test
acpana 49d652e
Merge branch 'master' into acpana/syncsets-rt-r
acpana 2192d65
use logging constant
acpana 592e243
add TryCancelData
acpana 8da842c
fix lock
acpana 50f7abd
review: rm comments, mgr starts pruner
acpana 7296196
review: move interface, IsUniversal
acpana 6a260a3
review: explicitly remove source
acpana a1e153f
Merge branch 'master' into acpana/syncsets-rt-r
acpana 689b252
limit name to 63 char
acpana 4708b4d
review: comments, naming, HasBalidationOperation
acpana 9937605
only add syncset controller for validation
acpana 05af5c9
flesh out errorList
acpana dda78b6
TryCancel all gvks if universal
acpana 5e48091
review feedback
acpana 24f9237
review feedback
acpana 53a7625
review feedback
acpana c8537e2
use fake client builder
acpana 7cd0440
use fake client builder in readiness pkg too
acpana 23d9ef7
Merge branch 'master' into acpana/syncsets-rt-r
acpana c4ea7cb
review feedback
acpana b660943
review: remove Test_ExpectationsMgr_DeletedSyncSets
acpana 79dce07
refactor: agg err, restore agg
acpana 09842ff
revert: restore agg
acpana 3d07778
revert: infer podGVK
acpana ccf2160
add RemoveGVKErr
acpana 449b39a
account for dangling watches
acpana d0ebd6a
better handling for dangling watches
acpana eeba2bf
check err nullability, naming
acpana 034e826
use remove set instead of forceWipe
acpana 854306e
set instead of book for dangling watches
acpana d7bb9b5
general error watch dangling
acpana 7faecbc
review feedback
acpana 03565fa
refactor: use tt
acpana 3766d66
fix: general err dangling watches
acpana 352ae72
rf: add set directly
acpana a216503
Merge branch 'master' into acpana/syncsets-rt-r
acpana a280fb7
Apply suggestions from code review
acpana c87e934
review suggestions
acpana 430deea
Merge branch 'master' into acpana/syncsets-rt-r
acpana File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
manifest_staging/charts/gatekeeper/crds/syncset-customresourcedefinition.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| apiVersion: apiextensions.k8s.io/v1 | ||
| kind: CustomResourceDefinition | ||
| metadata: | ||
| annotations: | ||
| controller-gen.kubebuilder.io/version: v0.10.0 | ||
| labels: | ||
| gatekeeper.sh/system: "yes" | ||
| name: syncsets.syncset.gatekeeper.sh | ||
| spec: | ||
| group: syncset.gatekeeper.sh | ||
| names: | ||
| kind: SyncSet | ||
| listKind: SyncSetList | ||
| plural: syncsets | ||
| singular: syncset | ||
| preserveUnknownFields: false | ||
| scope: Cluster | ||
| versions: | ||
| - name: v1alpha1 | ||
| schema: | ||
| openAPIV3Schema: | ||
| description: SyncSet is the Schema for the SyncSet API. | ||
| properties: | ||
| apiVersion: | ||
| description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
| type: string | ||
| kind: | ||
| description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
| type: string | ||
| metadata: | ||
| properties: | ||
| name: | ||
| maxLength: 63 | ||
| type: string | ||
| type: object | ||
| spec: | ||
| properties: | ||
| gvks: | ||
| items: | ||
| properties: | ||
| group: | ||
| type: string | ||
| kind: | ||
| type: string | ||
| version: | ||
| type: string | ||
| type: object | ||
| type: array | ||
| type: object | ||
| type: object | ||
| served: true | ||
| storage: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.