Skip to content

Commit

Permalink
feat: loosen up the default resource quota the admission controller
Browse files Browse the repository at this point in the history
  • Loading branch information
redhatrises committed Nov 9, 2023
1 parent 8cd60e2 commit 3208cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/admission/falconadmission_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ func (r *FalconAdmissionReconciler) Reconcile(ctx context.Context, req ctrl.Requ

func (r *FalconAdmissionReconciler) reconcileResourceQuota(ctx context.Context, req ctrl.Request, log logr.Logger, falconAdmission *falconv1alpha1.FalconAdmission) error {
existingRQ := &corev1.ResourceQuota{}
defaultPodLimit := "2"
defaultPodLimit := "5"

if falconAdmission.Spec.ResQuota.PodLimit != "" {
defaultPodLimit = falconAdmission.Spec.ResQuota.PodLimit
Expand Down

0 comments on commit 3208cf7

Please sign in to comment.