- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for denyTTL (1.07 sec)
-
plugin/pkg/admission/imagepolicy/config_test.go
AllowTTL: ((minAllowTTL + maxAllowTTL) / 2) / time.Second, DenyTTL: ((minDenyTTL + maxDenyTTL) / 2) / time.Second, RetryBackoff: ((minRetryBackoff + maxRetryBackoff) / 2) / time.Millisecond, }, normalizedConfig: imagePolicyWebhookConfig{ AllowTTL: ((minAllowTTL + maxAllowTTL) / 2) / time.Second * time.Second, DenyTTL: ((minDenyTTL + maxDenyTTL) / 2) / time.Second * time.Second,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 05 02:24:38 UTC 2023 - 3.9K bytes - Viewed (0) -
plugin/pkg/admission/imagepolicy/config.go
// imagePolicyWebhookConfig holds config data for imagePolicyWebhook type imagePolicyWebhookConfig struct { KubeConfigFile string `json:"kubeConfigFile"` AllowTTL time.Duration `json:"allowTTL"` DenyTTL time.Duration `json:"denyTTL"` RetryBackoff time.Duration `json:"retryBackoff"` DefaultAllow bool `json:"defaultAllow"` } // AdmissionConfig holds config data for admission controllers type AdmissionConfig struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 25 04:07:36 UTC 2022 - 3.1K bytes - Viewed (0) -
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) -
staging/src/k8s.io/apiserver/pkg/admission/config_test.go
}, PluginNames: []string{}, }, "legacy configuration with using legacy plugins": { ConfigBody: `{ "imagePolicy": { "kubeConfigFile": "/home/user/.kube/config", "allowTTL": 30, "denyTTL": 30, "retryBackoff": 500, "defaultAllow": true }, "podNodeSelectorPluginConfig": { "clusterDefaultNodeSelector": "" } }`, ExpectedAdmissionConfig: &apiserver.AdmissionConfiguration{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 29 15:48:39 UTC 2023 - 8.8K bytes - Viewed (0) -
cluster/gce/gci/configure-helper.sh
- name: ImagePolicyWebhook configuration: imagePolicy: kubeConfigFile: /etc/srv/kubernetes/gcp_image_review.kubeconfig allowTTL: 30 denyTTL: 30 retryBackoff: 500 defaultAllow: true EOF fi fi } # Write the config for the audit policy. function create-master-audit-policy { local -r path="${1}"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 22:07:47 UTC 2024 - 141.1K bytes - Viewed (0)