Skip to content

Commit

Permalink
Forward all parameters to the admission reconciler
Browse files Browse the repository at this point in the history
  • Loading branch information
ereslibre committed Apr 12, 2021
1 parent e8acfcc commit 7f6eca9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions controllers/cluster_admissionpolicy_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ func (r *ClusterAdmissionPolicyReconciler) Reconcile(req ctrl.Request) (ctrl.Res
log := r.Log.WithValues("clusteradmissionpolicy", req.NamespacedName)

admissionReconciler := admission.Reconciler{
Client: r,
DeploymentsNamespace: r.DeploymentsNamespace,
Log: log,
Client: r,
DeploymentsNamespace: r.DeploymentsNamespace,
DeploymentsServiceAccountName: r.DeploymentsServiceAccountName,
Log: log,
}

var clusterAdmissionPolicy kubewardenv1alpha1.ClusterAdmissionPolicy
Expand Down

0 comments on commit 7f6eca9

Please sign in to comment.