-
Notifications
You must be signed in to change notification settings - Fork 564
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
Add skeleton reconciler for cosigned API CRD. #1513
Conversation
This puts together the skeleton of a reconciler for the ClusterImagePolicy CRD, and links it into our controlplane pod. This adds the CRD definition (and stub to generate the schema), and RBAC to let us reconcile the CRD. Signed-off-by: Matt Moore <[email protected]>
schema: | ||
openAPIV3Schema: | ||
# This is the output of: | ||
# go run ./cmd/schema/ dump ClusterImagePolicy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As #1417 progresses, we can simply rerun this command and paste its new output here.
|
||
// ReconcileKind implements Interface.ReconcileKind. | ||
func (r *Reconciler) ReconcileKind(ctx context.Context, o *v1alpha1.ClusterImagePolicy) reconciler.Event { | ||
return nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#1418 will entail filling this out with logic to turn our list of ClusterImagePolicy CRDs into our compiled ConfigMap.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can use r.Tracker
to track references to secrets/configmaps
This puts together the skeleton of a reconciler for the ClusterImagePolicy CRD, and links it into our controlplane pod. This adds the CRD definition (and stub to generate the schema), and RBAC to let us reconcile the CRD. Signed-off-by: Matt Moore <[email protected]>
This puts together the skeleton of a reconciler for the ClusterImagePolicy CRD, and links it into our controlplane pod. This adds the CRD definition (and stub to generate the schema), and RBAC to let us reconcile the CRD. Signed-off-by: Matt Moore <[email protected]>
This puts together the skeleton of a reconciler for the ClusterImagePolicy CRD, and links it into our controlplane pod. This adds the CRD definition (and stub to generate the schema), and RBAC to let us reconcile the CRD. Signed-off-by: Matt Moore <[email protected]>
This puts together the skeleton of a reconciler for the ClusterImagePolicy CRD, and links it into our controlplane pod.
This adds the CRD definition (and stub to generate the schema), and RBAC to let us reconcile the CRD.
Signed-off-by: Matt Moore [email protected]
Ticket Link
Scaffolding for: #1418
Release Note