You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,11 @@
1
+
# v23.6.0
2
+
3
+
Kubernetes API Version: v1.23.6
4
+
5
+
### API Change
6
+
- Omits alpha-level enums from the static openapi file captured in api/openapi-spec ([kubernetes/kubernetes#109179](https://github.com/kubernetes/kubernetes/pull/109179), [@liggitt](https://github.com/liggitt)) [SIG Apps and Auth]
7
+
- Fixes a regression in v1beta1 PodDisruptionBudget handling of "strategic merge patch"-type API requests for the `selector` field. Prior to 1.21, these requests would merge `matchLabels` content and replace `matchExpressions` content. In 1.21, patch requests touching the `selector` field started replacing the entire selector. This is consistent with server-side apply and the v1 PodDisruptionBudget behavior, but should not have been changed for v1beta1. ([kubernetes/kubernetes#108139](https://github.com/kubernetes/kubernetes/pull/108139), [@liggitt](https://github.com/liggitt)) [SIG Auth and Testing]
Copy file name to clipboardExpand all lines: kubernetes/client/models/core_v1_endpoint_port.py
+2-8Lines changed: 2 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,7 @@ def port(self, port):
141
141
defprotocol(self):
142
142
"""Gets the protocol of this CoreV1EndpointPort. # noqa: E501
143
143
144
-
The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. Possible enum values: - `\"SCTP\"` is the SCTP protocol. - `\"TCP\"` is the TCP protocol. - `\"UDP\"` is the UDP protocol. # noqa: E501
144
+
The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. # noqa: E501
145
145
146
146
:return: The protocol of this CoreV1EndpointPort. # noqa: E501
147
147
:rtype: str
@@ -152,17 +152,11 @@ def protocol(self):
152
152
defprotocol(self, protocol):
153
153
"""Sets the protocol of this CoreV1EndpointPort.
154
154
155
-
The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. Possible enum values: - `\"SCTP\"` is the SCTP protocol. - `\"TCP\"` is the TCP protocol. - `\"UDP\"` is the UDP protocol. # noqa: E501
155
+
The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. # noqa: E501
156
156
157
157
:param protocol: The protocol of this CoreV1EndpointPort. # noqa: E501
Copy file name to clipboardExpand all lines: kubernetes/client/models/v1_certificate_signing_request_condition.py
+2-8Lines changed: 2 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -196,7 +196,7 @@ def status(self, status):
196
196
deftype(self):
197
197
"""Gets the type of this V1CertificateSigningRequestCondition. # noqa: E501
198
198
199
-
type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\". An \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer. A \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer. A \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate. Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added. Only one condition of a given type is allowed. Possible enum values: - `\"Approved\"` Approved indicates the request was approved and should be issued by the signer. - `\"Denied\"` Denied indicates the request was denied and should not be issued by the signer. - `\"Failed\"` Failed indicates the signer failed to issue the certificate. # noqa: E501
199
+
type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\". An \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer. A \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer. A \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate. Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added. Only one condition of a given type is allowed. # noqa: E501
200
200
201
201
:return: The type of this V1CertificateSigningRequestCondition. # noqa: E501
202
202
:rtype: str
@@ -207,19 +207,13 @@ def type(self):
207
207
deftype(self, type):
208
208
"""Sets the type of this V1CertificateSigningRequestCondition.
209
209
210
-
type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\". An \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer. A \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer. A \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate. Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added. Only one condition of a given type is allowed. Possible enum values: - `\"Approved\"` Approved indicates the request was approved and should be issued by the signer. - `\"Denied\"` Denied indicates the request was denied and should not be issued by the signer. - `\"Failed\"` Failed indicates the signer failed to issue the certificate. # noqa: E501
210
+
type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\". An \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer. A \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer. A \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate. Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added. Only one condition of a given type is allowed. # noqa: E501
211
211
212
212
:param type: The type of this V1CertificateSigningRequestCondition. # noqa: E501
Copy file name to clipboardExpand all lines: kubernetes/client/models/v1_container.py
+4-16Lines changed: 4 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -275,7 +275,7 @@ def image(self, image):
275
275
defimage_pull_policy(self):
276
276
"""Gets the image_pull_policy of this V1Container. # noqa: E501
277
277
278
-
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images Possible enum values: - `\"Always\"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails. - `\"IfNotPresent\"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails. - `\"Never\"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present # noqa: E501
278
+
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images # noqa: E501
279
279
280
280
:return: The image_pull_policy of this V1Container. # noqa: E501
"""Sets the image_pull_policy of this V1Container.
288
288
289
-
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images Possible enum values: - `\"Always\"` means that kubelet always attempts to pull the latest image. Container will fail If the pull fails. - `\"IfNotPresent\"` means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails. - `\"Never\"` means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present # noqa: E501
289
+
Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images # noqa: E501
290
290
291
291
:param image_pull_policy: The image_pull_policy of this V1Container. # noqa: E501
"""Gets the termination_message_policy of this V1Container. # noqa: E501
549
543
550
-
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. Possible enum values: - `\"FallbackToLogsOnError\"` will read the most recent contents of the container logs for the container status message when the container exits with an error and the terminationMessagePath has no contents. - `\"File\"` is the default behavior and will set the container status message to the contents of the container's terminationMessagePath when the container exits. # noqa: E501
544
+
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. # noqa: E501
551
545
552
546
:return: The termination_message_policy of this V1Container. # noqa: E501
"""Sets the termination_message_policy of this V1Container.
560
554
561
-
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. Possible enum values: - `\"FallbackToLogsOnError\"` will read the most recent contents of the container logs for the container status message when the container exits with an error and the terminationMessagePath has no contents. - `\"File\"` is the default behavior and will set the container status message to the contents of the container's terminationMessagePath when the container exits. # noqa: E501
555
+
Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. # noqa: E501
562
556
563
557
:param termination_message_policy: The termination_message_policy of this V1Container. # noqa: E501
Copy file name to clipboardExpand all lines: kubernetes/client/models/v1_container_port.py
+2-8Lines changed: 2 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -169,7 +169,7 @@ def name(self, name):
169
169
defprotocol(self):
170
170
"""Gets the protocol of this V1ContainerPort. # noqa: E501
171
171
172
-
Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\". Possible enum values: - `\"SCTP\"` is the SCTP protocol. - `\"TCP\"` is the TCP protocol. - `\"UDP\"` is the UDP protocol. # noqa: E501
172
+
Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\". # noqa: E501
173
173
174
174
:return: The protocol of this V1ContainerPort. # noqa: E501
175
175
:rtype: str
@@ -180,17 +180,11 @@ def protocol(self):
180
180
defprotocol(self, protocol):
181
181
"""Sets the protocol of this V1ContainerPort.
182
182
183
-
Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\". Possible enum values: - `\"SCTP\"` is the SCTP protocol. - `\"TCP\"` is the TCP protocol. - `\"UDP\"` is the UDP protocol. # noqa: E501
183
+
Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\". # noqa: E501
184
184
185
185
:param protocol: The protocol of this V1ContainerPort. # noqa: E501
0 commit comments