Skip to content

Commit

Permalink
update GIT_TAGS for 1.27-1.30
Browse files Browse the repository at this point in the history
  • Loading branch information
vineeth-bandi committed Jun 12, 2024
1 parent c5916bd commit 338eb6c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 51 deletions.
2 changes: 1 addition & 1 deletion projects/kubernetes/kubernetes/1-27/GIT_TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.27.14
v1.27.15
2 changes: 1 addition & 1 deletion projects/kubernetes/kubernetes/1-28/GIT_TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.28.10
v1.28.11
2 changes: 1 addition & 1 deletion projects/kubernetes/kubernetes/1-29/GIT_TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.29.5
v1.29.6
2 changes: 1 addition & 1 deletion projects/kubernetes/kubernetes/1-30/GIT_TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.30.1
v1.30.2
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ index 00000000000..9925764a5b9
+ }
+}
diff --git a/staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go b/staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go
index 6a513f1c11a..dd1b3337583 100644
index f067b3f723c..4156df0157c 100644
--- a/staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go
+++ b/staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go
@@ -20,6 +20,8 @@ import (
Expand All @@ -1428,13 +1428,13 @@ index 6a513f1c11a..dd1b3337583 100644
"io"
+ "k8s.io/apiserver/pkg/admission/plugin/webhook/generic/exclusionrules"
+ "sync"

admissionmetrics "k8s.io/apiserver/pkg/admission/metrics"

"k8s.io/klog/v2"
@@ -44,6 +46,20 @@ import (

@@ -46,6 +48,20 @@ import (
clientset "k8s.io/client-go/kubernetes"
)

+var criticalPathExcluder exclusionrules.CriticalPathExcluder
+var LoadCriticalPathExcluder *sync.Once
+
Expand All @@ -1452,18 +1452,18 @@ index 6a513f1c11a..dd1b3337583 100644
// Webhook is an abstract admission plugin with all the infrastructure to define Admit or Validate on-top.
type Webhook struct {
*admission.Handler
@@ -93,6 +109,10 @@ func NewWebhook(handler *admission.Handler, configFile io.Reader, sourceFactory
@@ -95,6 +111,10 @@ func NewWebhook(handler *admission.Handler, configFile io.Reader, sourceFactory
cm.SetAuthenticationInfoResolver(authInfoResolver)
cm.SetServiceResolver(webhookutil.NewDefaultServiceResolver())

+ LoadCriticalPathExcluder.Do(func() {
+ criticalPathExcluder = exclusionrules.NewCriticalPathExcluder()
+ })
+
return &Webhook{
Handler: handler,
sourceFactory: sourceFactory,
@@ -166,6 +186,10 @@ func (a *Webhook) ShouldCallHook(ctx context.Context, h webhook.WebhookAccessor,
@@ -168,6 +188,10 @@ func (a *Webhook) ShouldCallHook(ctx context.Context, h webhook.WebhookAccessor,
return nil, nil
}

Expand Down

This file was deleted.

0 comments on commit 338eb6c

Please sign in to comment.