Skip to content

Commit

Permalink
Update to Kubernetes v1.29.6
Browse files Browse the repository at this point in the history
  • Loading branch information
iabudiab committed Jun 30, 2024
1 parent 2d10b91 commit cb4dcbe
Show file tree
Hide file tree
Showing 628 changed files with 1,744 additions and 995 deletions.
9 changes: 5 additions & 4 deletions Sources/Model/GroupVersionKind+DefaultResources.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

///
/// Generated by Swiftkube:ModelGen
/// Kubernetes v1.28.3
/// Kubernetes v1.29.6
///

import Foundation
Expand Down Expand Up @@ -74,16 +74,16 @@ public extension GroupVersionKind {
static let coordinationV1Lease = GroupVersionKind(group: "coordination.k8s.io", version: "v1", kind: "Lease")
static let discoveryV1EndpointSlice = GroupVersionKind(group: "discovery.k8s.io", version: "v1", kind: "EndpointSlice")
static let eventsV1Event = GroupVersionKind(group: "events.k8s.io", version: "v1", kind: "Event")
static let flowcontrolV1FlowSchema = GroupVersionKind(group: "flowcontrol.apiserver.k8s.io", version: "v1", kind: "FlowSchema")
static let flowcontrolV1PriorityLevelConfiguration = GroupVersionKind(group: "flowcontrol.apiserver.k8s.io", version: "v1", kind: "PriorityLevelConfiguration")
static let flowcontrolV1Beta3FlowSchema = GroupVersionKind(group: "flowcontrol.apiserver.k8s.io", version: "v1beta3", kind: "FlowSchema")
static let flowcontrolV1Beta3PriorityLevelConfiguration = GroupVersionKind(group: "flowcontrol.apiserver.k8s.io", version: "v1beta3", kind: "PriorityLevelConfiguration")
static let flowcontrolV1Beta2FlowSchema = GroupVersionKind(group: "flowcontrol.apiserver.k8s.io", version: "v1beta2", kind: "FlowSchema")
static let flowcontrolV1Beta2PriorityLevelConfiguration = GroupVersionKind(group: "flowcontrol.apiserver.k8s.io", version: "v1beta2", kind: "PriorityLevelConfiguration")
static let internalV1Alpha1StorageVersion = GroupVersionKind(group: "internal.apiserver.k8s.io", version: "v1alpha1", kind: "StorageVersion")
static let networkingV1Ingress = GroupVersionKind(group: "networking.k8s.io", version: "v1", kind: "Ingress")
static let networkingV1IngressClass = GroupVersionKind(group: "networking.k8s.io", version: "v1", kind: "IngressClass")
static let networkingV1NetworkPolicy = GroupVersionKind(group: "networking.k8s.io", version: "v1", kind: "NetworkPolicy")
static let networkingV1Alpha1ClusterCIDR = GroupVersionKind(group: "networking.k8s.io", version: "v1alpha1", kind: "ClusterCIDR")
static let networkingV1Alpha1IPAddress = GroupVersionKind(group: "networking.k8s.io", version: "v1alpha1", kind: "IPAddress")
static let networkingV1Alpha1ServiceCIDR = GroupVersionKind(group: "networking.k8s.io", version: "v1alpha1", kind: "ServiceCIDR")
static let nodeV1RuntimeClass = GroupVersionKind(group: "node.k8s.io", version: "v1", kind: "RuntimeClass")
static let policyV1PodDisruptionBudget = GroupVersionKind(group: "policy", version: "v1", kind: "PodDisruptionBudget")
static let rbacV1ClusterRole = GroupVersionKind(group: "rbac.authorization.k8s.io", version: "v1", kind: "ClusterRole")
Expand All @@ -100,4 +100,5 @@ public extension GroupVersionKind {
static let storageV1CSIStorageCapacity = GroupVersionKind(group: "storage.k8s.io", version: "v1", kind: "CSIStorageCapacity")
static let storageV1StorageClass = GroupVersionKind(group: "storage.k8s.io", version: "v1", kind: "StorageClass")
static let storageV1VolumeAttachment = GroupVersionKind(group: "storage.k8s.io", version: "v1", kind: "VolumeAttachment")
static let storageV1Alpha1VolumeAttributesClass = GroupVersionKind(group: "storage.k8s.io", version: "v1alpha1", kind: "VolumeAttributesClass")
}
16 changes: 9 additions & 7 deletions Sources/Model/GroupVersionKind+KubernetesAPIResource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

///
/// Generated by Swiftkube:ModelGen
/// Kubernetes v1.28.3
/// Kubernetes v1.29.6
///

import Foundation
Expand Down Expand Up @@ -136,14 +136,14 @@ public extension GroupVersionKind {
self = .discoveryV1EndpointSlice
case is events.v1.Event.Type:
self = .eventsV1Event
case is flowcontrol.v1.FlowSchema.Type:
self = .flowcontrolV1FlowSchema
case is flowcontrol.v1.PriorityLevelConfiguration.Type:
self = .flowcontrolV1PriorityLevelConfiguration
case is flowcontrol.v1beta3.FlowSchema.Type:
self = .flowcontrolV1Beta3FlowSchema
case is flowcontrol.v1beta3.PriorityLevelConfiguration.Type:
self = .flowcontrolV1Beta3PriorityLevelConfiguration
case is flowcontrol.v1beta2.FlowSchema.Type:
self = .flowcontrolV1Beta2FlowSchema
case is flowcontrol.v1beta2.PriorityLevelConfiguration.Type:
self = .flowcontrolV1Beta2PriorityLevelConfiguration
case is `internal`.v1alpha1.StorageVersion.Type:
self = .internalV1Alpha1StorageVersion
case is networking.v1.Ingress.Type:
Expand All @@ -152,10 +152,10 @@ public extension GroupVersionKind {
self = .networkingV1IngressClass
case is networking.v1.NetworkPolicy.Type:
self = .networkingV1NetworkPolicy
case is networking.v1alpha1.ClusterCIDR.Type:
self = .networkingV1Alpha1ClusterCIDR
case is networking.v1alpha1.IPAddress.Type:
self = .networkingV1Alpha1IPAddress
case is networking.v1alpha1.ServiceCIDR.Type:
self = .networkingV1Alpha1ServiceCIDR
case is node.v1.RuntimeClass.Type:
self = .nodeV1RuntimeClass
case is policy.v1.PodDisruptionBudget.Type:
Expand Down Expand Up @@ -188,6 +188,8 @@ public extension GroupVersionKind {
self = .storageV1StorageClass
case is storage.v1.VolumeAttachment.Type:
self = .storageV1VolumeAttachment
case is storage.v1alpha1.VolumeAttributesClass.Type:
self = .storageV1Alpha1VolumeAttributesClass
default:
return nil
}
Expand Down
8 changes: 5 additions & 3 deletions Sources/Model/GroupVersionKind+Meta.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

///
/// Generated by Swiftkube:ModelGen
/// Kubernetes v1.28.3
/// Kubernetes v1.29.6
///

import Foundation
Expand Down Expand Up @@ -123,10 +123,10 @@ public extension GroupVersionKind {
return false
case "NetworkPolicy":
return true
case "ClusterCIDR":
return false
case "IPAddress":
return false
case "ServiceCIDR":
return false
case "RuntimeClass":
return false
case "PodDisruptionBudget":
Expand Down Expand Up @@ -159,6 +159,8 @@ public extension GroupVersionKind {
return false
case "VolumeAttachment":
return false
case "VolumeAttributesClass":
return false
default:
return false
}
Expand Down
22 changes: 13 additions & 9 deletions Sources/Model/GroupVersionKind+ResourceName.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

///
/// Generated by Swiftkube:ModelGen
/// Kubernetes v1.28.3
/// Kubernetes v1.29.6
///

import Foundation
Expand Down Expand Up @@ -137,9 +137,9 @@ public extension GroupVersionKind {
case "endpointslice":
return GroupVersionKind.discoveryV1EndpointSlice
case "flowschema":
return GroupVersionKind.flowcontrolV1Beta3FlowSchema
return GroupVersionKind.flowcontrolV1FlowSchema
case "prioritylevelconfiguration":
return GroupVersionKind.flowcontrolV1Beta3PriorityLevelConfiguration
return GroupVersionKind.flowcontrolV1PriorityLevelConfiguration
case "storageversion":
return GroupVersionKind.internalV1Alpha1StorageVersion
case "ingress":
Expand All @@ -148,10 +148,10 @@ public extension GroupVersionKind {
return GroupVersionKind.networkingV1IngressClass
case "networkpolicy":
return GroupVersionKind.networkingV1NetworkPolicy
case "clustercidr":
return GroupVersionKind.networkingV1Alpha1ClusterCIDR
case "ipaddress":
return GroupVersionKind.networkingV1Alpha1IPAddress
case "servicecidr":
return GroupVersionKind.networkingV1Alpha1ServiceCIDR
case "runtimeclass":
return GroupVersionKind.nodeV1RuntimeClass
case "poddisruptionbudget":
Expand Down Expand Up @@ -184,6 +184,8 @@ public extension GroupVersionKind {
return GroupVersionKind.storageV1StorageClass
case "volumeattachment":
return GroupVersionKind.storageV1VolumeAttachment
case "volumeattributesclass":
return GroupVersionKind.storageV1Alpha1VolumeAttributesClass
default:
return nil
}
Expand Down Expand Up @@ -277,9 +279,9 @@ public extension GroupVersionKind {
case "endpointslices":
return GroupVersionKind.discoveryV1EndpointSlice
case "flowschemas":
return GroupVersionKind.flowcontrolV1Beta3FlowSchema
return GroupVersionKind.flowcontrolV1FlowSchema
case "prioritylevelconfigurations":
return GroupVersionKind.flowcontrolV1Beta3PriorityLevelConfiguration
return GroupVersionKind.flowcontrolV1PriorityLevelConfiguration
case "storageversions":
return GroupVersionKind.internalV1Alpha1StorageVersion
case "ingresses":
Expand All @@ -288,10 +290,10 @@ public extension GroupVersionKind {
return GroupVersionKind.networkingV1IngressClass
case "networkpolicies":
return GroupVersionKind.networkingV1NetworkPolicy
case "clustercidrs":
return GroupVersionKind.networkingV1Alpha1ClusterCIDR
case "ipaddresses":
return GroupVersionKind.networkingV1Alpha1IPAddress
case "servicecidrs":
return GroupVersionKind.networkingV1Alpha1ServiceCIDR
case "runtimeclasses":
return GroupVersionKind.nodeV1RuntimeClass
case "poddisruptionbudgets":
Expand Down Expand Up @@ -324,6 +326,8 @@ public extension GroupVersionKind {
return GroupVersionKind.storageV1StorageClass
case "volumeattachments":
return GroupVersionKind.storageV1VolumeAttachment
case "volumeattributesclasses":
return GroupVersionKind.storageV1Alpha1VolumeAttributesClass
default:
return nil
}
Expand Down
9 changes: 5 additions & 4 deletions Sources/Model/GroupVersionResource+DefaultResources.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

///
/// Generated by Swiftkube:ModelGen
/// Kubernetes v1.28.3
/// Kubernetes v1.29.6
///

import Foundation
Expand Down Expand Up @@ -74,16 +74,16 @@ public extension GroupVersionResource {
static let coordinationV1Lease = GroupVersionResource(group: "coordination.k8s.io", version: "v1", resource: "leases")
static let discoveryV1EndpointSlice = GroupVersionResource(group: "discovery.k8s.io", version: "v1", resource: "endpointslices")
static let eventsV1Event = GroupVersionResource(group: "events.k8s.io", version: "v1", resource: "events")
static let flowcontrolV1FlowSchema = GroupVersionResource(group: "flowcontrol.apiserver.k8s.io", version: "v1", resource: "flowschemas")
static let flowcontrolV1PriorityLevelConfiguration = GroupVersionResource(group: "flowcontrol.apiserver.k8s.io", version: "v1", resource: "prioritylevelconfigurations")
static let flowcontrolV1Beta3FlowSchema = GroupVersionResource(group: "flowcontrol.apiserver.k8s.io", version: "v1beta3", resource: "flowschemas")
static let flowcontrolV1Beta3PriorityLevelConfiguration = GroupVersionResource(group: "flowcontrol.apiserver.k8s.io", version: "v1beta3", resource: "prioritylevelconfigurations")
static let flowcontrolV1Beta2FlowSchema = GroupVersionResource(group: "flowcontrol.apiserver.k8s.io", version: "v1beta2", resource: "flowschemas")
static let flowcontrolV1Beta2PriorityLevelConfiguration = GroupVersionResource(group: "flowcontrol.apiserver.k8s.io", version: "v1beta2", resource: "prioritylevelconfigurations")
static let internalV1Alpha1StorageVersion = GroupVersionResource(group: "internal.apiserver.k8s.io", version: "v1alpha1", resource: "storageversions")
static let networkingV1Ingress = GroupVersionResource(group: "networking.k8s.io", version: "v1", resource: "ingresses")
static let networkingV1IngressClass = GroupVersionResource(group: "networking.k8s.io", version: "v1", resource: "ingressclasses")
static let networkingV1NetworkPolicy = GroupVersionResource(group: "networking.k8s.io", version: "v1", resource: "networkpolicies")
static let networkingV1Alpha1ClusterCIDR = GroupVersionResource(group: "networking.k8s.io", version: "v1alpha1", resource: "clustercidrs")
static let networkingV1Alpha1IPAddress = GroupVersionResource(group: "networking.k8s.io", version: "v1alpha1", resource: "ipaddresses")
static let networkingV1Alpha1ServiceCIDR = GroupVersionResource(group: "networking.k8s.io", version: "v1alpha1", resource: "servicecidrs")
static let nodeV1RuntimeClass = GroupVersionResource(group: "node.k8s.io", version: "v1", resource: "runtimeclasses")
static let policyV1PodDisruptionBudget = GroupVersionResource(group: "policy", version: "v1", resource: "poddisruptionbudgets")
static let rbacV1ClusterRole = GroupVersionResource(group: "rbac.authorization.k8s.io", version: "v1", resource: "clusterroles")
Expand All @@ -100,4 +100,5 @@ public extension GroupVersionResource {
static let storageV1CSIStorageCapacity = GroupVersionResource(group: "storage.k8s.io", version: "v1", resource: "csistoragecapacities")
static let storageV1StorageClass = GroupVersionResource(group: "storage.k8s.io", version: "v1", resource: "storageclasses")
static let storageV1VolumeAttachment = GroupVersionResource(group: "storage.k8s.io", version: "v1", resource: "volumeattachments")
static let storageV1Alpha1VolumeAttributesClass = GroupVersionResource(group: "storage.k8s.io", version: "v1alpha1", resource: "volumeattributesclasses")
}
16 changes: 9 additions & 7 deletions Sources/Model/GroupVersionResource+KubernetesAPIResource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

///
/// Generated by Swiftkube:ModelGen
/// Kubernetes v1.28.3
/// Kubernetes v1.29.6
///

import Foundation
Expand Down Expand Up @@ -125,14 +125,14 @@ public extension GroupVersionResource {
self = .discoveryV1EndpointSlice
case is events.v1.Event.Type:
self = .eventsV1Event
case is flowcontrol.v1.FlowSchema.Type:
self = .flowcontrolV1FlowSchema
case is flowcontrol.v1.PriorityLevelConfiguration.Type:
self = .flowcontrolV1PriorityLevelConfiguration
case is flowcontrol.v1beta3.FlowSchema.Type:
self = .flowcontrolV1Beta3FlowSchema
case is flowcontrol.v1beta3.PriorityLevelConfiguration.Type:
self = .flowcontrolV1Beta3PriorityLevelConfiguration
case is flowcontrol.v1beta2.FlowSchema.Type:
self = .flowcontrolV1Beta2FlowSchema
case is flowcontrol.v1beta2.PriorityLevelConfiguration.Type:
self = .flowcontrolV1Beta2PriorityLevelConfiguration
case is `internal`.v1alpha1.StorageVersion.Type:
self = .internalV1Alpha1StorageVersion
case is networking.v1.Ingress.Type:
Expand All @@ -141,10 +141,10 @@ public extension GroupVersionResource {
self = .networkingV1IngressClass
case is networking.v1.NetworkPolicy.Type:
self = .networkingV1NetworkPolicy
case is networking.v1alpha1.ClusterCIDR.Type:
self = .networkingV1Alpha1ClusterCIDR
case is networking.v1alpha1.IPAddress.Type:
self = .networkingV1Alpha1IPAddress
case is networking.v1alpha1.ServiceCIDR.Type:
self = .networkingV1Alpha1ServiceCIDR
case is node.v1.RuntimeClass.Type:
self = .nodeV1RuntimeClass
case is policy.v1.PodDisruptionBudget.Type:
Expand Down Expand Up @@ -177,6 +177,8 @@ public extension GroupVersionResource {
self = .storageV1StorageClass
case is storage.v1.VolumeAttachment.Type:
self = .storageV1VolumeAttachment
case is storage.v1alpha1.VolumeAttributesClass.Type:
self = .storageV1Alpha1VolumeAttributesClass
default:
return nil
}
Expand Down
8 changes: 5 additions & 3 deletions Sources/Model/GroupVersionResource+Meta.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

///
/// Generated by Swiftkube:ModelGen
/// Kubernetes v1.28.3
/// Kubernetes v1.29.6
///

import Foundation
Expand Down Expand Up @@ -123,10 +123,10 @@ public extension GroupVersionResource {
return false
case "networkpolicies":
return true
case "clustercidrs":
return false
case "ipaddresses":
return false
case "servicecidrs":
return false
case "runtimeclasses":
return false
case "poddisruptionbudgets":
Expand Down Expand Up @@ -159,6 +159,8 @@ public extension GroupVersionResource {
return false
case "volumeattachments":
return false
case "volumeattributesclasses":
return false
default:
return false
}
Expand Down
22 changes: 13 additions & 9 deletions Sources/Model/GroupVersionResource+ResourceName.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

///
/// Generated by Swiftkube:ModelGen
/// Kubernetes v1.28.3
/// Kubernetes v1.29.6
///

import Foundation
Expand Down Expand Up @@ -137,9 +137,9 @@ public extension GroupVersionResource {
case "endpointslice":
return GroupVersionResource(group: "discovery.k8s.io", version: "v1", resource: "endpointslices")
case "flowschema":
return GroupVersionResource(group: "flowcontrol.apiserver.k8s.io", version: "v1beta3", resource: "flowschemas")
return GroupVersionResource(group: "flowcontrol.apiserver.k8s.io", version: "v1", resource: "flowschemas")
case "prioritylevelconfiguration":
return GroupVersionResource(group: "flowcontrol.apiserver.k8s.io", version: "v1beta3", resource: "prioritylevelconfigurations")
return GroupVersionResource(group: "flowcontrol.apiserver.k8s.io", version: "v1", resource: "prioritylevelconfigurations")
case "storageversion":
return GroupVersionResource(group: "internal.apiserver.k8s.io", version: "v1alpha1", resource: "storageversions")
case "ingress":
Expand All @@ -148,10 +148,10 @@ public extension GroupVersionResource {
return GroupVersionResource(group: "networking.k8s.io", version: "v1", resource: "ingressclasses")
case "networkpolicy":
return GroupVersionResource(group: "networking.k8s.io", version: "v1", resource: "networkpolicies")
case "clustercidr":
return GroupVersionResource(group: "networking.k8s.io", version: "v1alpha1", resource: "clustercidrs")
case "ipaddress":
return GroupVersionResource(group: "networking.k8s.io", version: "v1alpha1", resource: "ipaddresses")
case "servicecidr":
return GroupVersionResource(group: "networking.k8s.io", version: "v1alpha1", resource: "servicecidrs")
case "runtimeclass":
return GroupVersionResource(group: "node.k8s.io", version: "v1", resource: "runtimeclasses")
case "poddisruptionbudget":
Expand Down Expand Up @@ -184,6 +184,8 @@ public extension GroupVersionResource {
return GroupVersionResource(group: "storage.k8s.io", version: "v1", resource: "storageclasses")
case "volumeattachment":
return GroupVersionResource(group: "storage.k8s.io", version: "v1", resource: "volumeattachments")
case "volumeattributesclass":
return GroupVersionResource(group: "storage.k8s.io", version: "v1alpha1", resource: "volumeattributesclasses")
default:
return nil
}
Expand Down Expand Up @@ -277,9 +279,9 @@ public extension GroupVersionResource {
case "endpointslices":
return GroupVersionResource(group: "discovery.k8s.io", version: "v1", resource: "endpointslices")
case "flowschemas":
return GroupVersionResource(group: "flowcontrol.apiserver.k8s.io", version: "v1beta3", resource: "flowschemas")
return GroupVersionResource(group: "flowcontrol.apiserver.k8s.io", version: "v1", resource: "flowschemas")
case "prioritylevelconfigurations":
return GroupVersionResource(group: "flowcontrol.apiserver.k8s.io", version: "v1beta3", resource: "prioritylevelconfigurations")
return GroupVersionResource(group: "flowcontrol.apiserver.k8s.io", version: "v1", resource: "prioritylevelconfigurations")
case "storageversions":
return GroupVersionResource(group: "internal.apiserver.k8s.io", version: "v1alpha1", resource: "storageversions")
case "ingresses":
Expand All @@ -288,10 +290,10 @@ public extension GroupVersionResource {
return GroupVersionResource(group: "networking.k8s.io", version: "v1", resource: "ingressclasses")
case "networkpolicies":
return GroupVersionResource(group: "networking.k8s.io", version: "v1", resource: "networkpolicies")
case "clustercidrs":
return GroupVersionResource(group: "networking.k8s.io", version: "v1alpha1", resource: "clustercidrs")
case "ipaddresses":
return GroupVersionResource(group: "networking.k8s.io", version: "v1alpha1", resource: "ipaddresses")
case "servicecidrs":
return GroupVersionResource(group: "networking.k8s.io", version: "v1alpha1", resource: "servicecidrs")
case "runtimeclasses":
return GroupVersionResource(group: "node.k8s.io", version: "v1", resource: "runtimeclasses")
case "poddisruptionbudgets":
Expand Down Expand Up @@ -324,6 +326,8 @@ public extension GroupVersionResource {
return GroupVersionResource(group: "storage.k8s.io", version: "v1", resource: "storageclasses")
case "volumeattachments":
return GroupVersionResource(group: "storage.k8s.io", version: "v1", resource: "volumeattachments")
case "volumeattributesclasses":
return GroupVersionResource(group: "storage.k8s.io", version: "v1alpha1", resource: "volumeattributesclasses")
default:
return nil
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

///
/// Generated by Swiftkube:ModelGen
/// Kubernetes v1.28.3
/// Kubernetes v1.29.6
///

import Foundation
Expand Down
Loading

0 comments on commit cb4dcbe

Please sign in to comment.