- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 57 for MutatingWebhook (0.22 sec)
-
pkg/config/analysis/analyzers/injection/image-auto.go
gvk.Pod, gvk.Deployment, gvk.MutatingWebhookConfiguration, }, } } // Analyze implements Analyzer. func (a *ImageAutoAnalyzer) Analyze(c analysis.Context) { var istioWebhooks []admitv1.MutatingWebhook c.ForEach(gvk.MutatingWebhookConfiguration, func(resource *resource.Instance) bool { mwhc := resource.Message.(*admitv1.MutatingWebhookConfiguration) for _, wh := range mwhc.Webhooks {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 01 01:34:15 UTC 2023 - 4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/plugin_test.go
b.ResetTimer() b.RunParallel(func(pb *testing.PB) { for pb.Next() { wh.Admit(context.TODO(), attr, objectInterfaces) } }) }) } } // TestAdmit tests that MutatingWebhook#Admit works as expected func TestAdmit(t *testing.T) { testServer := webhooktesting.NewTestServer(t) testServer.StartTLS() defer testServer.Close() serverURL, err := url.ParseRequestURI(testServer.URL)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:52 UTC 2024 - 11K bytes - Viewed (0) -
staging/src/k8s.io/api/admissionregistration/v1/zz_generated.deepcopy.go
copy(*out, *in) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutatingWebhook. func (in *MutatingWebhook) DeepCopy() *MutatingWebhook { if in == nil { return nil } out := new(MutatingWebhook) in.DeepCopyInto(out) return out }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 24.7K bytes - Viewed (0) -
staging/src/k8s.io/api/admissionregistration/v1beta1/zz_generated.deepcopy.go
copy(*out, *in) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutatingWebhook. func (in *MutatingWebhook) DeepCopy() *MutatingWebhook { if in == nil { return nil } out := new(MutatingWebhook) in.DeepCopyInto(out) return out }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 20:56:23 UTC 2023 - 23.3K bytes - Viewed (0) -
pkg/apis/admissionregistration/zz_generated.deepcopy.go
copy(*out, *in) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutatingWebhook. func (in *MutatingWebhook) DeepCopy() *MutatingWebhook { if in == nil { return nil } out := new(MutatingWebhook) in.DeepCopyInto(out) return out }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 20 16:30:10 UTC 2023 - 24.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/request/admissionreview_test.go
}, expectErr: "webhook does not accept known AdmissionReview versions", }, { name: "no known supported versions", invocation: &generic.WebhookInvocation{ Webhook: webhook.NewMutatingWebhookAccessor("mywebhook", "mycfg", &admissionregistrationv1.MutatingWebhook{ AdmissionReviewVersions: []string{"vX"}, }), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 16:56:12 UTC 2023 - 20.1K bytes - Viewed (0) -
pkg/apis/admissionregistration/v1/defaults.go
obj.TimeoutSeconds = new(int32) *obj.TimeoutSeconds = 10 } } // SetDefaults_MutatingWebhook sets defaults for webhook mutating func SetDefaults_MutatingWebhook(obj *admissionregistrationv1.MutatingWebhook) { if obj.FailurePolicy == nil { policy := admissionregistrationv1.Fail obj.FailurePolicy = &policy } if obj.MatchPolicy == nil { policy := admissionregistrationv1.Equivalent obj.MatchPolicy = &policy
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 3.5K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
t.Helper() objs, err := object.ParseK8sObjectsFromYAMLManifest(yml) if err != nil { t.Fatal(err) } if len(objs) != 1 { t.Fatal("expected one webhook") } return mustGetWebhook(t, *objs[0]) } type LabelSet struct { namespace, pod klabels.Set } func mergeWebhooks(whs ...[]v1.MutatingWebhook) []v1.MutatingWebhook {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 18:05:06 UTC 2024 - 43.5K bytes - Viewed (0) -
samples/ambient-argo/tag-chart/templates/mutatingwebhooks.yaml
values: - "{{ $tagName }}" {{- /* When the tag is "default" we want to create webhooks for the default revision */}} {{- /* These webhooks should be kept in sync with istio-discovery/templates/mutatingwebhook.yaml */}} {{- if (eq $tagName "default") }} {{- /* Case 1: Namespace selector enabled, and object selector is not injected */}}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Nov 04 01:54:50 UTC 2023 - 3.2K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
Reason: reason, }) } sort.Slice(results, func(i, j int) bool { return results[i].Name < results[j].Name }) return results } func analyzeWebhooksMatchStatus(whs []admitv1.MutatingWebhook, podLabels, nsLabels map[string]string) (reason string, injected bool) { for _, wh := range whs { nsMatched, nsLabel := extractMatchedSelectorInfo(wh.NamespaceSelector, nsLabels)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 9.3K bytes - Viewed (0)