This is an automated email from the ASF dual-hosted git repository. dongjoon pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push:
new 6e86be5 [SPARK-55069] Upgrade `kubernetes-client` to 7.5.1 and update
CRDs
6e86be5 is described below
commit 6e86be5e60c31bf5ae8b0c18d717a7317d537924
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Sat Jan 17 08:52:01 2026 +0900
[SPARK-55069] Upgrade `kubernetes-client` to 7.5.1 and update CRDs
### What changes were proposed in this pull request?
This PR aims to upgrade `kubernetes-client` to 7.5.1 and update CRDs
accordingly based on new K8s features
- [KEP-4317: Pod
Certificate](https://github.com/kubernetes/enhancements/issues/4317)
- [KEP-4762: Allows setting any FQDN as the pod's
hostname](https://github.com/kubernetes/enhancements/issues/4762)
- [KEP-5004: DRA: Handle extended resource requests via DRA
Driver](https://github.com/kubernetes/enhancements/issues/5004)
- [KEP-5307: Container restart rules to customize the pod restart
policy](https://github.com/kubernetes/enhancements/issues/5307)
### Why are the changes needed?
To bring the new features and latest bug fixes.
- https://github.com/fabric8io/kubernetes-client/releases/tag/v7.5.1
- New Feature
- https://github.com/fabric8io/kubernetes-client/issues/7048
- Breaking changes
- `admissionregistration.v1beta1` is removed because it becomes GA via
https://github.com/fabric8io/kubernetes-client/pull/7048
- https://github.com/fabric8io/kubernetes-client/pull/7266
- Bug Fixes
- https://github.com/fabric8io/kubernetes-client/issues/7343
- https://github.com/fabric8io/kubernetes-client/issues/7347
- https://github.com/fabric8io/kubernetes-client/issues/7372
### Does this PR introduce _any_ user-facing change?
No behavior changes.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #457 from dongjoon-hyun/SPARK-55069.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.../sparkapplications.spark.apache.org-v1.yaml | 260 +++++++++++++++++++++
.../crds/sparkclusters.spark.apache.org-v1.yaml | 196 ++++++++++++++++
gradle/libs.versions.toml | 2 +-
3 files changed, 457 insertions(+), 1 deletion(-)
diff --git
a/build-tools/helm/spark-kubernetes-operator/crds/sparkapplications.spark.apache.org-v1.yaml
b/build-tools/helm/spark-kubernetes-operator/crds/sparkapplications.spark.apache.org-v1.yaml
index 54a55af..75da4a7 100644
---
a/build-tools/helm/spark-kubernetes-operator/crds/sparkapplications.spark.apache.org-v1.yaml
+++
b/build-tools/helm/spark-kubernetes-operator/crds/sparkapplications.spark.apache.org-v1.yaml
@@ -18227,6 +18227,17 @@ spec:
fieldPath:
type: string
type: object
+ fileKeyRef:
+ properties:
+ key:
+ type: string
+ optional:
+ type: boolean
+ path:
+ type: string
+ volumeName:
+ type: string
+ type: object
resourceFieldRef:
properties:
containerName:
@@ -18555,6 +18566,22 @@ spec:
type: object
restartPolicy:
type: string
+ restartPolicyRules:
+ items:
+ properties:
+ action:
+ type: string
+ exitCodes:
+ properties:
+ operator:
+ type: string
+ values:
+ items:
+ type: integer
+ type: array
+ type: object
+ type: object
+ type: array
securityContext:
properties:
allowPrivilegeEscalation:
@@ -18783,6 +18810,17 @@ spec:
fieldPath:
type: string
type: object
+ fileKeyRef:
+ properties:
+ key:
+ type: string
+ optional:
+ type: boolean
+ path:
+ type: string
+ volumeName:
+ type: string
+ type: object
resourceFieldRef:
properties:
containerName:
@@ -19111,6 +19149,22 @@ spec:
type: object
restartPolicy:
type: string
+ restartPolicyRules:
+ items:
+ properties:
+ action:
+ type: string
+ exitCodes:
+ properties:
+ operator:
+ type: string
+ values:
+ items:
+ type: integer
+ type: array
+ type: object
+ type: object
+ type: array
securityContext:
properties:
allowPrivilegeEscalation:
@@ -19302,6 +19356,8 @@ spec:
type: boolean
hostname:
type: string
+ hostnameOverride:
+ type: string
imagePullSecrets:
items:
properties:
@@ -19345,6 +19401,17 @@ spec:
fieldPath:
type: string
type: object
+ fileKeyRef:
+ properties:
+ key:
+ type: string
+ optional:
+ type: boolean
+ path:
+ type: string
+ volumeName:
+ type: string
+ type: object
resourceFieldRef:
properties:
containerName:
@@ -19673,6 +19740,22 @@ spec:
type: object
restartPolicy:
type: string
+ restartPolicyRules:
+ items:
+ properties:
+ action:
+ type: string
+ exitCodes:
+ properties:
+ operator:
+ type: string
+ values:
+ items:
+ type: integer
+ type: array
+ type: object
+ type: object
+ type: array
securityContext:
properties:
allowPrivilegeEscalation:
@@ -20594,6 +20677,21 @@ spec:
type: object
type: array
type: object
+ podCertificate:
+ properties:
+ certificateChainPath:
+ type: string
+ credentialBundlePath:
+ type: string
+ keyPath:
+ type: string
+ keyType:
+ type: string
+ maxExpirationSeconds:
+ type: integer
+ signerName:
+ type: string
+ type: object
secret:
properties:
items:
@@ -21186,6 +21284,17 @@ spec:
fieldPath:
type: string
type: object
+ fileKeyRef:
+ properties:
+ key:
+ type: string
+ optional:
+ type: boolean
+ path:
+ type: string
+ volumeName:
+ type: string
+ type: object
resourceFieldRef:
properties:
containerName:
@@ -21514,6 +21623,22 @@ spec:
type: object
restartPolicy:
type: string
+ restartPolicyRules:
+ items:
+ properties:
+ action:
+ type: string
+ exitCodes:
+ properties:
+ operator:
+ type: string
+ values:
+ items:
+ type: integer
+ type: array
+ type: object
+ type: object
+ type: array
securityContext:
properties:
allowPrivilegeEscalation:
@@ -21742,6 +21867,17 @@ spec:
fieldPath:
type: string
type: object
+ fileKeyRef:
+ properties:
+ key:
+ type: string
+ optional:
+ type: boolean
+ path:
+ type: string
+ volumeName:
+ type: string
+ type: object
resourceFieldRef:
properties:
containerName:
@@ -22070,6 +22206,22 @@ spec:
type: object
restartPolicy:
type: string
+ restartPolicyRules:
+ items:
+ properties:
+ action:
+ type: string
+ exitCodes:
+ properties:
+ operator:
+ type: string
+ values:
+ items:
+ type: integer
+ type: array
+ type: object
+ type: object
+ type: array
securityContext:
properties:
allowPrivilegeEscalation:
@@ -22261,6 +22413,8 @@ spec:
type: boolean
hostname:
type: string
+ hostnameOverride:
+ type: string
imagePullSecrets:
items:
properties:
@@ -22304,6 +22458,17 @@ spec:
fieldPath:
type: string
type: object
+ fileKeyRef:
+ properties:
+ key:
+ type: string
+ optional:
+ type: boolean
+ path:
+ type: string
+ volumeName:
+ type: string
+ type: object
resourceFieldRef:
properties:
containerName:
@@ -22632,6 +22797,22 @@ spec:
type: object
restartPolicy:
type: string
+ restartPolicyRules:
+ items:
+ properties:
+ action:
+ type: string
+ exitCodes:
+ properties:
+ operator:
+ type: string
+ values:
+ items:
+ type: integer
+ type: array
+ type: object
+ type: object
+ type: array
securityContext:
properties:
allowPrivilegeEscalation:
@@ -23553,6 +23734,21 @@ spec:
type: object
type: array
type: object
+ podCertificate:
+ properties:
+ certificateChainPath:
+ type: string
+ credentialBundlePath:
+ type: string
+ keyPath:
+ type: string
+ keyType:
+ type: string
+ maxExpirationSeconds:
+ type: integer
+ signerName:
+ type: string
+ type: object
secret:
properties:
items:
@@ -24107,6 +24303,22 @@ spec:
type: array
type: object
type: array
+ extendedResourceClaimStatus:
+ properties:
+ requestMappings:
+ items:
+ properties:
+ containerName:
+ type: string
+ requestName:
+ type: string
+ resourceName:
+ type: string
+ type: object
+ type: array
+ resourceClaimName:
+ type: string
+ type: object
hostIP:
type: string
hostIPs:
@@ -24684,6 +24896,22 @@ spec:
type: array
type: object
type: array
+ extendedResourceClaimStatus:
+ properties:
+ requestMappings:
+ items:
+ properties:
+ containerName:
+ type: string
+ requestName:
+ type: string
+ resourceName:
+ type: string
+ type: object
+ type: array
+ resourceClaimName:
+ type: string
+ type: object
hostIP:
type: string
hostIPs:
@@ -25269,6 +25497,22 @@ spec:
type: array
type: object
type: array
+ extendedResourceClaimStatus:
+ properties:
+ requestMappings:
+ items:
+ properties:
+ containerName:
+ type: string
+ requestName:
+ type: string
+ resourceName:
+ type: string
+ type: object
+ type: array
+ resourceClaimName:
+ type: string
+ type: object
hostIP:
type: string
hostIPs:
@@ -25847,6 +26091,22 @@ spec:
type: array
type: object
type: array
+ extendedResourceClaimStatus:
+ properties:
+ requestMappings:
+ items:
+ properties:
+ containerName:
+ type: string
+ requestName:
+ type: string
+ resourceName:
+ type: string
+ type: object
+ type: array
+ resourceClaimName:
+ type: string
+ type: object
hostIP:
type: string
hostIPs:
diff --git
a/build-tools/helm/spark-kubernetes-operator/crds/sparkclusters.spark.apache.org-v1.yaml
b/build-tools/helm/spark-kubernetes-operator/crds/sparkclusters.spark.apache.org-v1.yaml
index 60fdaa6..062df51 100644
---
a/build-tools/helm/spark-kubernetes-operator/crds/sparkclusters.spark.apache.org-v1.yaml
+++
b/build-tools/helm/spark-kubernetes-operator/crds/sparkclusters.spark.apache.org-v1.yaml
@@ -15335,6 +15335,17 @@ spec:
fieldPath:
type: string
type: object
+ fileKeyRef:
+ properties:
+ key:
+ type: string
+ optional:
+ type: boolean
+ path:
+ type: string
+ volumeName:
+ type: string
+ type: object
resourceFieldRef:
properties:
containerName:
@@ -15663,6 +15674,22 @@ spec:
type: object
restartPolicy:
type: string
+ restartPolicyRules:
+ items:
+ properties:
+ action:
+ type: string
+ exitCodes:
+ properties:
+ operator:
+ type: string
+ values:
+ items:
+ type: integer
+ type: array
+ type: object
+ type: object
+ type: array
securityContext:
properties:
allowPrivilegeEscalation:
@@ -15891,6 +15918,17 @@ spec:
fieldPath:
type: string
type: object
+ fileKeyRef:
+ properties:
+ key:
+ type: string
+ optional:
+ type: boolean
+ path:
+ type: string
+ volumeName:
+ type: string
+ type: object
resourceFieldRef:
properties:
containerName:
@@ -16219,6 +16257,22 @@ spec:
type: object
restartPolicy:
type: string
+ restartPolicyRules:
+ items:
+ properties:
+ action:
+ type: string
+ exitCodes:
+ properties:
+ operator:
+ type: string
+ values:
+ items:
+ type: integer
+ type: array
+ type: object
+ type: object
+ type: array
securityContext:
properties:
allowPrivilegeEscalation:
@@ -16410,6 +16464,8 @@ spec:
type: boolean
hostname:
type: string
+ hostnameOverride:
+ type: string
imagePullSecrets:
items:
properties:
@@ -16453,6 +16509,17 @@ spec:
fieldPath:
type: string
type: object
+ fileKeyRef:
+ properties:
+ key:
+ type: string
+ optional:
+ type: boolean
+ path:
+ type: string
+ volumeName:
+ type: string
+ type: object
resourceFieldRef:
properties:
containerName:
@@ -16781,6 +16848,22 @@ spec:
type: object
restartPolicy:
type: string
+ restartPolicyRules:
+ items:
+ properties:
+ action:
+ type: string
+ exitCodes:
+ properties:
+ operator:
+ type: string
+ values:
+ items:
+ type: integer
+ type: array
+ type: object
+ type: object
+ type: array
securityContext:
properties:
allowPrivilegeEscalation:
@@ -17702,6 +17785,21 @@ spec:
type: object
type: array
type: object
+ podCertificate:
+ properties:
+ certificateChainPath:
+ type: string
+ credentialBundlePath:
+ type: string
+ keyPath:
+ type: string
+ keyType:
+ type: string
+ maxExpirationSeconds:
+ type: integer
+ signerName:
+ type: string
+ type: object
secret:
properties:
items:
@@ -19055,6 +19153,17 @@ spec:
fieldPath:
type: string
type: object
+ fileKeyRef:
+ properties:
+ key:
+ type: string
+ optional:
+ type: boolean
+ path:
+ type: string
+ volumeName:
+ type: string
+ type: object
resourceFieldRef:
properties:
containerName:
@@ -19383,6 +19492,22 @@ spec:
type: object
restartPolicy:
type: string
+ restartPolicyRules:
+ items:
+ properties:
+ action:
+ type: string
+ exitCodes:
+ properties:
+ operator:
+ type: string
+ values:
+ items:
+ type: integer
+ type: array
+ type: object
+ type: object
+ type: array
securityContext:
properties:
allowPrivilegeEscalation:
@@ -19611,6 +19736,17 @@ spec:
fieldPath:
type: string
type: object
+ fileKeyRef:
+ properties:
+ key:
+ type: string
+ optional:
+ type: boolean
+ path:
+ type: string
+ volumeName:
+ type: string
+ type: object
resourceFieldRef:
properties:
containerName:
@@ -19939,6 +20075,22 @@ spec:
type: object
restartPolicy:
type: string
+ restartPolicyRules:
+ items:
+ properties:
+ action:
+ type: string
+ exitCodes:
+ properties:
+ operator:
+ type: string
+ values:
+ items:
+ type: integer
+ type: array
+ type: object
+ type: object
+ type: array
securityContext:
properties:
allowPrivilegeEscalation:
@@ -20130,6 +20282,8 @@ spec:
type: boolean
hostname:
type: string
+ hostnameOverride:
+ type: string
imagePullSecrets:
items:
properties:
@@ -20173,6 +20327,17 @@ spec:
fieldPath:
type: string
type: object
+ fileKeyRef:
+ properties:
+ key:
+ type: string
+ optional:
+ type: boolean
+ path:
+ type: string
+ volumeName:
+ type: string
+ type: object
resourceFieldRef:
properties:
containerName:
@@ -20501,6 +20666,22 @@ spec:
type: object
restartPolicy:
type: string
+ restartPolicyRules:
+ items:
+ properties:
+ action:
+ type: string
+ exitCodes:
+ properties:
+ operator:
+ type: string
+ values:
+ items:
+ type: integer
+ type: array
+ type: object
+ type: object
+ type: array
securityContext:
properties:
allowPrivilegeEscalation:
@@ -21422,6 +21603,21 @@ spec:
type: object
type: array
type: object
+ podCertificate:
+ properties:
+ certificateChainPath:
+ type: string
+ credentialBundlePath:
+ type: string
+ keyPath:
+ type: string
+ keyType:
+ type: string
+ maxExpirationSeconds:
+ type: integer
+ signerName:
+ type: string
+ type: object
secret:
properties:
items:
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 8e054f9..236ce6f 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
[versions]
-fabric8 = "7.4.0"
+fabric8 = "7.5.1"
lombok = "1.18.42"
operator-sdk = "5.2.2"
dropwizard-metrics = "4.2.33"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
