Skip to content

Commit 6db0c4e

Browse files
fix: update kyverno to v1.17.0 (#785)
1 parent 5d5a95d commit 6db0c4e

35 files changed

+21954
-65
lines changed

kyverno.io/clusterpolicy_v1.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4000,7 +4000,7 @@
40004000
"type": "string"
40014001
},
40024002
"version": {
4003-
"description": "Version defines the Pod Security Standard versions that Kubernetes supports.\nAllowed values are v1.19, v1.20, v1.21, v1.22, v1.23, v1.24, v1.25, v1.26, v1.27, v1.28, v1.29, latest. Defaults to latest.",
4003+
"description": "Version defines the Pod Security Standard versions that Kubernetes supports.\nAllowed values are v1.19, v1.20, v1.21, v1.22, v1.23, v1.24, v1.25, v1.26, v1.27, v1.28, v1.29, v1.30, v1.31, v1.32, latest. Defaults to latest.",
40044004
"enum": [
40054005
"v1.19",
40064006
"v1.20",
@@ -4013,6 +4013,9 @@
40134013
"v1.27",
40144014
"v1.28",
40154015
"v1.29",
4016+
"v1.30",
4017+
"v1.31",
4018+
"v1.32",
40164019
"latest"
40174020
],
40184021
"type": "string"
@@ -8904,7 +8907,7 @@
89048907
"type": "string"
89058908
},
89068909
"version": {
8907-
"description": "Version defines the Pod Security Standard versions that Kubernetes supports.\nAllowed values are v1.19, v1.20, v1.21, v1.22, v1.23, v1.24, v1.25, v1.26, v1.27, v1.28, v1.29, latest. Defaults to latest.",
8910+
"description": "Version defines the Pod Security Standard versions that Kubernetes supports.\nAllowed values are v1.19, v1.20, v1.21, v1.22, v1.23, v1.24, v1.25, v1.26, v1.27, v1.28, v1.29, v1.30, v1.31, v1.32, latest. Defaults to latest.",
89088911
"enum": [
89098912
"v1.19",
89108913
"v1.20",
@@ -8917,6 +8920,9 @@
89178920
"v1.27",
89188921
"v1.28",
89198922
"v1.29",
8923+
"v1.30",
8924+
"v1.31",
8925+
"v1.32",
89208926
"latest"
89218927
],
89228928
"type": "string"

kyverno.io/clusterpolicy_v2beta1.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3764,7 +3764,7 @@
37643764
"type": "string"
37653765
},
37663766
"version": {
3767-
"description": "Version defines the Pod Security Standard versions that Kubernetes supports.\nAllowed values are v1.19, v1.20, v1.21, v1.22, v1.23, v1.24, v1.25, v1.26, v1.27, v1.28, v1.29, latest. Defaults to latest.",
3767+
"description": "Version defines the Pod Security Standard versions that Kubernetes supports.\nAllowed values are v1.19, v1.20, v1.21, v1.22, v1.23, v1.24, v1.25, v1.26, v1.27, v1.28, v1.29, v1.30, v1.31, v1.32, latest. Defaults to latest.",
37683768
"enum": [
37693769
"v1.19",
37703770
"v1.20",
@@ -3777,6 +3777,9 @@
37773777
"v1.27",
37783778
"v1.28",
37793779
"v1.29",
3780+
"v1.30",
3781+
"v1.31",
3782+
"v1.32",
37803783
"latest"
37813784
],
37823785
"type": "string"
@@ -8630,7 +8633,7 @@
86308633
"type": "string"
86318634
},
86328635
"version": {
8633-
"description": "Version defines the Pod Security Standard versions that Kubernetes supports.\nAllowed values are v1.19, v1.20, v1.21, v1.22, v1.23, v1.24, v1.25, v1.26, v1.27, v1.28, v1.29, latest. Defaults to latest.",
8636+
"description": "Version defines the Pod Security Standard versions that Kubernetes supports.\nAllowed values are v1.19, v1.20, v1.21, v1.22, v1.23, v1.24, v1.25, v1.26, v1.27, v1.28, v1.29, v1.30, v1.31, v1.32, latest. Defaults to latest.",
86348637
"enum": [
86358638
"v1.19",
86368639
"v1.20",
@@ -8643,6 +8646,9 @@
86438646
"v1.27",
86448647
"v1.28",
86458648
"v1.29",
8649+
"v1.30",
8650+
"v1.31",
8651+
"v1.32",
86468652
"latest"
86478653
],
86488654
"type": "string"
Lines changed: 250 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,250 @@
1+
{
2+
"description": "GlobalContextEntry declares resources to be cached.",
3+
"properties": {
4+
"apiVersion": {
5+
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
6+
"type": "string"
7+
},
8+
"kind": {
9+
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
10+
"type": "string"
11+
},
12+
"metadata": {
13+
"type": "object"
14+
},
15+
"spec": {
16+
"description": "Spec declares policy exception behaviors.",
17+
"oneOf": [
18+
{
19+
"required": [
20+
"kubernetesResource"
21+
]
22+
},
23+
{
24+
"required": [
25+
"apiCall"
26+
]
27+
}
28+
],
29+
"properties": {
30+
"apiCall": {
31+
"description": "Stores results from an API call which will be cached.\nMutually exclusive with KubernetesResource.\nThis can be used to make calls to external (non-Kubernetes API server) services.\nIt can also be used to make calls to the Kubernetes API server in such cases:\n1. A POST is needed to create a resource.\n2. Finer-grained control is needed. Example: To restrict the number of resources cached.",
32+
"properties": {
33+
"data": {
34+
"description": "The data object specifies the POST data sent to the server.\nOnly applicable when the method field is set to POST.",
35+
"items": {
36+
"description": "RequestData contains the HTTP POST data",
37+
"properties": {
38+
"key": {
39+
"description": "Key is a unique identifier for the data value",
40+
"type": "string"
41+
},
42+
"value": {
43+
"description": "Value is the data value",
44+
"x-kubernetes-preserve-unknown-fields": true
45+
}
46+
},
47+
"required": [
48+
"key",
49+
"value"
50+
],
51+
"type": "object",
52+
"additionalProperties": false
53+
},
54+
"type": "array"
55+
},
56+
"method": {
57+
"default": "GET",
58+
"description": "Method is the HTTP request type (GET or POST). Defaults to GET.",
59+
"enum": [
60+
"GET",
61+
"POST"
62+
],
63+
"type": "string"
64+
},
65+
"refreshInterval": {
66+
"default": "10m",
67+
"description": "RefreshInterval defines the interval in duration at which to poll the APICall.\nThe duration is a sequence of decimal numbers, each with optional fraction and a unit suffix,\nsuch as \"300ms\", \"1.5h\" or \"2h45m\". Valid time units are \"ns\", \"us\" (or \"\u00b5s\"), \"ms\", \"s\", \"m\", \"h\".",
68+
"format": "duration",
69+
"type": "string"
70+
},
71+
"retryLimit": {
72+
"default": 3,
73+
"description": "RetryLimit defines the number of times the APICall should be retried in case of failure.",
74+
"minimum": 1,
75+
"type": "integer"
76+
},
77+
"service": {
78+
"description": "Service is an API call to a JSON web service.\nThis is used for non-Kubernetes API server calls.\nIt's mutually exclusive with the URLPath field.",
79+
"properties": {
80+
"caBundle": {
81+
"description": "CABundle is a PEM encoded CA bundle which will be used to validate\nthe server certificate.",
82+
"type": "string"
83+
},
84+
"headers": {
85+
"description": "Headers is a list of optional HTTP headers to be included in the request.",
86+
"items": {
87+
"properties": {
88+
"key": {
89+
"description": "Key is the header key",
90+
"type": "string"
91+
},
92+
"value": {
93+
"description": "Value is the header value",
94+
"type": "string"
95+
}
96+
},
97+
"required": [
98+
"key",
99+
"value"
100+
],
101+
"type": "object",
102+
"additionalProperties": false
103+
},
104+
"type": "array"
105+
},
106+
"url": {
107+
"description": "URL is the JSON web service URL. A typical form is\n`https://{service}.{namespace}:{port}/{path}`.",
108+
"type": "string"
109+
}
110+
},
111+
"required": [
112+
"url"
113+
],
114+
"type": "object",
115+
"additionalProperties": false
116+
},
117+
"urlPath": {
118+
"description": "URLPath is the URL path to be used in the HTTP GET or POST request to the\nKubernetes API server (e.g. \"/api/v1/namespaces\" or \"/apis/apps/v1/deployments\").\nThe format required is the same format used by the `kubectl get --raw` command.\nSee https://kyverno.io/docs/writing-policies/external-data-sources/#variables-from-kubernetes-api-server-calls\nfor details.\nIt's mutually exclusive with the Service field.",
119+
"type": "string"
120+
}
121+
},
122+
"type": "object",
123+
"additionalProperties": false
124+
},
125+
"kubernetesResource": {
126+
"description": "Stores a list of Kubernetes resources which will be cached.\nMutually exclusive with APICall.",
127+
"properties": {
128+
"group": {
129+
"description": "Group defines the group of the resource.",
130+
"type": "string"
131+
},
132+
"namespace": {
133+
"description": "Namespace defines the namespace of the resource. Leave empty for cluster scoped resources.\nIf left empty for namespaced resources, all resources from all namespaces will be cached.",
134+
"type": "string"
135+
},
136+
"resource": {
137+
"description": "Resource defines the type of the resource.\nRequires the pluralized form of the resource kind in lowercase. (Ex., \"deployments\")",
138+
"type": "string"
139+
},
140+
"version": {
141+
"description": "Version defines the version of the resource.",
142+
"type": "string"
143+
}
144+
},
145+
"required": [
146+
"resource",
147+
"version"
148+
],
149+
"type": "object",
150+
"additionalProperties": false
151+
},
152+
"projections": {
153+
"description": "Projections defines the list of JMESPath expressions to extract values from the cached resource.",
154+
"items": {
155+
"properties": {
156+
"jmesPath": {
157+
"description": "JMESPath is the JMESPath expression to extract the value from the cached resource.",
158+
"type": "string"
159+
},
160+
"name": {
161+
"description": "Name is the name to use for the extracted value in the context.",
162+
"type": "string"
163+
}
164+
},
165+
"required": [
166+
"jmesPath",
167+
"name"
168+
],
169+
"type": "object",
170+
"additionalProperties": false
171+
},
172+
"type": "array"
173+
}
174+
},
175+
"type": "object",
176+
"additionalProperties": false
177+
},
178+
"status": {
179+
"description": "Status contains globalcontextentry runtime data.",
180+
"properties": {
181+
"conditions": {
182+
"items": {
183+
"description": "Condition contains details for one aspect of the current state of this API Resource.",
184+
"properties": {
185+
"lastTransitionTime": {
186+
"description": "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.",
187+
"format": "date-time",
188+
"type": "string"
189+
},
190+
"message": {
191+
"description": "message is a human readable message indicating details about the transition.\nThis may be an empty string.",
192+
"maxLength": 32768,
193+
"type": "string"
194+
},
195+
"observedGeneration": {
196+
"description": "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
197+
"format": "int64",
198+
"minimum": 0,
199+
"type": "integer"
200+
},
201+
"reason": {
202+
"description": "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nProducers of specific condition types may define expected values and meanings for this field,\nand whether the values are considered a guaranteed API.\nThe value should be a CamelCase string.\nThis field may not be empty.",
203+
"maxLength": 1024,
204+
"minLength": 1,
205+
"pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$",
206+
"type": "string"
207+
},
208+
"status": {
209+
"description": "status of the condition, one of True, False, Unknown.",
210+
"enum": [
211+
"True",
212+
"False",
213+
"Unknown"
214+
],
215+
"type": "string"
216+
},
217+
"type": {
218+
"description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
219+
"maxLength": 316,
220+
"pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$",
221+
"type": "string"
222+
}
223+
},
224+
"required": [
225+
"lastTransitionTime",
226+
"message",
227+
"reason",
228+
"status",
229+
"type"
230+
],
231+
"type": "object",
232+
"additionalProperties": false
233+
},
234+
"type": "array"
235+
},
236+
"lastRefreshTime": {
237+
"description": "Indicates the time when the globalcontextentry was last refreshed successfully for the API Call",
238+
"format": "date-time",
239+
"type": "string"
240+
}
241+
},
242+
"type": "object",
243+
"additionalProperties": false
244+
}
245+
},
246+
"required": [
247+
"spec"
248+
],
249+
"type": "object"
250+
}

0 commit comments

Comments
 (0)