- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for denyTTL (0.21 sec)
-
plugin/pkg/admission/imagepolicy/admission.go
responseCache *cache.LRUExpireCache allowTTL time.Duration denyTTL time.Duration defaultAllow bool } var _ admission.ValidationInterface = &Plugin{} func (a *Plugin) statusTTL(status v1alpha1.ImageReviewStatus) time.Duration { if status.Allowed { return a.allowTTL } return a.denyTTL } // Filter out annotations that don't match *.image-policy.k8s.io/*
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 06:05:06 UTC 2023 - 9.8K bytes - Viewed (0) -
plugin/pkg/admission/imagepolicy/admission_test.go
{ "imagePolicy": { "kubeConfigFile": "{{ .KubeConfig }}", "allowTTL": {{ .AllowTTL }}, "denyTTL": {{ .DenyTTL }}, "retryBackoff": {{ .RetryBackoff }}, "defaultAllow": {{ .DefaultAllow }} } } ` const defaultConfigTmplYAML = ` imagePolicy: kubeConfigFile: "{{ .KubeConfig }}" allowTTL: {{ .AllowTTL }} denyTTL: {{ .DenyTTL }} retryBackoff: {{ .RetryBackoff }} defaultAllow: {{ .DefaultAllow }} `
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 06:05:06 UTC 2023 - 32.9K bytes - Viewed (0)