Skip to content

Commit

Permalink
Update to Kubernetes v1.26.4
Browse files Browse the repository at this point in the history
  • Loading branch information
iabudiab committed Apr 16, 2023
1 parent 1b3c431 commit c8be9ad
Show file tree
Hide file tree
Showing 605 changed files with 4,649 additions and 2,782 deletions.
14 changes: 10 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.25.9
/// Kubernetes v1.26.4
///

import Foundation
Expand Down Expand Up @@ -45,6 +45,8 @@ public extension GroupVersionKind {
static let coreV1ServiceAccount = GroupVersionKind(group: "core", version: "v1", kind: "ServiceAccount")
static let admissionregistrationV1MutatingWebhookConfiguration = GroupVersionKind(group: "admissionregistration.k8s.io", version: "v1", kind: "MutatingWebhookConfiguration")
static let admissionregistrationV1ValidatingWebhookConfiguration = GroupVersionKind(group: "admissionregistration.k8s.io", version: "v1", kind: "ValidatingWebhookConfiguration")
static let admissionregistrationV1Alpha1ValidatingAdmissionPolicy = GroupVersionKind(group: "admissionregistration.k8s.io", version: "v1alpha1", kind: "ValidatingAdmissionPolicy")
static let admissionregistrationV1Alpha1ValidatingAdmissionPolicyBinding = GroupVersionKind(group: "admissionregistration.k8s.io", version: "v1alpha1", kind: "ValidatingAdmissionPolicyBinding")
static let apiextensionsV1CustomResourceDefinition = GroupVersionKind(group: "apiextensions.k8s.io", version: "v1", kind: "CustomResourceDefinition")
static let apiregistrationV1APIService = GroupVersionKind(group: "apiregistration.k8s.io", version: "v1", kind: "APIService")
static let appsV1ControllerRevision = GroupVersionKind(group: "apps", version: "v1", kind: "ControllerRevision")
Expand All @@ -54,23 +56,23 @@ public extension GroupVersionKind {
static let appsV1StatefulSet = GroupVersionKind(group: "apps", version: "v1", kind: "StatefulSet")
static let authenticationV1TokenRequest = GroupVersionKind(group: "authentication.k8s.io", version: "v1", kind: "TokenRequest")
static let authenticationV1TokenReview = GroupVersionKind(group: "authentication.k8s.io", version: "v1", kind: "TokenReview")
static let authenticationV1Alpha1SelfSubjectReview = GroupVersionKind(group: "authentication.k8s.io", version: "v1alpha1", kind: "SelfSubjectReview")
static let authorizationV1LocalSubjectAccessReview = GroupVersionKind(group: "authorization.k8s.io", version: "v1", kind: "LocalSubjectAccessReview")
static let authorizationV1SelfSubjectAccessReview = GroupVersionKind(group: "authorization.k8s.io", version: "v1", kind: "SelfSubjectAccessReview")
static let authorizationV1SelfSubjectRulesReview = GroupVersionKind(group: "authorization.k8s.io", version: "v1", kind: "SelfSubjectRulesReview")
static let authorizationV1SubjectAccessReview = GroupVersionKind(group: "authorization.k8s.io", version: "v1", kind: "SubjectAccessReview")
static let autoscalingV1HorizontalPodAutoscaler = GroupVersionKind(group: "autoscaling", version: "v1", kind: "HorizontalPodAutoscaler")
static let autoscalingV2HorizontalPodAutoscaler = GroupVersionKind(group: "autoscaling", version: "v2", kind: "HorizontalPodAutoscaler")
static let autoscalingV2Beta2HorizontalPodAutoscaler = GroupVersionKind(group: "autoscaling", version: "v2beta2", kind: "HorizontalPodAutoscaler")
static let batchV1CronJob = GroupVersionKind(group: "batch", version: "v1", kind: "CronJob")
static let batchV1Job = GroupVersionKind(group: "batch", version: "v1", kind: "Job")
static let certificatesV1CertificateSigningRequest = GroupVersionKind(group: "certificates.k8s.io", version: "v1", kind: "CertificateSigningRequest")
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 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 flowcontrolV1Beta1FlowSchema = GroupVersionKind(group: "flowcontrol.apiserver.k8s.io", version: "v1beta1", kind: "FlowSchema")
static let flowcontrolV1Beta1PriorityLevelConfiguration = GroupVersionKind(group: "flowcontrol.apiserver.k8s.io", version: "v1beta1", 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")
Expand All @@ -82,6 +84,10 @@ public extension GroupVersionKind {
static let rbacV1ClusterRoleBinding = GroupVersionKind(group: "rbac.authorization.k8s.io", version: "v1", kind: "ClusterRoleBinding")
static let rbacV1Role = GroupVersionKind(group: "rbac.authorization.k8s.io", version: "v1", kind: "Role")
static let rbacV1RoleBinding = GroupVersionKind(group: "rbac.authorization.k8s.io", version: "v1", kind: "RoleBinding")
static let resourceV1Alpha1PodScheduling = GroupVersionKind(group: "resource.k8s.io", version: "v1alpha1", kind: "PodScheduling")
static let resourceV1Alpha1ResourceClaim = GroupVersionKind(group: "resource.k8s.io", version: "v1alpha1", kind: "ResourceClaim")
static let resourceV1Alpha1ResourceClaimTemplate = GroupVersionKind(group: "resource.k8s.io", version: "v1alpha1", kind: "ResourceClaimTemplate")
static let resourceV1Alpha1ResourceClass = GroupVersionKind(group: "resource.k8s.io", version: "v1alpha1", kind: "ResourceClass")
static let schedulingV1PriorityClass = GroupVersionKind(group: "scheduling.k8s.io", version: "v1", kind: "PriorityClass")
static let storageV1CSIDriver = GroupVersionKind(group: "storage.k8s.io", version: "v1", kind: "CSIDriver")
static let storageV1CSINode = GroupVersionKind(group: "storage.k8s.io", version: "v1", kind: "CSINode")
Expand Down
26 changes: 19 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.25.9
/// Kubernetes v1.26.4
///

import Foundation
Expand Down Expand Up @@ -78,6 +78,10 @@ public extension GroupVersionKind {
self = .admissionregistrationV1MutatingWebhookConfiguration
case is admissionregistration.v1.ValidatingWebhookConfiguration.Type:
self = .admissionregistrationV1ValidatingWebhookConfiguration
case is admissionregistration.v1alpha1.ValidatingAdmissionPolicy.Type:
self = .admissionregistrationV1Alpha1ValidatingAdmissionPolicy
case is admissionregistration.v1alpha1.ValidatingAdmissionPolicyBinding.Type:
self = .admissionregistrationV1Alpha1ValidatingAdmissionPolicyBinding
case is apiextensions.v1.CustomResourceDefinition.Type:
self = .apiextensionsV1CustomResourceDefinition
case is apiregistration.v1.APIService.Type:
Expand All @@ -96,6 +100,8 @@ public extension GroupVersionKind {
self = .authenticationV1TokenRequest
case is authentication.v1.TokenReview.Type:
self = .authenticationV1TokenReview
case is authentication.v1alpha1.SelfSubjectReview.Type:
self = .authenticationV1Alpha1SelfSubjectReview
case is authorization.v1.LocalSubjectAccessReview.Type:
self = .authorizationV1LocalSubjectAccessReview
case is authorization.v1.SelfSubjectAccessReview.Type:
Expand All @@ -108,8 +114,6 @@ public extension GroupVersionKind {
self = .autoscalingV1HorizontalPodAutoscaler
case is autoscaling.v2.HorizontalPodAutoscaler.Type:
self = .autoscalingV2HorizontalPodAutoscaler
case is autoscaling.v2beta2.HorizontalPodAutoscaler.Type:
self = .autoscalingV2Beta2HorizontalPodAutoscaler
case is batch.v1.CronJob.Type:
self = .batchV1CronJob
case is batch.v1.Job.Type:
Expand All @@ -122,14 +126,14 @@ public extension GroupVersionKind {
self = .discoveryV1EndpointSlice
case is events.v1.Event.Type:
self = .eventsV1Event
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 flowcontrol.v1beta1.FlowSchema.Type:
self = .flowcontrolV1Beta1FlowSchema
case is flowcontrol.v1beta1.PriorityLevelConfiguration.Type:
self = .flowcontrolV1Beta1PriorityLevelConfiguration
case is `internal`.v1alpha1.StorageVersion.Type:
self = .internalV1Alpha1StorageVersion
case is networking.v1.Ingress.Type:
Expand All @@ -152,6 +156,14 @@ public extension GroupVersionKind {
self = .rbacV1Role
case is rbac.v1.RoleBinding.Type:
self = .rbacV1RoleBinding
case is resource.v1alpha1.PodScheduling.Type:
self = .resourceV1Alpha1PodScheduling
case is resource.v1alpha1.ResourceClaim.Type:
self = .resourceV1Alpha1ResourceClaim
case is resource.v1alpha1.ResourceClaimTemplate.Type:
self = .resourceV1Alpha1ResourceClaimTemplate
case is resource.v1alpha1.ResourceClass.Type:
self = .resourceV1Alpha1ResourceClass
case is scheduling.v1.PriorityClass.Type:
self = .schedulingV1PriorityClass
case is storage.v1.CSIDriver.Type:
Expand Down
16 changes: 15 additions & 1 deletion 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.25.9
/// Kubernetes v1.26.4
///

import Foundation
Expand Down Expand Up @@ -65,6 +65,10 @@ public extension GroupVersionKind {
return false
case "ValidatingWebhookConfiguration":
return false
case "ValidatingAdmissionPolicy":
return false
case "ValidatingAdmissionPolicyBinding":
return false
case "CustomResourceDefinition":
return false
case "APIService":
Expand All @@ -83,6 +87,8 @@ public extension GroupVersionKind {
return true
case "TokenReview":
return false
case "SelfSubjectReview":
return false
case "LocalSubjectAccessReview":
return true
case "SelfSubjectAccessReview":
Expand Down Expand Up @@ -129,6 +135,14 @@ public extension GroupVersionKind {
return true
case "RoleBinding":
return true
case "PodScheduling":
return true
case "ResourceClaim":
return true
case "ResourceClaimTemplate":
return true
case "ResourceClass":
return false
case "PriorityClass":
return false
case "CSIDriver":
Expand Down
38 changes: 33 additions & 5 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.25.9
/// Kubernetes v1.26.4
///

import Foundation
Expand Down Expand Up @@ -90,6 +90,10 @@ public extension GroupVersionKind {
return GroupVersionKind.admissionregistrationV1MutatingWebhookConfiguration
case "validatingwebhookconfiguration":
return GroupVersionKind.admissionregistrationV1ValidatingWebhookConfiguration
case "validatingadmissionpolicy":
return GroupVersionKind.admissionregistrationV1Alpha1ValidatingAdmissionPolicy
case "validatingadmissionpolicybinding":
return GroupVersionKind.admissionregistrationV1Alpha1ValidatingAdmissionPolicyBinding
case "customresourcedefinition":
return GroupVersionKind.apiextensionsV1CustomResourceDefinition
case "apiservice":
Expand All @@ -108,6 +112,8 @@ public extension GroupVersionKind {
return GroupVersionKind.authenticationV1TokenRequest
case "tokenreview":
return GroupVersionKind.authenticationV1TokenReview
case "selfsubjectreview":
return GroupVersionKind.authenticationV1Alpha1SelfSubjectReview
case "localsubjectaccessreview":
return GroupVersionKind.authorizationV1LocalSubjectAccessReview
case "selfsubjectaccessreview":
Expand All @@ -129,9 +135,9 @@ public extension GroupVersionKind {
case "endpointslice":
return GroupVersionKind.discoveryV1EndpointSlice
case "flowschema":
return GroupVersionKind.flowcontrolV1Beta2FlowSchema
return GroupVersionKind.flowcontrolV1Beta3FlowSchema
case "prioritylevelconfiguration":
return GroupVersionKind.flowcontrolV1Beta2PriorityLevelConfiguration
return GroupVersionKind.flowcontrolV1Beta3PriorityLevelConfiguration
case "storageversion":
return GroupVersionKind.internalV1Alpha1StorageVersion
case "ingress":
Expand All @@ -154,6 +160,14 @@ public extension GroupVersionKind {
return GroupVersionKind.rbacV1Role
case "rolebinding":
return GroupVersionKind.rbacV1RoleBinding
case "podscheduling":
return GroupVersionKind.resourceV1Alpha1PodScheduling
case "resourceclaim":
return GroupVersionKind.resourceV1Alpha1ResourceClaim
case "resourceclaimtemplate":
return GroupVersionKind.resourceV1Alpha1ResourceClaimTemplate
case "resourceclass":
return GroupVersionKind.resourceV1Alpha1ResourceClass
case "priorityclass":
return GroupVersionKind.schedulingV1PriorityClass
case "csidriver":
Expand Down Expand Up @@ -212,6 +226,10 @@ public extension GroupVersionKind {
return GroupVersionKind.admissionregistrationV1MutatingWebhookConfiguration
case "validatingwebhookconfigurations":
return GroupVersionKind.admissionregistrationV1ValidatingWebhookConfiguration
case "validatingadmissionpolicies":
return GroupVersionKind.admissionregistrationV1Alpha1ValidatingAdmissionPolicy
case "validatingadmissionpolicybindings":
return GroupVersionKind.admissionregistrationV1Alpha1ValidatingAdmissionPolicyBinding
case "customresourcedefinitions":
return GroupVersionKind.apiextensionsV1CustomResourceDefinition
case "apiservices":
Expand All @@ -230,6 +248,8 @@ public extension GroupVersionKind {
return GroupVersionKind.authenticationV1TokenRequest
case "tokenreviews":
return GroupVersionKind.authenticationV1TokenReview
case "selfsubjectreviews":
return GroupVersionKind.authenticationV1Alpha1SelfSubjectReview
case "localsubjectaccessreviews":
return GroupVersionKind.authorizationV1LocalSubjectAccessReview
case "selfsubjectaccessreviews":
Expand All @@ -251,9 +271,9 @@ public extension GroupVersionKind {
case "endpointslices":
return GroupVersionKind.discoveryV1EndpointSlice
case "flowschemas":
return GroupVersionKind.flowcontrolV1Beta2FlowSchema
return GroupVersionKind.flowcontrolV1Beta3FlowSchema
case "prioritylevelconfigurations":
return GroupVersionKind.flowcontrolV1Beta2PriorityLevelConfiguration
return GroupVersionKind.flowcontrolV1Beta3PriorityLevelConfiguration
case "storageversions":
return GroupVersionKind.internalV1Alpha1StorageVersion
case "ingresses":
Expand All @@ -276,6 +296,14 @@ public extension GroupVersionKind {
return GroupVersionKind.rbacV1Role
case "rolebindings":
return GroupVersionKind.rbacV1RoleBinding
case "podschedulings":
return GroupVersionKind.resourceV1Alpha1PodScheduling
case "resourceclaims":
return GroupVersionKind.resourceV1Alpha1ResourceClaim
case "resourceclaimtemplates":
return GroupVersionKind.resourceV1Alpha1ResourceClaimTemplate
case "resourceclasses":
return GroupVersionKind.resourceV1Alpha1ResourceClass
case "priorityclasses":
return GroupVersionKind.schedulingV1PriorityClass
case "csidrivers":
Expand Down
Loading

0 comments on commit c8be9ad

Please sign in to comment.