diff --git a/pkg/apis/batch/register.go b/pkg/apis/batch/register.go index 3b1558ab4be..f496b994c98 100644 --- a/pkg/apis/batch/register.go +++ b/pkg/apis/batch/register.go @@ -49,7 +49,6 @@ func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Job{}, &JobList{}, - &JobTemplate{}, &CronJob{}, &CronJobList{}, ) diff --git a/pkg/apis/batch/types.go b/pkg/apis/batch/types.go index 203ec6a4086..879ce24501b 100644 --- a/pkg/apis/batch/types.go +++ b/pkg/apis/batch/types.go @@ -68,22 +68,6 @@ type JobList struct { Items []Job } -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object - -// JobTemplate describes a template for creating copies of a predefined pod. -type JobTemplate struct { - metav1.TypeMeta - // Standard object's metadata. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - metav1.ObjectMeta - - // Defines jobs that will be created from this template. - // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - // +optional - Template JobTemplateSpec -} - // JobTemplateSpec describes the data a Job should have when created from a template type JobTemplateSpec struct { // Standard object's metadata of the jobs created from this template. diff --git a/pkg/apis/batch/v1beta1/zz_generated.conversion.go b/pkg/apis/batch/v1beta1/zz_generated.conversion.go index 944c06d0efe..eefabc65d88 100644 --- a/pkg/apis/batch/v1beta1/zz_generated.conversion.go +++ b/pkg/apis/batch/v1beta1/zz_generated.conversion.go @@ -81,16 +81,6 @@ func RegisterConversions(s *runtime.Scheme) error { }); err != nil { return err } - if err := s.AddGeneratedConversionFunc((*v1beta1.JobTemplate)(nil), (*batch.JobTemplate)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_v1beta1_JobTemplate_To_batch_JobTemplate(a.(*v1beta1.JobTemplate), b.(*batch.JobTemplate), scope) - }); err != nil { - return err - } - if err := s.AddGeneratedConversionFunc((*batch.JobTemplate)(nil), (*v1beta1.JobTemplate)(nil), func(a, b interface{}, scope conversion.Scope) error { - return Convert_batch_JobTemplate_To_v1beta1_JobTemplate(a.(*batch.JobTemplate), b.(*v1beta1.JobTemplate), scope) - }); err != nil { - return err - } if err := s.AddGeneratedConversionFunc((*v1beta1.JobTemplateSpec)(nil), (*batch.JobTemplateSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1beta1_JobTemplateSpec_To_batch_JobTemplateSpec(a.(*v1beta1.JobTemplateSpec), b.(*batch.JobTemplateSpec), scope) }); err != nil { @@ -240,32 +230,6 @@ func Convert_batch_CronJobStatus_To_v1beta1_CronJobStatus(in *batch.CronJobStatu return autoConvert_batch_CronJobStatus_To_v1beta1_CronJobStatus(in, out, s) } -func autoConvert_v1beta1_JobTemplate_To_batch_JobTemplate(in *v1beta1.JobTemplate, out *batch.JobTemplate, s conversion.Scope) error { - out.ObjectMeta = in.ObjectMeta - if err := Convert_v1beta1_JobTemplateSpec_To_batch_JobTemplateSpec(&in.Template, &out.Template, s); err != nil { - return err - } - return nil -} - -// Convert_v1beta1_JobTemplate_To_batch_JobTemplate is an autogenerated conversion function. -func Convert_v1beta1_JobTemplate_To_batch_JobTemplate(in *v1beta1.JobTemplate, out *batch.JobTemplate, s conversion.Scope) error { - return autoConvert_v1beta1_JobTemplate_To_batch_JobTemplate(in, out, s) -} - -func autoConvert_batch_JobTemplate_To_v1beta1_JobTemplate(in *batch.JobTemplate, out *v1beta1.JobTemplate, s conversion.Scope) error { - out.ObjectMeta = in.ObjectMeta - if err := Convert_batch_JobTemplateSpec_To_v1beta1_JobTemplateSpec(&in.Template, &out.Template, s); err != nil { - return err - } - return nil -} - -// Convert_batch_JobTemplate_To_v1beta1_JobTemplate is an autogenerated conversion function. -func Convert_batch_JobTemplate_To_v1beta1_JobTemplate(in *batch.JobTemplate, out *v1beta1.JobTemplate, s conversion.Scope) error { - return autoConvert_batch_JobTemplate_To_v1beta1_JobTemplate(in, out, s) -} - func autoConvert_v1beta1_JobTemplateSpec_To_batch_JobTemplateSpec(in *v1beta1.JobTemplateSpec, out *batch.JobTemplateSpec, s conversion.Scope) error { out.ObjectMeta = in.ObjectMeta if err := batchv1.Convert_v1_JobSpec_To_batch_JobSpec(&in.Spec, &out.Spec, s); err != nil { diff --git a/pkg/apis/batch/v1beta1/zz_generated.defaults.go b/pkg/apis/batch/v1beta1/zz_generated.defaults.go index 89c08a9c3f4..4904057c6e9 100644 --- a/pkg/apis/batch/v1beta1/zz_generated.defaults.go +++ b/pkg/apis/batch/v1beta1/zz_generated.defaults.go @@ -33,7 +33,6 @@ import ( func RegisterDefaults(scheme *runtime.Scheme) error { scheme.AddTypeDefaultingFunc(&v1beta1.CronJob{}, func(obj interface{}) { SetObjectDefaults_CronJob(obj.(*v1beta1.CronJob)) }) scheme.AddTypeDefaultingFunc(&v1beta1.CronJobList{}, func(obj interface{}) { SetObjectDefaults_CronJobList(obj.(*v1beta1.CronJobList)) }) - scheme.AddTypeDefaultingFunc(&v1beta1.JobTemplate{}, func(obj interface{}) { SetObjectDefaults_JobTemplate(obj.(*v1beta1.JobTemplate)) }) return nil } @@ -311,270 +310,3 @@ func SetObjectDefaults_CronJobList(in *v1beta1.CronJobList) { SetObjectDefaults_CronJob(a) } } - -func SetObjectDefaults_JobTemplate(in *v1beta1.JobTemplate) { - v1.SetDefaults_PodSpec(&in.Template.Spec.Template.Spec) - for i := range in.Template.Spec.Template.Spec.Volumes { - a := &in.Template.Spec.Template.Spec.Volumes[i] - v1.SetDefaults_Volume(a) - if a.VolumeSource.HostPath != nil { - v1.SetDefaults_HostPathVolumeSource(a.VolumeSource.HostPath) - } - if a.VolumeSource.Secret != nil { - v1.SetDefaults_SecretVolumeSource(a.VolumeSource.Secret) - } - if a.VolumeSource.ISCSI != nil { - v1.SetDefaults_ISCSIVolumeSource(a.VolumeSource.ISCSI) - } - if a.VolumeSource.RBD != nil { - v1.SetDefaults_RBDVolumeSource(a.VolumeSource.RBD) - } - if a.VolumeSource.DownwardAPI != nil { - v1.SetDefaults_DownwardAPIVolumeSource(a.VolumeSource.DownwardAPI) - for j := range a.VolumeSource.DownwardAPI.Items { - b := &a.VolumeSource.DownwardAPI.Items[j] - if b.FieldRef != nil { - v1.SetDefaults_ObjectFieldSelector(b.FieldRef) - } - } - } - if a.VolumeSource.ConfigMap != nil { - v1.SetDefaults_ConfigMapVolumeSource(a.VolumeSource.ConfigMap) - } - if a.VolumeSource.AzureDisk != nil { - v1.SetDefaults_AzureDiskVolumeSource(a.VolumeSource.AzureDisk) - } - if a.VolumeSource.Projected != nil { - v1.SetDefaults_ProjectedVolumeSource(a.VolumeSource.Projected) - for j := range a.VolumeSource.Projected.Sources { - b := &a.VolumeSource.Projected.Sources[j] - if b.DownwardAPI != nil { - for k := range b.DownwardAPI.Items { - c := &b.DownwardAPI.Items[k] - if c.FieldRef != nil { - v1.SetDefaults_ObjectFieldSelector(c.FieldRef) - } - } - } - if b.ServiceAccountToken != nil { - v1.SetDefaults_ServiceAccountTokenProjection(b.ServiceAccountToken) - } - } - } - if a.VolumeSource.ScaleIO != nil { - v1.SetDefaults_ScaleIOVolumeSource(a.VolumeSource.ScaleIO) - } - if a.VolumeSource.Ephemeral != nil { - if a.VolumeSource.Ephemeral.VolumeClaimTemplate != nil { - v1.SetDefaults_PersistentVolumeClaimSpec(&a.VolumeSource.Ephemeral.VolumeClaimTemplate.Spec) - v1.SetDefaults_ResourceList(&a.VolumeSource.Ephemeral.VolumeClaimTemplate.Spec.Resources.Limits) - v1.SetDefaults_ResourceList(&a.VolumeSource.Ephemeral.VolumeClaimTemplate.Spec.Resources.Requests) - } - } - } - for i := range in.Template.Spec.Template.Spec.InitContainers { - a := &in.Template.Spec.Template.Spec.InitContainers[i] - v1.SetDefaults_Container(a) - for j := range a.Ports { - b := &a.Ports[j] - if b.Protocol == "" { - b.Protocol = "TCP" - } - } - for j := range a.Env { - b := &a.Env[j] - if b.ValueFrom != nil { - if b.ValueFrom.FieldRef != nil { - v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) - } - } - } - v1.SetDefaults_ResourceList(&a.Resources.Limits) - v1.SetDefaults_ResourceList(&a.Resources.Requests) - if a.LivenessProbe != nil { - v1.SetDefaults_Probe(a.LivenessProbe) - if a.LivenessProbe.ProbeHandler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.LivenessProbe.ProbeHandler.HTTPGet) - } - if a.LivenessProbe.ProbeHandler.GRPC != nil { - if a.LivenessProbe.ProbeHandler.GRPC.Service == nil { - var ptrVar1 string = "" - a.LivenessProbe.ProbeHandler.GRPC.Service = &ptrVar1 - } - } - } - if a.ReadinessProbe != nil { - v1.SetDefaults_Probe(a.ReadinessProbe) - if a.ReadinessProbe.ProbeHandler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.ProbeHandler.HTTPGet) - } - if a.ReadinessProbe.ProbeHandler.GRPC != nil { - if a.ReadinessProbe.ProbeHandler.GRPC.Service == nil { - var ptrVar1 string = "" - a.ReadinessProbe.ProbeHandler.GRPC.Service = &ptrVar1 - } - } - } - if a.StartupProbe != nil { - v1.SetDefaults_Probe(a.StartupProbe) - if a.StartupProbe.ProbeHandler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.StartupProbe.ProbeHandler.HTTPGet) - } - if a.StartupProbe.ProbeHandler.GRPC != nil { - if a.StartupProbe.ProbeHandler.GRPC.Service == nil { - var ptrVar1 string = "" - a.StartupProbe.ProbeHandler.GRPC.Service = &ptrVar1 - } - } - } - if a.Lifecycle != nil { - if a.Lifecycle.PostStart != nil { - if a.Lifecycle.PostStart.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) - } - } - if a.Lifecycle.PreStop != nil { - if a.Lifecycle.PreStop.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) - } - } - } - } - for i := range in.Template.Spec.Template.Spec.Containers { - a := &in.Template.Spec.Template.Spec.Containers[i] - v1.SetDefaults_Container(a) - for j := range a.Ports { - b := &a.Ports[j] - if b.Protocol == "" { - b.Protocol = "TCP" - } - } - for j := range a.Env { - b := &a.Env[j] - if b.ValueFrom != nil { - if b.ValueFrom.FieldRef != nil { - v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) - } - } - } - v1.SetDefaults_ResourceList(&a.Resources.Limits) - v1.SetDefaults_ResourceList(&a.Resources.Requests) - if a.LivenessProbe != nil { - v1.SetDefaults_Probe(a.LivenessProbe) - if a.LivenessProbe.ProbeHandler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.LivenessProbe.ProbeHandler.HTTPGet) - } - if a.LivenessProbe.ProbeHandler.GRPC != nil { - if a.LivenessProbe.ProbeHandler.GRPC.Service == nil { - var ptrVar1 string = "" - a.LivenessProbe.ProbeHandler.GRPC.Service = &ptrVar1 - } - } - } - if a.ReadinessProbe != nil { - v1.SetDefaults_Probe(a.ReadinessProbe) - if a.ReadinessProbe.ProbeHandler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.ReadinessProbe.ProbeHandler.HTTPGet) - } - if a.ReadinessProbe.ProbeHandler.GRPC != nil { - if a.ReadinessProbe.ProbeHandler.GRPC.Service == nil { - var ptrVar1 string = "" - a.ReadinessProbe.ProbeHandler.GRPC.Service = &ptrVar1 - } - } - } - if a.StartupProbe != nil { - v1.SetDefaults_Probe(a.StartupProbe) - if a.StartupProbe.ProbeHandler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.StartupProbe.ProbeHandler.HTTPGet) - } - if a.StartupProbe.ProbeHandler.GRPC != nil { - if a.StartupProbe.ProbeHandler.GRPC.Service == nil { - var ptrVar1 string = "" - a.StartupProbe.ProbeHandler.GRPC.Service = &ptrVar1 - } - } - } - if a.Lifecycle != nil { - if a.Lifecycle.PostStart != nil { - if a.Lifecycle.PostStart.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.Lifecycle.PostStart.HTTPGet) - } - } - if a.Lifecycle.PreStop != nil { - if a.Lifecycle.PreStop.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.Lifecycle.PreStop.HTTPGet) - } - } - } - } - for i := range in.Template.Spec.Template.Spec.EphemeralContainers { - a := &in.Template.Spec.Template.Spec.EphemeralContainers[i] - v1.SetDefaults_EphemeralContainer(a) - for j := range a.EphemeralContainerCommon.Ports { - b := &a.EphemeralContainerCommon.Ports[j] - if b.Protocol == "" { - b.Protocol = "TCP" - } - } - for j := range a.EphemeralContainerCommon.Env { - b := &a.EphemeralContainerCommon.Env[j] - if b.ValueFrom != nil { - if b.ValueFrom.FieldRef != nil { - v1.SetDefaults_ObjectFieldSelector(b.ValueFrom.FieldRef) - } - } - } - v1.SetDefaults_ResourceList(&a.EphemeralContainerCommon.Resources.Limits) - v1.SetDefaults_ResourceList(&a.EphemeralContainerCommon.Resources.Requests) - if a.EphemeralContainerCommon.LivenessProbe != nil { - v1.SetDefaults_Probe(a.EphemeralContainerCommon.LivenessProbe) - if a.EphemeralContainerCommon.LivenessProbe.ProbeHandler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.EphemeralContainerCommon.LivenessProbe.ProbeHandler.HTTPGet) - } - if a.EphemeralContainerCommon.LivenessProbe.ProbeHandler.GRPC != nil { - if a.EphemeralContainerCommon.LivenessProbe.ProbeHandler.GRPC.Service == nil { - var ptrVar1 string = "" - a.EphemeralContainerCommon.LivenessProbe.ProbeHandler.GRPC.Service = &ptrVar1 - } - } - } - if a.EphemeralContainerCommon.ReadinessProbe != nil { - v1.SetDefaults_Probe(a.EphemeralContainerCommon.ReadinessProbe) - if a.EphemeralContainerCommon.ReadinessProbe.ProbeHandler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.EphemeralContainerCommon.ReadinessProbe.ProbeHandler.HTTPGet) - } - if a.EphemeralContainerCommon.ReadinessProbe.ProbeHandler.GRPC != nil { - if a.EphemeralContainerCommon.ReadinessProbe.ProbeHandler.GRPC.Service == nil { - var ptrVar1 string = "" - a.EphemeralContainerCommon.ReadinessProbe.ProbeHandler.GRPC.Service = &ptrVar1 - } - } - } - if a.EphemeralContainerCommon.StartupProbe != nil { - v1.SetDefaults_Probe(a.EphemeralContainerCommon.StartupProbe) - if a.EphemeralContainerCommon.StartupProbe.ProbeHandler.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.EphemeralContainerCommon.StartupProbe.ProbeHandler.HTTPGet) - } - if a.EphemeralContainerCommon.StartupProbe.ProbeHandler.GRPC != nil { - if a.EphemeralContainerCommon.StartupProbe.ProbeHandler.GRPC.Service == nil { - var ptrVar1 string = "" - a.EphemeralContainerCommon.StartupProbe.ProbeHandler.GRPC.Service = &ptrVar1 - } - } - } - if a.EphemeralContainerCommon.Lifecycle != nil { - if a.EphemeralContainerCommon.Lifecycle.PostStart != nil { - if a.EphemeralContainerCommon.Lifecycle.PostStart.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.EphemeralContainerCommon.Lifecycle.PostStart.HTTPGet) - } - } - if a.EphemeralContainerCommon.Lifecycle.PreStop != nil { - if a.EphemeralContainerCommon.Lifecycle.PreStop.HTTPGet != nil { - v1.SetDefaults_HTTPGetAction(a.EphemeralContainerCommon.Lifecycle.PreStop.HTTPGet) - } - } - } - } - v1.SetDefaults_ResourceList(&in.Template.Spec.Template.Spec.Overhead) -} diff --git a/pkg/apis/batch/validation/validation.go b/pkg/apis/batch/validation/validation.go index dee7fb8719e..b45bbd7d7e2 100644 --- a/pkg/apis/batch/validation/validation.go +++ b/pkg/apis/batch/validation/validation.go @@ -545,14 +545,6 @@ func validateTimeZone(timeZone *string, fldPath *field.Path) field.ErrorList { return allErrs } -// ValidateJobTemplate validates a JobTemplate and returns an ErrorList with any errors. -func ValidateJobTemplate(job *batch.JobTemplate, opts apivalidation.PodValidationOptions) field.ErrorList { - // this method should be identical to ValidateJob - allErrs := apivalidation.ValidateObjectMeta(&job.ObjectMeta, true, apivalidation.ValidateReplicationControllerName, field.NewPath("metadata")) - allErrs = append(allErrs, ValidateJobTemplateSpec(&job.Template, field.NewPath("template"), opts)...) - return allErrs -} - // ValidateJobTemplateSpec validates a JobTemplateSpec and returns an ErrorList with any errors. func ValidateJobTemplateSpec(spec *batch.JobTemplateSpec, fldPath *field.Path, opts apivalidation.PodValidationOptions) field.ErrorList { allErrs := validateJobSpec(&spec.Spec, fldPath.Child("spec"), opts) diff --git a/pkg/apis/batch/validation/validation_test.go b/pkg/apis/batch/validation/validation_test.go index 94ae7f222ac..b0aa8536e76 100644 --- a/pkg/apis/batch/validation/validation_test.go +++ b/pkg/apis/batch/validation/validation_test.go @@ -654,6 +654,19 @@ func TestValidateJob(t *testing.T) { Template: validPodTemplateSpecForGenerated, }, }, + "spec.backoffLimit:must be greater than or equal to 0": { + ObjectMeta: metav1.ObjectMeta{ + Name: "myjob", + Namespace: metav1.NamespaceDefault, + UID: types.UID("1a2b3c"), + }, + Spec: batch.JobSpec{ + BackoffLimit: pointer.Int32(-1), + Selector: validGeneratedSelector, + Template: validPodTemplateSpecForGenerated, + }, + }, + "spec.completions:must be greater than or equal to 0": { ObjectMeta: metav1.ObjectMeta{ Name: "myjob", @@ -1095,6 +1108,26 @@ func TestValidateJobUpdate(t *testing.T) { Field: "spec.completionMode", }, }, + "immutable completions for non-indexed job when AllowElasticIndexedJobs is true": { + old: batch.Job{ + ObjectMeta: metav1.ObjectMeta{Name: "abc", Namespace: metav1.NamespaceDefault}, + Spec: batch.JobSpec{ + Selector: validGeneratedSelector, + Template: validPodTemplateSpecForGenerated, + CompletionMode: completionModePtr(batch.NonIndexedCompletion), + Completions: pointer.Int32Ptr(2), + }, + }, + update: func(job *batch.Job) { + job.Spec.Completions = pointer.Int32Ptr(4) + }, + err: &field.Error{ + Type: field.ErrorTypeInvalid, + Field: "spec.completions", + }, + opts: JobValidationOptions{AllowElasticIndexedJobs: true}, + }, + "immutable node affinity": { old: batch.Job{ ObjectMeta: metav1.ObjectMeta{Name: "abc", Namespace: metav1.NamespaceDefault}, diff --git a/pkg/apis/batch/zz_generated.deepcopy.go b/pkg/apis/batch/zz_generated.deepcopy.go index 98b86bfcc81..015128250e5 100644 --- a/pkg/apis/batch/zz_generated.deepcopy.go +++ b/pkg/apis/batch/zz_generated.deepcopy.go @@ -347,33 +347,6 @@ func (in *JobStatus) DeepCopy() *JobStatus { return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JobTemplate) DeepCopyInto(out *JobTemplate) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Template.DeepCopyInto(&out.Template) - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate. -func (in *JobTemplate) DeepCopy() *JobTemplate { - if in == nil { - return nil - } - out := new(JobTemplate) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *JobTemplate) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) { *out = *in diff --git a/pkg/generated/openapi/zz_generated.openapi.go b/pkg/generated/openapi/zz_generated.openapi.go index a2419d82d52..5bff3472ebe 100644 --- a/pkg/generated/openapi/zz_generated.openapi.go +++ b/pkg/generated/openapi/zz_generated.openapi.go @@ -307,7 +307,6 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA "k8s.io/api/batch/v1beta1.CronJobList": schema_k8sio_api_batch_v1beta1_CronJobList(ref), "k8s.io/api/batch/v1beta1.CronJobSpec": schema_k8sio_api_batch_v1beta1_CronJobSpec(ref), "k8s.io/api/batch/v1beta1.CronJobStatus": schema_k8sio_api_batch_v1beta1_CronJobStatus(ref), - "k8s.io/api/batch/v1beta1.JobTemplate": schema_k8sio_api_batch_v1beta1_JobTemplate(ref), "k8s.io/api/batch/v1beta1.JobTemplateSpec": schema_k8sio_api_batch_v1beta1_JobTemplateSpec(ref), "k8s.io/api/certificates/v1.CertificateSigningRequest": schema_k8sio_api_certificates_v1_CertificateSigningRequest(ref), "k8s.io/api/certificates/v1.CertificateSigningRequestCondition": schema_k8sio_api_certificates_v1_CertificateSigningRequestCondition(ref), @@ -14676,49 +14675,6 @@ func schema_k8sio_api_batch_v1beta1_CronJobStatus(ref common.ReferenceCallback) } } -func schema_k8sio_api_batch_v1beta1_JobTemplate(ref common.ReferenceCallback) common.OpenAPIDefinition { - return common.OpenAPIDefinition{ - Schema: spec.Schema{ - SchemaProps: spec.SchemaProps{ - Description: "JobTemplate describes a template for creating copies of a predefined pod.", - Type: []string{"object"}, - Properties: map[string]spec.Schema{ - "kind": { - SchemaProps: spec.SchemaProps{ - Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", - Type: []string{"string"}, - Format: "", - }, - }, - "apiVersion": { - SchemaProps: spec.SchemaProps{ - Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", - Type: []string{"string"}, - Format: "", - }, - }, - "metadata": { - SchemaProps: spec.SchemaProps{ - Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", - Default: map[string]interface{}{}, - Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), - }, - }, - "template": { - SchemaProps: spec.SchemaProps{ - Description: "Defines jobs that will be created from this template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", - Default: map[string]interface{}{}, - Ref: ref("k8s.io/api/batch/v1beta1.JobTemplateSpec"), - }, - }, - }, - }, - }, - Dependencies: []string{ - "k8s.io/api/batch/v1beta1.JobTemplateSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, - } -} - func schema_k8sio_api_batch_v1beta1_JobTemplateSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ diff --git a/staging/src/k8s.io/api/batch/v1beta1/generated.pb.go b/staging/src/k8s.io/api/batch/v1beta1/generated.pb.go index d042fc69512..03feb2ceafa 100644 --- a/staging/src/k8s.io/api/batch/v1beta1/generated.pb.go +++ b/staging/src/k8s.io/api/batch/v1beta1/generated.pb.go @@ -157,38 +157,10 @@ func (m *CronJobStatus) XXX_DiscardUnknown() { var xxx_messageInfo_CronJobStatus proto.InternalMessageInfo -func (m *JobTemplate) Reset() { *m = JobTemplate{} } -func (*JobTemplate) ProtoMessage() {} -func (*JobTemplate) Descriptor() ([]byte, []int) { - return fileDescriptor_e57b277b05179ae7, []int{4} -} -func (m *JobTemplate) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *JobTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil -} -func (m *JobTemplate) XXX_Merge(src proto.Message) { - xxx_messageInfo_JobTemplate.Merge(m, src) -} -func (m *JobTemplate) XXX_Size() int { - return m.Size() -} -func (m *JobTemplate) XXX_DiscardUnknown() { - xxx_messageInfo_JobTemplate.DiscardUnknown(m) -} - -var xxx_messageInfo_JobTemplate proto.InternalMessageInfo - func (m *JobTemplateSpec) Reset() { *m = JobTemplateSpec{} } func (*JobTemplateSpec) ProtoMessage() {} func (*JobTemplateSpec) Descriptor() ([]byte, []int) { - return fileDescriptor_e57b277b05179ae7, []int{5} + return fileDescriptor_e57b277b05179ae7, []int{4} } func (m *JobTemplateSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -218,7 +190,6 @@ func init() { proto.RegisterType((*CronJobList)(nil), "k8s.io.api.batch.v1beta1.CronJobList") proto.RegisterType((*CronJobSpec)(nil), "k8s.io.api.batch.v1beta1.CronJobSpec") proto.RegisterType((*CronJobStatus)(nil), "k8s.io.api.batch.v1beta1.CronJobStatus") - proto.RegisterType((*JobTemplate)(nil), "k8s.io.api.batch.v1beta1.JobTemplate") proto.RegisterType((*JobTemplateSpec)(nil), "k8s.io.api.batch.v1beta1.JobTemplateSpec") } @@ -227,58 +198,57 @@ func init() { } var fileDescriptor_e57b277b05179ae7 = []byte{ - // 814 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x96, 0x41, 0x6f, 0x1b, 0x45, - 0x14, 0xc7, 0xbd, 0x4e, 0x9c, 0xb8, 0xe3, 0x16, 0xd2, 0x01, 0xa5, 0x2b, 0x83, 0xd6, 0xc1, 0x55, - 0x85, 0x41, 0x30, 0x4b, 0x22, 0x84, 0x38, 0x55, 0xea, 0x16, 0x15, 0x08, 0x41, 0x45, 0xe3, 0x22, - 0xa4, 0xaa, 0x42, 0x9d, 0x1d, 0xbf, 0x38, 0xd3, 0x78, 0x77, 0x56, 0x3b, 0xb3, 0x91, 0x72, 0xe3, - 0xc2, 0x9d, 0xef, 0xc2, 0x9d, 0x73, 0x8e, 0xbd, 0xd1, 0xd3, 0x8a, 0x2c, 0xdf, 0x82, 0x13, 0x9a, - 0xf1, 0x7a, 0xed, 0xda, 0xeb, 0xa6, 0xbd, 0xf4, 0xe6, 0x79, 0xf3, 0xff, 0xff, 0xe6, 0xed, 0x7b, - 0x6f, 0x67, 0x8d, 0xee, 0x9d, 0x7e, 0xad, 0x88, 0x90, 0xfe, 0x69, 0x16, 0x42, 0x1a, 0x83, 0x06, - 0xe5, 0x9f, 0x41, 0x3c, 0x92, 0xa9, 0x5f, 0x6e, 0xb0, 0x44, 0xf8, 0x21, 0xd3, 0xfc, 0xc4, 0x3f, - 0xdb, 0x0f, 0x41, 0xb3, 0x7d, 0x7f, 0x0c, 0x31, 0xa4, 0x4c, 0xc3, 0x88, 0x24, 0xa9, 0xd4, 0x12, - 0xbb, 0x53, 0x25, 0x61, 0x89, 0x20, 0x56, 0x49, 0x4a, 0x65, 0xf7, 0xf3, 0xb1, 0xd0, 0x27, 0x59, - 0x48, 0xb8, 0x8c, 0xfc, 0xb1, 0x1c, 0x4b, 0xdf, 0x1a, 0xc2, 0xec, 0xd8, 0xae, 0xec, 0xc2, 0xfe, - 0x9a, 0x82, 0xba, 0xb7, 0x6b, 0x8e, 0x5c, 0x3e, 0xad, 0xdb, 0x5f, 0x10, 0x71, 0x99, 0x42, 0x9d, - 0xe6, 0xcb, 0xb9, 0x26, 0x62, 0xfc, 0x44, 0xc4, 0x90, 0x9e, 0xfb, 0xc9, 0xe9, 0xd8, 0x04, 0x94, - 0x1f, 0x81, 0x66, 0x75, 0x2e, 0x7f, 0x9d, 0x2b, 0xcd, 0x62, 0x2d, 0x22, 0x58, 0x31, 0x7c, 0x75, - 0x95, 0x41, 0xf1, 0x13, 0x88, 0xd8, 0xb2, 0xaf, 0xff, 0x7b, 0x13, 0x6d, 0xdf, 0x4f, 0x65, 0x7c, - 0x28, 0x43, 0xfc, 0x14, 0xb5, 0x4d, 0x3e, 0x23, 0xa6, 0x99, 0xeb, 0xec, 0x39, 0x83, 0xce, 0xc1, - 0x17, 0x64, 0x5e, 0xcf, 0x0a, 0x4b, 0x92, 0xd3, 0xb1, 0x09, 0x28, 0x62, 0xd4, 0xe4, 0x6c, 0x9f, - 0x3c, 0x0c, 0x9f, 0x01, 0xd7, 0x3f, 0x82, 0x66, 0x01, 0xbe, 0xc8, 0x7b, 0x8d, 0x22, 0xef, 0xa1, - 0x79, 0x8c, 0x56, 0x54, 0xfc, 0x2d, 0xda, 0x54, 0x09, 0x70, 0xb7, 0x69, 0xe9, 0x77, 0xc8, 0xba, - 0x6e, 0x91, 0x32, 0xa5, 0x61, 0x02, 0x3c, 0xb8, 0x5e, 0x22, 0x37, 0xcd, 0x8a, 0x5a, 0x00, 0x7e, - 0x88, 0xb6, 0x94, 0x66, 0x3a, 0x53, 0xee, 0x86, 0x45, 0x7d, 0x7c, 0x35, 0xca, 0xca, 0x83, 0x77, - 0x4a, 0xd8, 0xd6, 0x74, 0x4d, 0x4b, 0x4c, 0xff, 0x4f, 0x07, 0x75, 0x4a, 0xe5, 0x91, 0x50, 0x1a, - 0x3f, 0x59, 0xa9, 0x05, 0x79, 0xbd, 0x5a, 0x18, 0xb7, 0xad, 0xc4, 0x4e, 0x79, 0x52, 0x7b, 0x16, - 0x59, 0xa8, 0xc3, 0x03, 0xd4, 0x12, 0x1a, 0x22, 0xe5, 0x36, 0xf7, 0x36, 0x06, 0x9d, 0x83, 0x8f, - 0xae, 0xcc, 0x3e, 0xb8, 0x51, 0xd2, 0x5a, 0xdf, 0x1b, 0x1f, 0x9d, 0xda, 0xfb, 0x7f, 0x6f, 0x56, - 0x59, 0x9b, 0xe2, 0xe0, 0xcf, 0x50, 0xdb, 0xf4, 0x79, 0x94, 0x4d, 0xc0, 0x66, 0x7d, 0x6d, 0x9e, - 0xc5, 0xb0, 0x8c, 0xd3, 0x4a, 0x81, 0x07, 0xa8, 0x6d, 0x46, 0xe3, 0xb1, 0x8c, 0xc1, 0x6d, 0x5b, - 0xf5, 0x75, 0xa3, 0x7c, 0x54, 0xc6, 0x68, 0xb5, 0x8b, 0x7f, 0x46, 0xb7, 0x94, 0x66, 0xa9, 0x16, - 0xf1, 0xf8, 0x1b, 0x60, 0xa3, 0x89, 0x88, 0x61, 0x08, 0x5c, 0xc6, 0x23, 0x65, 0x5b, 0xb9, 0x11, - 0x7c, 0x50, 0xe4, 0xbd, 0x5b, 0xc3, 0x7a, 0x09, 0x5d, 0xe7, 0xc5, 0x4f, 0xd0, 0x4d, 0x2e, 0x63, - 0x9e, 0xa5, 0x29, 0xc4, 0xfc, 0xfc, 0x27, 0x39, 0x11, 0xfc, 0xdc, 0x36, 0xf4, 0x5a, 0x40, 0xca, - 0xbc, 0x6f, 0xde, 0x5f, 0x16, 0xfc, 0x57, 0x17, 0xa4, 0xab, 0x20, 0x7c, 0x07, 0x6d, 0xab, 0x4c, - 0x25, 0x10, 0x8f, 0xdc, 0xcd, 0x3d, 0x67, 0xd0, 0x0e, 0x3a, 0x45, 0xde, 0xdb, 0x1e, 0x4e, 0x43, - 0x74, 0xb6, 0x87, 0x9f, 0xa2, 0xce, 0x33, 0x19, 0x3e, 0x82, 0x28, 0x99, 0x30, 0x0d, 0x6e, 0xcb, - 0x36, 0xfb, 0x93, 0xf5, 0x1d, 0x39, 0x9c, 0x8b, 0xed, 0x78, 0xbe, 0x57, 0x66, 0xda, 0x59, 0xd8, - 0xa0, 0x8b, 0x48, 0xfc, 0x2b, 0xea, 0xaa, 0x8c, 0x73, 0x50, 0xea, 0x38, 0x9b, 0x1c, 0xca, 0x50, - 0x7d, 0x27, 0x94, 0x96, 0xe9, 0xf9, 0x91, 0x88, 0x84, 0x76, 0xb7, 0xf6, 0x9c, 0x41, 0x2b, 0xf0, - 0x8a, 0xbc, 0xd7, 0x1d, 0xae, 0x55, 0xd1, 0x57, 0x10, 0x30, 0x45, 0xbb, 0xc7, 0x4c, 0x4c, 0x60, - 0xb4, 0xc2, 0xde, 0xb6, 0xec, 0x6e, 0x91, 0xf7, 0x76, 0x1f, 0xd4, 0x2a, 0xe8, 0x1a, 0x67, 0xff, - 0xaf, 0x26, 0xba, 0xf1, 0xd2, 0x9b, 0x83, 0x7f, 0x40, 0x5b, 0x8c, 0x6b, 0x71, 0x66, 0x26, 0xcb, - 0x0c, 0xed, 0xed, 0xc5, 0x12, 0x99, 0xdb, 0x6f, 0x7e, 0x13, 0x50, 0x38, 0x06, 0xd3, 0x09, 0x98, - 0xbf, 0x6e, 0xf7, 0xac, 0x95, 0x96, 0x08, 0x3c, 0x41, 0x3b, 0x13, 0xa6, 0xf4, 0x6c, 0x28, 0xcd, - 0xc8, 0xd9, 0x26, 0x75, 0x0e, 0x3e, 0x7d, 0xbd, 0xd7, 0xcc, 0x38, 0x82, 0xf7, 0x8b, 0xbc, 0xb7, - 0x73, 0xb4, 0xc4, 0xa1, 0x2b, 0x64, 0x9c, 0x22, 0x6c, 0x63, 0x55, 0x09, 0xed, 0x79, 0xad, 0x37, - 0x3e, 0x6f, 0xb7, 0xc8, 0x7b, 0xf8, 0x68, 0x85, 0x44, 0x6b, 0xe8, 0xfd, 0x0b, 0x07, 0x2d, 0x4e, - 0xc4, 0x5b, 0xb8, 0x5c, 0x7f, 0x41, 0x6d, 0x3d, 0x9b, 0xe2, 0xe6, 0x9b, 0x4e, 0x71, 0x75, 0x4f, - 0x54, 0x23, 0x5c, 0xc1, 0xcc, 0xdd, 0xf8, 0xee, 0x92, 0xfe, 0x2d, 0x3c, 0xce, 0xdd, 0x97, 0xbe, - 0x15, 0x1f, 0xd6, 0x3d, 0x0a, 0x79, 0xc5, 0x27, 0x22, 0xb8, 0x7b, 0x71, 0xe9, 0x35, 0x9e, 0x5f, - 0x7a, 0x8d, 0x17, 0x97, 0x5e, 0xe3, 0xb7, 0xc2, 0x73, 0x2e, 0x0a, 0xcf, 0x79, 0x5e, 0x78, 0xce, - 0x8b, 0xc2, 0x73, 0xfe, 0x29, 0x3c, 0xe7, 0x8f, 0x7f, 0xbd, 0xc6, 0x63, 0x77, 0xdd, 0x5f, 0x8b, - 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0xd7, 0xf2, 0x8b, 0xe9, 0x8e, 0x08, 0x00, 0x00, + // 787 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x95, 0x41, 0x6f, 0x1b, 0x45, + 0x14, 0xc7, 0xbd, 0x49, 0x9c, 0xb8, 0xe3, 0x16, 0xd2, 0x01, 0xa5, 0x2b, 0x83, 0xd6, 0xc1, 0x55, + 0x85, 0x41, 0x30, 0x4b, 0x22, 0x84, 0x38, 0x55, 0xea, 0x16, 0x15, 0x08, 0x41, 0x45, 0xe3, 0x72, + 0xa9, 0x2a, 0xd4, 0xd9, 0xd9, 0x17, 0x67, 0x9a, 0xdd, 0x9d, 0xd5, 0xce, 0x6c, 0xa4, 0xdc, 0xb8, + 0x70, 0xe7, 0xbb, 0x70, 0xe7, 0x9c, 0x63, 0x6f, 0xf4, 0xb4, 0x22, 0xcb, 0xb7, 0xe0, 0x84, 0x66, + 0xbc, 0xb1, 0x5d, 0x7b, 0xdd, 0x84, 0x4b, 0x6f, 0x9e, 0x37, 0xff, 0xff, 0x6f, 0x9e, 0xde, 0x7b, + 0xfb, 0x8c, 0x1e, 0x9c, 0x7c, 0xad, 0x88, 0x90, 0xfe, 0x49, 0x11, 0x42, 0x9e, 0x82, 0x06, 0xe5, + 0x9f, 0x42, 0x1a, 0xc9, 0xdc, 0xaf, 0x2f, 0x58, 0x26, 0xfc, 0x90, 0x69, 0x7e, 0xec, 0x9f, 0xee, + 0x85, 0xa0, 0xd9, 0x9e, 0x3f, 0x86, 0x14, 0x72, 0xa6, 0x21, 0x22, 0x59, 0x2e, 0xb5, 0xc4, 0xee, + 0x44, 0x49, 0x58, 0x26, 0x88, 0x55, 0x92, 0x5a, 0xd9, 0xfb, 0x7c, 0x2c, 0xf4, 0x71, 0x11, 0x12, + 0x2e, 0x13, 0x7f, 0x2c, 0xc7, 0xd2, 0xb7, 0x86, 0xb0, 0x38, 0xb2, 0x27, 0x7b, 0xb0, 0xbf, 0x26, + 0xa0, 0xde, 0xdd, 0x86, 0x27, 0x17, 0x5f, 0xeb, 0x0d, 0xe6, 0x44, 0x5c, 0xe6, 0xd0, 0xa4, 0xf9, + 0x72, 0xa6, 0x49, 0x18, 0x3f, 0x16, 0x29, 0xe4, 0x67, 0x7e, 0x76, 0x32, 0x36, 0x01, 0xe5, 0x27, + 0xa0, 0x59, 0x93, 0xcb, 0x5f, 0xe5, 0xca, 0x8b, 0x54, 0x8b, 0x04, 0x96, 0x0c, 0x5f, 0x5d, 0x65, + 0x50, 0xfc, 0x18, 0x12, 0xb6, 0xe8, 0x1b, 0xfc, 0xb6, 0x86, 0xb6, 0x1e, 0xe6, 0x32, 0x3d, 0x90, + 0x21, 0x7e, 0x8e, 0x3a, 0x26, 0x9f, 0x88, 0x69, 0xe6, 0x3a, 0xbb, 0xce, 0xb0, 0xbb, 0xff, 0x05, + 0x99, 0xd5, 0x73, 0x8a, 0x25, 0xd9, 0xc9, 0xd8, 0x04, 0x14, 0x31, 0x6a, 0x72, 0xba, 0x47, 0x1e, + 0x87, 0x2f, 0x80, 0xeb, 0x1f, 0x41, 0xb3, 0x00, 0x9f, 0x97, 0xfd, 0x56, 0x55, 0xf6, 0xd1, 0x2c, + 0x46, 0xa7, 0x54, 0xfc, 0x2d, 0xda, 0x50, 0x19, 0x70, 0x77, 0xcd, 0xd2, 0xef, 0x91, 0x55, 0xdd, + 0x22, 0x75, 0x4a, 0xa3, 0x0c, 0x78, 0x70, 0xb3, 0x46, 0x6e, 0x98, 0x13, 0xb5, 0x00, 0xfc, 0x18, + 0x6d, 0x2a, 0xcd, 0x74, 0xa1, 0xdc, 0x75, 0x8b, 0xfa, 0xf8, 0x6a, 0x94, 0x95, 0x07, 0xef, 0xd4, + 0xb0, 0xcd, 0xc9, 0x99, 0xd6, 0x98, 0xc1, 0x1f, 0x0e, 0xea, 0xd6, 0xca, 0x43, 0xa1, 0x34, 0x7e, + 0xb6, 0x54, 0x0b, 0x72, 0xbd, 0x5a, 0x18, 0xb7, 0xad, 0xc4, 0x76, 0xfd, 0x52, 0xe7, 0x32, 0x32, + 0x57, 0x87, 0x47, 0xa8, 0x2d, 0x34, 0x24, 0xca, 0x5d, 0xdb, 0x5d, 0x1f, 0x76, 0xf7, 0x3f, 0xba, + 0x32, 0xfb, 0xe0, 0x56, 0x4d, 0x6b, 0x7f, 0x6f, 0x7c, 0x74, 0x62, 0x1f, 0xfc, 0xb5, 0x31, 0xcd, + 0xda, 0x14, 0x07, 0x7f, 0x86, 0x3a, 0xa6, 0xcf, 0x51, 0x11, 0x83, 0xcd, 0xfa, 0xc6, 0x2c, 0x8b, + 0x51, 0x1d, 0xa7, 0x53, 0x05, 0x1e, 0xa2, 0x8e, 0x19, 0x8d, 0xa7, 0x32, 0x05, 0xb7, 0x63, 0xd5, + 0x37, 0x8d, 0xf2, 0x49, 0x1d, 0xa3, 0xd3, 0x5b, 0xfc, 0x33, 0xba, 0xa3, 0x34, 0xcb, 0xb5, 0x48, + 0xc7, 0xdf, 0x00, 0x8b, 0x62, 0x91, 0xc2, 0x08, 0xb8, 0x4c, 0x23, 0x65, 0x5b, 0xb9, 0x1e, 0x7c, + 0x50, 0x95, 0xfd, 0x3b, 0xa3, 0x66, 0x09, 0x5d, 0xe5, 0xc5, 0xcf, 0xd0, 0x6d, 0x2e, 0x53, 0x5e, + 0xe4, 0x39, 0xa4, 0xfc, 0xec, 0x27, 0x19, 0x0b, 0x7e, 0x66, 0x1b, 0x7a, 0x23, 0x20, 0x75, 0xde, + 0xb7, 0x1f, 0x2e, 0x0a, 0xfe, 0x6d, 0x0a, 0xd2, 0x65, 0x10, 0xbe, 0x87, 0xb6, 0x54, 0xa1, 0x32, + 0x48, 0x23, 0x77, 0x63, 0xd7, 0x19, 0x76, 0x82, 0x6e, 0x55, 0xf6, 0xb7, 0x46, 0x93, 0x10, 0xbd, + 0xbc, 0xc3, 0xcf, 0x51, 0xf7, 0x85, 0x0c, 0x9f, 0x40, 0x92, 0xc5, 0x4c, 0x83, 0xdb, 0xb6, 0xcd, + 0xfe, 0x64, 0x75, 0x47, 0x0e, 0x66, 0x62, 0x3b, 0x9e, 0xef, 0xd5, 0x99, 0x76, 0xe7, 0x2e, 0xe8, + 0x3c, 0x12, 0xff, 0x82, 0x7a, 0xaa, 0xe0, 0x1c, 0x94, 0x3a, 0x2a, 0xe2, 0x03, 0x19, 0xaa, 0xef, + 0x84, 0xd2, 0x32, 0x3f, 0x3b, 0x14, 0x89, 0xd0, 0xee, 0xe6, 0xae, 0x33, 0x6c, 0x07, 0x5e, 0x55, + 0xf6, 0x7b, 0xa3, 0x95, 0x2a, 0xfa, 0x06, 0x02, 0xa6, 0x68, 0xe7, 0x88, 0x89, 0x18, 0xa2, 0x25, + 0xf6, 0x96, 0x65, 0xf7, 0xaa, 0xb2, 0xbf, 0xf3, 0xa8, 0x51, 0x41, 0x57, 0x38, 0x07, 0x7f, 0xae, + 0xa1, 0x5b, 0xaf, 0x7d, 0x39, 0xf8, 0x07, 0xb4, 0xc9, 0xb8, 0x16, 0xa7, 0x66, 0xb2, 0xcc, 0xd0, + 0xde, 0x9d, 0x2f, 0x91, 0xd9, 0x7e, 0xb3, 0x4d, 0x40, 0xe1, 0x08, 0x4c, 0x27, 0x60, 0xf6, 0xb9, + 0x3d, 0xb0, 0x56, 0x5a, 0x23, 0x70, 0x8c, 0xb6, 0x63, 0xa6, 0xf4, 0xe5, 0x50, 0x9a, 0x91, 0xb3, + 0x4d, 0xea, 0xee, 0x7f, 0x7a, 0xbd, 0xcf, 0xcc, 0x38, 0x82, 0xf7, 0xab, 0xb2, 0xbf, 0x7d, 0xb8, + 0xc0, 0xa1, 0x4b, 0x64, 0x9c, 0x23, 0x6c, 0x63, 0xd3, 0x12, 0xda, 0xf7, 0xda, 0xff, 0xfb, 0xbd, + 0x9d, 0xaa, 0xec, 0xe3, 0xc3, 0x25, 0x12, 0x6d, 0xa0, 0x9b, 0x85, 0xf2, 0xee, 0xc2, 0xa8, 0xbc, + 0x85, 0x05, 0x7b, 0xff, 0xb5, 0x05, 0xfb, 0x61, 0xd3, 0x14, 0x93, 0x37, 0xec, 0xd5, 0xe0, 0xfe, + 0xf9, 0x85, 0xd7, 0x7a, 0x79, 0xe1, 0xb5, 0x5e, 0x5d, 0x78, 0xad, 0x5f, 0x2b, 0xcf, 0x39, 0xaf, + 0x3c, 0xe7, 0x65, 0xe5, 0x39, 0xaf, 0x2a, 0xcf, 0xf9, 0xbb, 0xf2, 0x9c, 0xdf, 0xff, 0xf1, 0x5a, + 0x4f, 0xdd, 0x55, 0xff, 0xc7, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0x61, 0x72, 0xc3, 0xe0, 0xc3, + 0x07, 0x00, 0x00, } func (m *CronJob) Marshal() (dAtA []byte, err error) { @@ -517,49 +487,6 @@ func (m *CronJobStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *JobTemplate) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *JobTemplate) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *JobTemplate) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Template.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenerated(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - { - size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintGenerated(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - func (m *JobTemplateSpec) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -700,19 +627,6 @@ func (m *CronJobStatus) Size() (n int) { return n } -func (m *JobTemplate) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.ObjectMeta.Size() - n += 1 + l + sovGenerated(uint64(l)) - l = m.Template.Size() - n += 1 + l + sovGenerated(uint64(l)) - return n -} - func (m *JobTemplateSpec) Size() (n int) { if m == nil { return 0 @@ -794,17 +708,6 @@ func (this *CronJobStatus) String() string { }, "") return s } -func (this *JobTemplate) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&JobTemplate{`, - `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`, - `Template:` + strings.Replace(strings.Replace(this.Template.String(), "JobTemplateSpec", "JobTemplateSpec", 1), `&`, ``, 1) + `,`, - `}`, - }, "") - return s -} func (this *JobTemplateSpec) String() string { if this == nil { return "nil" @@ -1507,122 +1410,6 @@ func (m *CronJobStatus) Unmarshal(dAtA []byte) error { } return nil } -func (m *JobTemplate) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: JobTemplate: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: JobTemplate: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenerated - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthGenerated - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthGenerated - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipGenerated(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthGenerated - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *JobTemplateSpec) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/staging/src/k8s.io/api/batch/v1beta1/generated.proto b/staging/src/k8s.io/api/batch/v1beta1/generated.proto index d19647c4120..bd1844ad02b 100644 --- a/staging/src/k8s.io/api/batch/v1beta1/generated.proto +++ b/staging/src/k8s.io/api/batch/v1beta1/generated.proto @@ -128,19 +128,6 @@ message CronJobStatus { optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastSuccessfulTime = 5; } -// JobTemplate describes a template for creating copies of a predefined pod. -message JobTemplate { - // Standard object's metadata. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; - - // Defines jobs that will be created from this template. - // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - // +optional - optional JobTemplateSpec template = 2; -} - // JobTemplateSpec describes the data a Job should have when created from a template message JobTemplateSpec { // Standard object's metadata of the jobs created from this template. diff --git a/staging/src/k8s.io/api/batch/v1beta1/register.go b/staging/src/k8s.io/api/batch/v1beta1/register.go index 226de49f4d2..9382ca23f2e 100644 --- a/staging/src/k8s.io/api/batch/v1beta1/register.go +++ b/staging/src/k8s.io/api/batch/v1beta1/register.go @@ -44,7 +44,6 @@ var ( // Adds the list of known types to the given scheme. func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, - &JobTemplate{}, &CronJob{}, &CronJobList{}, ) diff --git a/staging/src/k8s.io/api/batch/v1beta1/types.go b/staging/src/k8s.io/api/batch/v1beta1/types.go index 9a3fff5840b..7418303a690 100644 --- a/staging/src/k8s.io/api/batch/v1beta1/types.go +++ b/staging/src/k8s.io/api/batch/v1beta1/types.go @@ -22,24 +22,6 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object -// +k8s:prerelease-lifecycle-gen:introduced=1.8 -// +k8s:prerelease-lifecycle-gen:deprecated=1.22 - -// JobTemplate describes a template for creating copies of a predefined pod. -type JobTemplate struct { - metav1.TypeMeta `json:",inline"` - // Standard object's metadata. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - - // Defines jobs that will be created from this template. - // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status - // +optional - Template JobTemplateSpec `json:"template,omitempty" protobuf:"bytes,2,opt,name=template"` -} - // JobTemplateSpec describes the data a Job should have when created from a template type JobTemplateSpec struct { // Standard object's metadata of the jobs created from this template. diff --git a/staging/src/k8s.io/api/batch/v1beta1/types_swagger_doc_generated.go b/staging/src/k8s.io/api/batch/v1beta1/types_swagger_doc_generated.go index 63b009d1d68..db917c50500 100644 --- a/staging/src/k8s.io/api/batch/v1beta1/types_swagger_doc_generated.go +++ b/staging/src/k8s.io/api/batch/v1beta1/types_swagger_doc_generated.go @@ -75,16 +75,6 @@ func (CronJobStatus) SwaggerDoc() map[string]string { return map_CronJobStatus } -var map_JobTemplate = map[string]string{ - "": "JobTemplate describes a template for creating copies of a predefined pod.", - "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", - "template": "Defines jobs that will be created from this template. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", -} - -func (JobTemplate) SwaggerDoc() map[string]string { - return map_JobTemplate -} - var map_JobTemplateSpec = map[string]string{ "": "JobTemplateSpec describes the data a Job should have when created from a template", "metadata": "Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", diff --git a/staging/src/k8s.io/api/batch/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/batch/v1beta1/zz_generated.deepcopy.go index c3a3494c4a0..2c8570332a2 100644 --- a/staging/src/k8s.io/api/batch/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/batch/v1beta1/zz_generated.deepcopy.go @@ -158,33 +158,6 @@ func (in *CronJobStatus) DeepCopy() *CronJobStatus { return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *JobTemplate) DeepCopyInto(out *JobTemplate) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Template.DeepCopyInto(&out.Template) - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate. -func (in *JobTemplate) DeepCopy() *JobTemplate { - if in == nil { - return nil - } - out := new(JobTemplate) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *JobTemplate) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) { *out = *in diff --git a/staging/src/k8s.io/api/batch/v1beta1/zz_generated.prerelease-lifecycle.go b/staging/src/k8s.io/api/batch/v1beta1/zz_generated.prerelease-lifecycle.go index 2836b3b014f..b57e9f1b86b 100644 --- a/staging/src/k8s.io/api/batch/v1beta1/zz_generated.prerelease-lifecycle.go +++ b/staging/src/k8s.io/api/batch/v1beta1/zz_generated.prerelease-lifecycle.go @@ -72,21 +72,3 @@ func (in *CronJobList) APILifecycleReplacement() schema.GroupVersionKind { func (in *CronJobList) APILifecycleRemoved() (major, minor int) { return 1, 25 } - -// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. -// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. -func (in *JobTemplate) APILifecycleIntroduced() (major, minor int) { - return 1, 8 -} - -// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. -// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. -func (in *JobTemplate) APILifecycleDeprecated() (major, minor int) { - return 1, 22 -} - -// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. -// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. -func (in *JobTemplate) APILifecycleRemoved() (major, minor int) { - return 1, 25 -} diff --git a/staging/src/k8s.io/api/testdata/HEAD/batch.v1beta1.JobTemplate.json b/staging/src/k8s.io/api/testdata/HEAD/batch.v1beta1.JobTemplate.json deleted file mode 100644 index f8d3c9e536e..00000000000 --- a/staging/src/k8s.io/api/testdata/HEAD/batch.v1beta1.JobTemplate.json +++ /dev/null @@ -1,1758 +0,0 @@ -{ - "kind": "JobTemplate", - "apiVersion": "batch/v1beta1", - "metadata": { - "name": "nameValue", - "generateName": "generateNameValue", - "namespace": "namespaceValue", - "selfLink": "selfLinkValue", - "uid": "uidValue", - "resourceVersion": "resourceVersionValue", - "generation": 7, - "creationTimestamp": "2008-01-01T01:01:01Z", - "deletionTimestamp": "2009-01-01T01:01:01Z", - "deletionGracePeriodSeconds": 10, - "labels": { - "labelsKey": "labelsValue" - }, - "annotations": { - "annotationsKey": "annotationsValue" - }, - "ownerReferences": [ - { - "apiVersion": "apiVersionValue", - "kind": "kindValue", - "name": "nameValue", - "uid": "uidValue", - "controller": true, - "blockOwnerDeletion": true - } - ], - "finalizers": [ - "finalizersValue" - ], - "managedFields": [ - { - "manager": "managerValue", - "operation": "operationValue", - "apiVersion": "apiVersionValue", - "time": "2004-01-01T01:01:01Z", - "fieldsType": "fieldsTypeValue", - "fieldsV1": {}, - "subresource": "subresourceValue" - } - ] - }, - "template": { - "metadata": { - "name": "nameValue", - "generateName": "generateNameValue", - "namespace": "namespaceValue", - "selfLink": "selfLinkValue", - "uid": "uidValue", - "resourceVersion": "resourceVersionValue", - "generation": 7, - "creationTimestamp": "2008-01-01T01:01:01Z", - "deletionTimestamp": "2009-01-01T01:01:01Z", - "deletionGracePeriodSeconds": 10, - "labels": { - "labelsKey": "labelsValue" - }, - "annotations": { - "annotationsKey": "annotationsValue" - }, - "ownerReferences": [ - { - "apiVersion": "apiVersionValue", - "kind": "kindValue", - "name": "nameValue", - "uid": "uidValue", - "controller": true, - "blockOwnerDeletion": true - } - ], - "finalizers": [ - "finalizersValue" - ], - "managedFields": [ - { - "manager": "managerValue", - "operation": "operationValue", - "apiVersion": "apiVersionValue", - "time": "2004-01-01T01:01:01Z", - "fieldsType": "fieldsTypeValue", - "fieldsV1": {}, - "subresource": "subresourceValue" - } - ] - }, - "spec": { - "parallelism": 1, - "completions": 2, - "activeDeadlineSeconds": 3, - "podFailurePolicy": { - "rules": [ - { - "action": "actionValue", - "onExitCodes": { - "containerName": "containerNameValue", - "operator": "operatorValue", - "values": [ - 3 - ] - }, - "onPodConditions": [ - { - "type": "typeValue", - "status": "statusValue" - } - ] - } - ] - }, - "backoffLimit": 7, - "selector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "manualSelector": true, - "template": { - "metadata": { - "name": "nameValue", - "generateName": "generateNameValue", - "namespace": "namespaceValue", - "selfLink": "selfLinkValue", - "uid": "uidValue", - "resourceVersion": "resourceVersionValue", - "generation": 7, - "creationTimestamp": "2008-01-01T01:01:01Z", - "deletionTimestamp": "2009-01-01T01:01:01Z", - "deletionGracePeriodSeconds": 10, - "labels": { - "labelsKey": "labelsValue" - }, - "annotations": { - "annotationsKey": "annotationsValue" - }, - "ownerReferences": [ - { - "apiVersion": "apiVersionValue", - "kind": "kindValue", - "name": "nameValue", - "uid": "uidValue", - "controller": true, - "blockOwnerDeletion": true - } - ], - "finalizers": [ - "finalizersValue" - ], - "managedFields": [ - { - "manager": "managerValue", - "operation": "operationValue", - "apiVersion": "apiVersionValue", - "time": "2004-01-01T01:01:01Z", - "fieldsType": "fieldsTypeValue", - "fieldsV1": {}, - "subresource": "subresourceValue" - } - ] - }, - "spec": { - "volumes": [ - { - "name": "nameValue", - "hostPath": { - "path": "pathValue", - "type": "typeValue" - }, - "emptyDir": { - "medium": "mediumValue", - "sizeLimit": "0" - }, - "gcePersistentDisk": { - "pdName": "pdNameValue", - "fsType": "fsTypeValue", - "partition": 3, - "readOnly": true - }, - "awsElasticBlockStore": { - "volumeID": "volumeIDValue", - "fsType": "fsTypeValue", - "partition": 3, - "readOnly": true - }, - "gitRepo": { - "repository": "repositoryValue", - "revision": "revisionValue", - "directory": "directoryValue" - }, - "secret": { - "secretName": "secretNameValue", - "items": [ - { - "key": "keyValue", - "path": "pathValue", - "mode": 3 - } - ], - "defaultMode": 3, - "optional": true - }, - "nfs": { - "server": "serverValue", - "path": "pathValue", - "readOnly": true - }, - "iscsi": { - "targetPortal": "targetPortalValue", - "iqn": "iqnValue", - "lun": 3, - "iscsiInterface": "iscsiInterfaceValue", - "fsType": "fsTypeValue", - "readOnly": true, - "portals": [ - "portalsValue" - ], - "chapAuthDiscovery": true, - "chapAuthSession": true, - "secretRef": { - "name": "nameValue" - }, - "initiatorName": "initiatorNameValue" - }, - "glusterfs": { - "endpoints": "endpointsValue", - "path": "pathValue", - "readOnly": true - }, - "persistentVolumeClaim": { - "claimName": "claimNameValue", - "readOnly": true - }, - "rbd": { - "monitors": [ - "monitorsValue" - ], - "image": "imageValue", - "fsType": "fsTypeValue", - "pool": "poolValue", - "user": "userValue", - "keyring": "keyringValue", - "secretRef": { - "name": "nameValue" - }, - "readOnly": true - }, - "flexVolume": { - "driver": "driverValue", - "fsType": "fsTypeValue", - "secretRef": { - "name": "nameValue" - }, - "readOnly": true, - "options": { - "optionsKey": "optionsValue" - } - }, - "cinder": { - "volumeID": "volumeIDValue", - "fsType": "fsTypeValue", - "readOnly": true, - "secretRef": { - "name": "nameValue" - } - }, - "cephfs": { - "monitors": [ - "monitorsValue" - ], - "path": "pathValue", - "user": "userValue", - "secretFile": "secretFileValue", - "secretRef": { - "name": "nameValue" - }, - "readOnly": true - }, - "flocker": { - "datasetName": "datasetNameValue", - "datasetUUID": "datasetUUIDValue" - }, - "downwardAPI": { - "items": [ - { - "path": "pathValue", - "fieldRef": { - "apiVersion": "apiVersionValue", - "fieldPath": "fieldPathValue" - }, - "resourceFieldRef": { - "containerName": "containerNameValue", - "resource": "resourceValue", - "divisor": "0" - }, - "mode": 4 - } - ], - "defaultMode": 2 - }, - "fc": { - "targetWWNs": [ - "targetWWNsValue" - ], - "lun": 2, - "fsType": "fsTypeValue", - "readOnly": true, - "wwids": [ - "wwidsValue" - ] - }, - "azureFile": { - "secretName": "secretNameValue", - "shareName": "shareNameValue", - "readOnly": true - }, - "configMap": { - "name": "nameValue", - "items": [ - { - "key": "keyValue", - "path": "pathValue", - "mode": 3 - } - ], - "defaultMode": 3, - "optional": true - }, - "vsphereVolume": { - "volumePath": "volumePathValue", - "fsType": "fsTypeValue", - "storagePolicyName": "storagePolicyNameValue", - "storagePolicyID": "storagePolicyIDValue" - }, - "quobyte": { - "registry": "registryValue", - "volume": "volumeValue", - "readOnly": true, - "user": "userValue", - "group": "groupValue", - "tenant": "tenantValue" - }, - "azureDisk": { - "diskName": "diskNameValue", - "diskURI": "diskURIValue", - "cachingMode": "cachingModeValue", - "fsType": "fsTypeValue", - "readOnly": true, - "kind": "kindValue" - }, - "photonPersistentDisk": { - "pdID": "pdIDValue", - "fsType": "fsTypeValue" - }, - "projected": { - "sources": [ - { - "secret": { - "name": "nameValue", - "items": [ - { - "key": "keyValue", - "path": "pathValue", - "mode": 3 - } - ], - "optional": true - }, - "downwardAPI": { - "items": [ - { - "path": "pathValue", - "fieldRef": { - "apiVersion": "apiVersionValue", - "fieldPath": "fieldPathValue" - }, - "resourceFieldRef": { - "containerName": "containerNameValue", - "resource": "resourceValue", - "divisor": "0" - }, - "mode": 4 - } - ] - }, - "configMap": { - "name": "nameValue", - "items": [ - { - "key": "keyValue", - "path": "pathValue", - "mode": 3 - } - ], - "optional": true - }, - "serviceAccountToken": { - "audience": "audienceValue", - "expirationSeconds": 2, - "path": "pathValue" - } - } - ], - "defaultMode": 2 - }, - "portworxVolume": { - "volumeID": "volumeIDValue", - "fsType": "fsTypeValue", - "readOnly": true - }, - "scaleIO": { - "gateway": "gatewayValue", - "system": "systemValue", - "secretRef": { - "name": "nameValue" - }, - "sslEnabled": true, - "protectionDomain": "protectionDomainValue", - "storagePool": "storagePoolValue", - "storageMode": "storageModeValue", - "volumeName": "volumeNameValue", - "fsType": "fsTypeValue", - "readOnly": true - }, - "storageos": { - "volumeName": "volumeNameValue", - "volumeNamespace": "volumeNamespaceValue", - "fsType": "fsTypeValue", - "readOnly": true, - "secretRef": { - "name": "nameValue" - } - }, - "csi": { - "driver": "driverValue", - "readOnly": true, - "fsType": "fsTypeValue", - "volumeAttributes": { - "volumeAttributesKey": "volumeAttributesValue" - }, - "nodePublishSecretRef": { - "name": "nameValue" - } - }, - "ephemeral": { - "volumeClaimTemplate": { - "metadata": { - "name": "nameValue", - "generateName": "generateNameValue", - "namespace": "namespaceValue", - "selfLink": "selfLinkValue", - "uid": "uidValue", - "resourceVersion": "resourceVersionValue", - "generation": 7, - "creationTimestamp": "2008-01-01T01:01:01Z", - "deletionTimestamp": "2009-01-01T01:01:01Z", - "deletionGracePeriodSeconds": 10, - "labels": { - "labelsKey": "labelsValue" - }, - "annotations": { - "annotationsKey": "annotationsValue" - }, - "ownerReferences": [ - { - "apiVersion": "apiVersionValue", - "kind": "kindValue", - "name": "nameValue", - "uid": "uidValue", - "controller": true, - "blockOwnerDeletion": true - } - ], - "finalizers": [ - "finalizersValue" - ], - "managedFields": [ - { - "manager": "managerValue", - "operation": "operationValue", - "apiVersion": "apiVersionValue", - "time": "2004-01-01T01:01:01Z", - "fieldsType": "fieldsTypeValue", - "fieldsV1": {}, - "subresource": "subresourceValue" - } - ] - }, - "spec": { - "accessModes": [ - "accessModesValue" - ], - "selector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "resources": { - "limits": { - "limitsKey": "0" - }, - "requests": { - "requestsKey": "0" - }, - "claims": [ - { - "name": "nameValue" - } - ] - }, - "volumeName": "volumeNameValue", - "storageClassName": "storageClassNameValue", - "volumeMode": "volumeModeValue", - "dataSource": { - "apiGroup": "apiGroupValue", - "kind": "kindValue", - "name": "nameValue" - }, - "dataSourceRef": { - "apiGroup": "apiGroupValue", - "kind": "kindValue", - "name": "nameValue", - "namespace": "namespaceValue" - } - } - } - } - } - ], - "initContainers": [ - { - "name": "nameValue", - "image": "imageValue", - "command": [ - "commandValue" - ], - "args": [ - "argsValue" - ], - "workingDir": "workingDirValue", - "ports": [ - { - "name": "nameValue", - "hostPort": 2, - "containerPort": 3, - "protocol": "protocolValue", - "hostIP": "hostIPValue" - } - ], - "envFrom": [ - { - "prefix": "prefixValue", - "configMapRef": { - "name": "nameValue", - "optional": true - }, - "secretRef": { - "name": "nameValue", - "optional": true - } - } - ], - "env": [ - { - "name": "nameValue", - "value": "valueValue", - "valueFrom": { - "fieldRef": { - "apiVersion": "apiVersionValue", - "fieldPath": "fieldPathValue" - }, - "resourceFieldRef": { - "containerName": "containerNameValue", - "resource": "resourceValue", - "divisor": "0" - }, - "configMapKeyRef": { - "name": "nameValue", - "key": "keyValue", - "optional": true - }, - "secretKeyRef": { - "name": "nameValue", - "key": "keyValue", - "optional": true - } - } - } - ], - "resources": { - "limits": { - "limitsKey": "0" - }, - "requests": { - "requestsKey": "0" - }, - "claims": [ - { - "name": "nameValue" - } - ] - }, - "resizePolicy": [ - { - "resourceName": "resourceNameValue", - "policy": "policyValue" - } - ], - "volumeMounts": [ - { - "name": "nameValue", - "readOnly": true, - "mountPath": "mountPathValue", - "subPath": "subPathValue", - "mountPropagation": "mountPropagationValue", - "subPathExpr": "subPathExprValue" - } - ], - "volumeDevices": [ - { - "name": "nameValue", - "devicePath": "devicePathValue" - } - ], - "livenessProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "readinessProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "startupProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "lifecycle": { - "postStart": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - } - }, - "preStop": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - } - } - }, - "terminationMessagePath": "terminationMessagePathValue", - "terminationMessagePolicy": "terminationMessagePolicyValue", - "imagePullPolicy": "imagePullPolicyValue", - "securityContext": { - "capabilities": { - "add": [ - "addValue" - ], - "drop": [ - "dropValue" - ] - }, - "privileged": true, - "seLinuxOptions": { - "user": "userValue", - "role": "roleValue", - "type": "typeValue", - "level": "levelValue" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", - "gmsaCredentialSpec": "gmsaCredentialSpecValue", - "runAsUserName": "runAsUserNameValue", - "hostProcess": true - }, - "runAsUser": 4, - "runAsGroup": 8, - "runAsNonRoot": true, - "readOnlyRootFilesystem": true, - "allowPrivilegeEscalation": true, - "procMount": "procMountValue", - "seccompProfile": { - "type": "typeValue", - "localhostProfile": "localhostProfileValue" - } - }, - "stdin": true, - "stdinOnce": true, - "tty": true - } - ], - "containers": [ - { - "name": "nameValue", - "image": "imageValue", - "command": [ - "commandValue" - ], - "args": [ - "argsValue" - ], - "workingDir": "workingDirValue", - "ports": [ - { - "name": "nameValue", - "hostPort": 2, - "containerPort": 3, - "protocol": "protocolValue", - "hostIP": "hostIPValue" - } - ], - "envFrom": [ - { - "prefix": "prefixValue", - "configMapRef": { - "name": "nameValue", - "optional": true - }, - "secretRef": { - "name": "nameValue", - "optional": true - } - } - ], - "env": [ - { - "name": "nameValue", - "value": "valueValue", - "valueFrom": { - "fieldRef": { - "apiVersion": "apiVersionValue", - "fieldPath": "fieldPathValue" - }, - "resourceFieldRef": { - "containerName": "containerNameValue", - "resource": "resourceValue", - "divisor": "0" - }, - "configMapKeyRef": { - "name": "nameValue", - "key": "keyValue", - "optional": true - }, - "secretKeyRef": { - "name": "nameValue", - "key": "keyValue", - "optional": true - } - } - } - ], - "resources": { - "limits": { - "limitsKey": "0" - }, - "requests": { - "requestsKey": "0" - }, - "claims": [ - { - "name": "nameValue" - } - ] - }, - "resizePolicy": [ - { - "resourceName": "resourceNameValue", - "policy": "policyValue" - } - ], - "volumeMounts": [ - { - "name": "nameValue", - "readOnly": true, - "mountPath": "mountPathValue", - "subPath": "subPathValue", - "mountPropagation": "mountPropagationValue", - "subPathExpr": "subPathExprValue" - } - ], - "volumeDevices": [ - { - "name": "nameValue", - "devicePath": "devicePathValue" - } - ], - "livenessProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "readinessProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "startupProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "lifecycle": { - "postStart": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - } - }, - "preStop": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - } - } - }, - "terminationMessagePath": "terminationMessagePathValue", - "terminationMessagePolicy": "terminationMessagePolicyValue", - "imagePullPolicy": "imagePullPolicyValue", - "securityContext": { - "capabilities": { - "add": [ - "addValue" - ], - "drop": [ - "dropValue" - ] - }, - "privileged": true, - "seLinuxOptions": { - "user": "userValue", - "role": "roleValue", - "type": "typeValue", - "level": "levelValue" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", - "gmsaCredentialSpec": "gmsaCredentialSpecValue", - "runAsUserName": "runAsUserNameValue", - "hostProcess": true - }, - "runAsUser": 4, - "runAsGroup": 8, - "runAsNonRoot": true, - "readOnlyRootFilesystem": true, - "allowPrivilegeEscalation": true, - "procMount": "procMountValue", - "seccompProfile": { - "type": "typeValue", - "localhostProfile": "localhostProfileValue" - } - }, - "stdin": true, - "stdinOnce": true, - "tty": true - } - ], - "ephemeralContainers": [ - { - "name": "nameValue", - "image": "imageValue", - "command": [ - "commandValue" - ], - "args": [ - "argsValue" - ], - "workingDir": "workingDirValue", - "ports": [ - { - "name": "nameValue", - "hostPort": 2, - "containerPort": 3, - "protocol": "protocolValue", - "hostIP": "hostIPValue" - } - ], - "envFrom": [ - { - "prefix": "prefixValue", - "configMapRef": { - "name": "nameValue", - "optional": true - }, - "secretRef": { - "name": "nameValue", - "optional": true - } - } - ], - "env": [ - { - "name": "nameValue", - "value": "valueValue", - "valueFrom": { - "fieldRef": { - "apiVersion": "apiVersionValue", - "fieldPath": "fieldPathValue" - }, - "resourceFieldRef": { - "containerName": "containerNameValue", - "resource": "resourceValue", - "divisor": "0" - }, - "configMapKeyRef": { - "name": "nameValue", - "key": "keyValue", - "optional": true - }, - "secretKeyRef": { - "name": "nameValue", - "key": "keyValue", - "optional": true - } - } - } - ], - "resources": { - "limits": { - "limitsKey": "0" - }, - "requests": { - "requestsKey": "0" - }, - "claims": [ - { - "name": "nameValue" - } - ] - }, - "resizePolicy": [ - { - "resourceName": "resourceNameValue", - "policy": "policyValue" - } - ], - "volumeMounts": [ - { - "name": "nameValue", - "readOnly": true, - "mountPath": "mountPathValue", - "subPath": "subPathValue", - "mountPropagation": "mountPropagationValue", - "subPathExpr": "subPathExprValue" - } - ], - "volumeDevices": [ - { - "name": "nameValue", - "devicePath": "devicePathValue" - } - ], - "livenessProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "readinessProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "startupProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "lifecycle": { - "postStart": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - } - }, - "preStop": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - } - } - }, - "terminationMessagePath": "terminationMessagePathValue", - "terminationMessagePolicy": "terminationMessagePolicyValue", - "imagePullPolicy": "imagePullPolicyValue", - "securityContext": { - "capabilities": { - "add": [ - "addValue" - ], - "drop": [ - "dropValue" - ] - }, - "privileged": true, - "seLinuxOptions": { - "user": "userValue", - "role": "roleValue", - "type": "typeValue", - "level": "levelValue" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", - "gmsaCredentialSpec": "gmsaCredentialSpecValue", - "runAsUserName": "runAsUserNameValue", - "hostProcess": true - }, - "runAsUser": 4, - "runAsGroup": 8, - "runAsNonRoot": true, - "readOnlyRootFilesystem": true, - "allowPrivilegeEscalation": true, - "procMount": "procMountValue", - "seccompProfile": { - "type": "typeValue", - "localhostProfile": "localhostProfileValue" - } - }, - "stdin": true, - "stdinOnce": true, - "tty": true, - "targetContainerName": "targetContainerNameValue" - } - ], - "restartPolicy": "restartPolicyValue", - "terminationGracePeriodSeconds": 4, - "activeDeadlineSeconds": 5, - "dnsPolicy": "dnsPolicyValue", - "nodeSelector": { - "nodeSelectorKey": "nodeSelectorValue" - }, - "serviceAccountName": "serviceAccountNameValue", - "serviceAccount": "serviceAccountValue", - "automountServiceAccountToken": true, - "nodeName": "nodeNameValue", - "hostNetwork": true, - "hostPID": true, - "hostIPC": true, - "shareProcessNamespace": true, - "securityContext": { - "seLinuxOptions": { - "user": "userValue", - "role": "roleValue", - "type": "typeValue", - "level": "levelValue" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", - "gmsaCredentialSpec": "gmsaCredentialSpecValue", - "runAsUserName": "runAsUserNameValue", - "hostProcess": true - }, - "runAsUser": 2, - "runAsGroup": 6, - "runAsNonRoot": true, - "supplementalGroups": [ - 4 - ], - "fsGroup": 5, - "sysctls": [ - { - "name": "nameValue", - "value": "valueValue" - } - ], - "fsGroupChangePolicy": "fsGroupChangePolicyValue", - "seccompProfile": { - "type": "typeValue", - "localhostProfile": "localhostProfileValue" - } - }, - "imagePullSecrets": [ - { - "name": "nameValue" - } - ], - "hostname": "hostnameValue", - "subdomain": "subdomainValue", - "affinity": { - "nodeAffinity": { - "requiredDuringSchedulingIgnoredDuringExecution": { - "nodeSelectorTerms": [ - { - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ], - "matchFields": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - } - ] - }, - "preferredDuringSchedulingIgnoredDuringExecution": [ - { - "weight": 1, - "preference": { - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ], - "matchFields": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - } - } - ] - }, - "podAffinity": { - "requiredDuringSchedulingIgnoredDuringExecution": [ - { - "labelSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "namespaces": [ - "namespacesValue" - ], - "topologyKey": "topologyKeyValue", - "namespaceSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - } - } - ], - "preferredDuringSchedulingIgnoredDuringExecution": [ - { - "weight": 1, - "podAffinityTerm": { - "labelSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "namespaces": [ - "namespacesValue" - ], - "topologyKey": "topologyKeyValue", - "namespaceSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - } - } - } - ] - }, - "podAntiAffinity": { - "requiredDuringSchedulingIgnoredDuringExecution": [ - { - "labelSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "namespaces": [ - "namespacesValue" - ], - "topologyKey": "topologyKeyValue", - "namespaceSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - } - } - ], - "preferredDuringSchedulingIgnoredDuringExecution": [ - { - "weight": 1, - "podAffinityTerm": { - "labelSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "namespaces": [ - "namespacesValue" - ], - "topologyKey": "topologyKeyValue", - "namespaceSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - } - } - } - ] - } - }, - "schedulerName": "schedulerNameValue", - "tolerations": [ - { - "key": "keyValue", - "operator": "operatorValue", - "value": "valueValue", - "effect": "effectValue", - "tolerationSeconds": 5 - } - ], - "hostAliases": [ - { - "ip": "ipValue", - "hostnames": [ - "hostnamesValue" - ] - } - ], - "priorityClassName": "priorityClassNameValue", - "priority": 25, - "dnsConfig": { - "nameservers": [ - "nameserversValue" - ], - "searches": [ - "searchesValue" - ], - "options": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "readinessGates": [ - { - "conditionType": "conditionTypeValue" - } - ], - "runtimeClassName": "runtimeClassNameValue", - "enableServiceLinks": true, - "preemptionPolicy": "preemptionPolicyValue", - "overhead": { - "overheadKey": "0" - }, - "topologySpreadConstraints": [ - { - "maxSkew": 1, - "topologyKey": "topologyKeyValue", - "whenUnsatisfiable": "whenUnsatisfiableValue", - "labelSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "minDomains": 5, - "nodeAffinityPolicy": "nodeAffinityPolicyValue", - "nodeTaintsPolicy": "nodeTaintsPolicyValue", - "matchLabelKeys": [ - "matchLabelKeysValue" - ] - } - ], - "setHostnameAsFQDN": true, - "os": { - "name": "nameValue" - }, - "hostUsers": true, - "schedulingGates": [ - { - "name": "nameValue" - } - ], - "resourceClaims": [ - { - "name": "nameValue", - "source": { - "resourceClaimName": "resourceClaimNameValue", - "resourceClaimTemplateName": "resourceClaimTemplateNameValue" - } - } - ] - } - }, - "ttlSecondsAfterFinished": 8, - "completionMode": "completionModeValue", - "suspend": true - } - } -} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/HEAD/batch.v1beta1.JobTemplate.pb b/staging/src/k8s.io/api/testdata/HEAD/batch.v1beta1.JobTemplate.pb deleted file mode 100644 index 451bd229f68..00000000000 Binary files a/staging/src/k8s.io/api/testdata/HEAD/batch.v1beta1.JobTemplate.pb and /dev/null differ diff --git a/staging/src/k8s.io/api/testdata/HEAD/batch.v1beta1.JobTemplate.yaml b/staging/src/k8s.io/api/testdata/HEAD/batch.v1beta1.JobTemplate.yaml deleted file mode 100644 index 0a710f525fd..00000000000 --- a/staging/src/k8s.io/api/testdata/HEAD/batch.v1beta1.JobTemplate.yaml +++ /dev/null @@ -1,1202 +0,0 @@ -apiVersion: batch/v1beta1 -kind: JobTemplate -metadata: - annotations: - annotationsKey: annotationsValue - creationTimestamp: "2008-01-01T01:01:01Z" - deletionGracePeriodSeconds: 10 - deletionTimestamp: "2009-01-01T01:01:01Z" - finalizers: - - finalizersValue - generateName: generateNameValue - generation: 7 - labels: - labelsKey: labelsValue - managedFields: - - apiVersion: apiVersionValue - fieldsType: fieldsTypeValue - fieldsV1: {} - manager: managerValue - operation: operationValue - subresource: subresourceValue - time: "2004-01-01T01:01:01Z" - name: nameValue - namespace: namespaceValue - ownerReferences: - - apiVersion: apiVersionValue - blockOwnerDeletion: true - controller: true - kind: kindValue - name: nameValue - uid: uidValue - resourceVersion: resourceVersionValue - selfLink: selfLinkValue - uid: uidValue -template: - metadata: - annotations: - annotationsKey: annotationsValue - creationTimestamp: "2008-01-01T01:01:01Z" - deletionGracePeriodSeconds: 10 - deletionTimestamp: "2009-01-01T01:01:01Z" - finalizers: - - finalizersValue - generateName: generateNameValue - generation: 7 - labels: - labelsKey: labelsValue - managedFields: - - apiVersion: apiVersionValue - fieldsType: fieldsTypeValue - fieldsV1: {} - manager: managerValue - operation: operationValue - subresource: subresourceValue - time: "2004-01-01T01:01:01Z" - name: nameValue - namespace: namespaceValue - ownerReferences: - - apiVersion: apiVersionValue - blockOwnerDeletion: true - controller: true - kind: kindValue - name: nameValue - uid: uidValue - resourceVersion: resourceVersionValue - selfLink: selfLinkValue - uid: uidValue - spec: - activeDeadlineSeconds: 3 - backoffLimit: 7 - completionMode: completionModeValue - completions: 2 - manualSelector: true - parallelism: 1 - podFailurePolicy: - rules: - - action: actionValue - onExitCodes: - containerName: containerNameValue - operator: operatorValue - values: - - 3 - onPodConditions: - - status: statusValue - type: typeValue - selector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - suspend: true - template: - metadata: - annotations: - annotationsKey: annotationsValue - creationTimestamp: "2008-01-01T01:01:01Z" - deletionGracePeriodSeconds: 10 - deletionTimestamp: "2009-01-01T01:01:01Z" - finalizers: - - finalizersValue - generateName: generateNameValue - generation: 7 - labels: - labelsKey: labelsValue - managedFields: - - apiVersion: apiVersionValue - fieldsType: fieldsTypeValue - fieldsV1: {} - manager: managerValue - operation: operationValue - subresource: subresourceValue - time: "2004-01-01T01:01:01Z" - name: nameValue - namespace: namespaceValue - ownerReferences: - - apiVersion: apiVersionValue - blockOwnerDeletion: true - controller: true - kind: kindValue - name: nameValue - uid: uidValue - resourceVersion: resourceVersionValue - selfLink: selfLinkValue - uid: uidValue - spec: - activeDeadlineSeconds: 5 - affinity: - nodeAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - preference: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchFields: - - key: keyValue - operator: operatorValue - values: - - valuesValue - weight: 1 - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchFields: - - key: keyValue - operator: operatorValue - values: - - valuesValue - podAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - podAffinityTerm: - labelSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaceSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaces: - - namespacesValue - topologyKey: topologyKeyValue - weight: 1 - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaceSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaces: - - namespacesValue - topologyKey: topologyKeyValue - podAntiAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - podAffinityTerm: - labelSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaceSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaces: - - namespacesValue - topologyKey: topologyKeyValue - weight: 1 - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaceSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaces: - - namespacesValue - topologyKey: topologyKeyValue - automountServiceAccountToken: true - containers: - - args: - - argsValue - command: - - commandValue - env: - - name: nameValue - value: valueValue - valueFrom: - configMapKeyRef: - key: keyValue - name: nameValue - optional: true - fieldRef: - apiVersion: apiVersionValue - fieldPath: fieldPathValue - resourceFieldRef: - containerName: containerNameValue - divisor: "0" - resource: resourceValue - secretKeyRef: - key: keyValue - name: nameValue - optional: true - envFrom: - - configMapRef: - name: nameValue - optional: true - prefix: prefixValue - secretRef: - name: nameValue - optional: true - image: imageValue - imagePullPolicy: imagePullPolicyValue - lifecycle: - postStart: - exec: - command: - - commandValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - tcpSocket: - host: hostValue - port: portValue - preStop: - exec: - command: - - commandValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - tcpSocket: - host: hostValue - port: portValue - livenessProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - name: nameValue - ports: - - containerPort: 3 - hostIP: hostIPValue - hostPort: 2 - name: nameValue - protocol: protocolValue - readinessProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - resizePolicy: - - policy: policyValue - resourceName: resourceNameValue - resources: - claims: - - name: nameValue - limits: - limitsKey: "0" - requests: - requestsKey: "0" - securityContext: - allowPrivilegeEscalation: true - capabilities: - add: - - addValue - drop: - - dropValue - privileged: true - procMount: procMountValue - readOnlyRootFilesystem: true - runAsGroup: 8 - runAsNonRoot: true - runAsUser: 4 - seLinuxOptions: - level: levelValue - role: roleValue - type: typeValue - user: userValue - seccompProfile: - localhostProfile: localhostProfileValue - type: typeValue - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpecValue - gmsaCredentialSpecName: gmsaCredentialSpecNameValue - hostProcess: true - runAsUserName: runAsUserNameValue - startupProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - stdin: true - stdinOnce: true - terminationMessagePath: terminationMessagePathValue - terminationMessagePolicy: terminationMessagePolicyValue - tty: true - volumeDevices: - - devicePath: devicePathValue - name: nameValue - volumeMounts: - - mountPath: mountPathValue - mountPropagation: mountPropagationValue - name: nameValue - readOnly: true - subPath: subPathValue - subPathExpr: subPathExprValue - workingDir: workingDirValue - dnsConfig: - nameservers: - - nameserversValue - options: - - name: nameValue - value: valueValue - searches: - - searchesValue - dnsPolicy: dnsPolicyValue - enableServiceLinks: true - ephemeralContainers: - - args: - - argsValue - command: - - commandValue - env: - - name: nameValue - value: valueValue - valueFrom: - configMapKeyRef: - key: keyValue - name: nameValue - optional: true - fieldRef: - apiVersion: apiVersionValue - fieldPath: fieldPathValue - resourceFieldRef: - containerName: containerNameValue - divisor: "0" - resource: resourceValue - secretKeyRef: - key: keyValue - name: nameValue - optional: true - envFrom: - - configMapRef: - name: nameValue - optional: true - prefix: prefixValue - secretRef: - name: nameValue - optional: true - image: imageValue - imagePullPolicy: imagePullPolicyValue - lifecycle: - postStart: - exec: - command: - - commandValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - tcpSocket: - host: hostValue - port: portValue - preStop: - exec: - command: - - commandValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - tcpSocket: - host: hostValue - port: portValue - livenessProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - name: nameValue - ports: - - containerPort: 3 - hostIP: hostIPValue - hostPort: 2 - name: nameValue - protocol: protocolValue - readinessProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - resizePolicy: - - policy: policyValue - resourceName: resourceNameValue - resources: - claims: - - name: nameValue - limits: - limitsKey: "0" - requests: - requestsKey: "0" - securityContext: - allowPrivilegeEscalation: true - capabilities: - add: - - addValue - drop: - - dropValue - privileged: true - procMount: procMountValue - readOnlyRootFilesystem: true - runAsGroup: 8 - runAsNonRoot: true - runAsUser: 4 - seLinuxOptions: - level: levelValue - role: roleValue - type: typeValue - user: userValue - seccompProfile: - localhostProfile: localhostProfileValue - type: typeValue - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpecValue - gmsaCredentialSpecName: gmsaCredentialSpecNameValue - hostProcess: true - runAsUserName: runAsUserNameValue - startupProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - stdin: true - stdinOnce: true - targetContainerName: targetContainerNameValue - terminationMessagePath: terminationMessagePathValue - terminationMessagePolicy: terminationMessagePolicyValue - tty: true - volumeDevices: - - devicePath: devicePathValue - name: nameValue - volumeMounts: - - mountPath: mountPathValue - mountPropagation: mountPropagationValue - name: nameValue - readOnly: true - subPath: subPathValue - subPathExpr: subPathExprValue - workingDir: workingDirValue - hostAliases: - - hostnames: - - hostnamesValue - ip: ipValue - hostIPC: true - hostNetwork: true - hostPID: true - hostUsers: true - hostname: hostnameValue - imagePullSecrets: - - name: nameValue - initContainers: - - args: - - argsValue - command: - - commandValue - env: - - name: nameValue - value: valueValue - valueFrom: - configMapKeyRef: - key: keyValue - name: nameValue - optional: true - fieldRef: - apiVersion: apiVersionValue - fieldPath: fieldPathValue - resourceFieldRef: - containerName: containerNameValue - divisor: "0" - resource: resourceValue - secretKeyRef: - key: keyValue - name: nameValue - optional: true - envFrom: - - configMapRef: - name: nameValue - optional: true - prefix: prefixValue - secretRef: - name: nameValue - optional: true - image: imageValue - imagePullPolicy: imagePullPolicyValue - lifecycle: - postStart: - exec: - command: - - commandValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - tcpSocket: - host: hostValue - port: portValue - preStop: - exec: - command: - - commandValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - tcpSocket: - host: hostValue - port: portValue - livenessProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - name: nameValue - ports: - - containerPort: 3 - hostIP: hostIPValue - hostPort: 2 - name: nameValue - protocol: protocolValue - readinessProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - resizePolicy: - - policy: policyValue - resourceName: resourceNameValue - resources: - claims: - - name: nameValue - limits: - limitsKey: "0" - requests: - requestsKey: "0" - securityContext: - allowPrivilegeEscalation: true - capabilities: - add: - - addValue - drop: - - dropValue - privileged: true - procMount: procMountValue - readOnlyRootFilesystem: true - runAsGroup: 8 - runAsNonRoot: true - runAsUser: 4 - seLinuxOptions: - level: levelValue - role: roleValue - type: typeValue - user: userValue - seccompProfile: - localhostProfile: localhostProfileValue - type: typeValue - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpecValue - gmsaCredentialSpecName: gmsaCredentialSpecNameValue - hostProcess: true - runAsUserName: runAsUserNameValue - startupProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - stdin: true - stdinOnce: true - terminationMessagePath: terminationMessagePathValue - terminationMessagePolicy: terminationMessagePolicyValue - tty: true - volumeDevices: - - devicePath: devicePathValue - name: nameValue - volumeMounts: - - mountPath: mountPathValue - mountPropagation: mountPropagationValue - name: nameValue - readOnly: true - subPath: subPathValue - subPathExpr: subPathExprValue - workingDir: workingDirValue - nodeName: nodeNameValue - nodeSelector: - nodeSelectorKey: nodeSelectorValue - os: - name: nameValue - overhead: - overheadKey: "0" - preemptionPolicy: preemptionPolicyValue - priority: 25 - priorityClassName: priorityClassNameValue - readinessGates: - - conditionType: conditionTypeValue - resourceClaims: - - name: nameValue - source: - resourceClaimName: resourceClaimNameValue - resourceClaimTemplateName: resourceClaimTemplateNameValue - restartPolicy: restartPolicyValue - runtimeClassName: runtimeClassNameValue - schedulerName: schedulerNameValue - schedulingGates: - - name: nameValue - securityContext: - fsGroup: 5 - fsGroupChangePolicy: fsGroupChangePolicyValue - runAsGroup: 6 - runAsNonRoot: true - runAsUser: 2 - seLinuxOptions: - level: levelValue - role: roleValue - type: typeValue - user: userValue - seccompProfile: - localhostProfile: localhostProfileValue - type: typeValue - supplementalGroups: - - 4 - sysctls: - - name: nameValue - value: valueValue - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpecValue - gmsaCredentialSpecName: gmsaCredentialSpecNameValue - hostProcess: true - runAsUserName: runAsUserNameValue - serviceAccount: serviceAccountValue - serviceAccountName: serviceAccountNameValue - setHostnameAsFQDN: true - shareProcessNamespace: true - subdomain: subdomainValue - terminationGracePeriodSeconds: 4 - tolerations: - - effect: effectValue - key: keyValue - operator: operatorValue - tolerationSeconds: 5 - value: valueValue - topologySpreadConstraints: - - labelSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - matchLabelKeys: - - matchLabelKeysValue - maxSkew: 1 - minDomains: 5 - nodeAffinityPolicy: nodeAffinityPolicyValue - nodeTaintsPolicy: nodeTaintsPolicyValue - topologyKey: topologyKeyValue - whenUnsatisfiable: whenUnsatisfiableValue - volumes: - - awsElasticBlockStore: - fsType: fsTypeValue - partition: 3 - readOnly: true - volumeID: volumeIDValue - azureDisk: - cachingMode: cachingModeValue - diskName: diskNameValue - diskURI: diskURIValue - fsType: fsTypeValue - kind: kindValue - readOnly: true - azureFile: - readOnly: true - secretName: secretNameValue - shareName: shareNameValue - cephfs: - monitors: - - monitorsValue - path: pathValue - readOnly: true - secretFile: secretFileValue - secretRef: - name: nameValue - user: userValue - cinder: - fsType: fsTypeValue - readOnly: true - secretRef: - name: nameValue - volumeID: volumeIDValue - configMap: - defaultMode: 3 - items: - - key: keyValue - mode: 3 - path: pathValue - name: nameValue - optional: true - csi: - driver: driverValue - fsType: fsTypeValue - nodePublishSecretRef: - name: nameValue - readOnly: true - volumeAttributes: - volumeAttributesKey: volumeAttributesValue - downwardAPI: - defaultMode: 2 - items: - - fieldRef: - apiVersion: apiVersionValue - fieldPath: fieldPathValue - mode: 4 - path: pathValue - resourceFieldRef: - containerName: containerNameValue - divisor: "0" - resource: resourceValue - emptyDir: - medium: mediumValue - sizeLimit: "0" - ephemeral: - volumeClaimTemplate: - metadata: - annotations: - annotationsKey: annotationsValue - creationTimestamp: "2008-01-01T01:01:01Z" - deletionGracePeriodSeconds: 10 - deletionTimestamp: "2009-01-01T01:01:01Z" - finalizers: - - finalizersValue - generateName: generateNameValue - generation: 7 - labels: - labelsKey: labelsValue - managedFields: - - apiVersion: apiVersionValue - fieldsType: fieldsTypeValue - fieldsV1: {} - manager: managerValue - operation: operationValue - subresource: subresourceValue - time: "2004-01-01T01:01:01Z" - name: nameValue - namespace: namespaceValue - ownerReferences: - - apiVersion: apiVersionValue - blockOwnerDeletion: true - controller: true - kind: kindValue - name: nameValue - uid: uidValue - resourceVersion: resourceVersionValue - selfLink: selfLinkValue - uid: uidValue - spec: - accessModes: - - accessModesValue - dataSource: - apiGroup: apiGroupValue - kind: kindValue - name: nameValue - dataSourceRef: - apiGroup: apiGroupValue - kind: kindValue - name: nameValue - namespace: namespaceValue - resources: - claims: - - name: nameValue - limits: - limitsKey: "0" - requests: - requestsKey: "0" - selector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - storageClassName: storageClassNameValue - volumeMode: volumeModeValue - volumeName: volumeNameValue - fc: - fsType: fsTypeValue - lun: 2 - readOnly: true - targetWWNs: - - targetWWNsValue - wwids: - - wwidsValue - flexVolume: - driver: driverValue - fsType: fsTypeValue - options: - optionsKey: optionsValue - readOnly: true - secretRef: - name: nameValue - flocker: - datasetName: datasetNameValue - datasetUUID: datasetUUIDValue - gcePersistentDisk: - fsType: fsTypeValue - partition: 3 - pdName: pdNameValue - readOnly: true - gitRepo: - directory: directoryValue - repository: repositoryValue - revision: revisionValue - glusterfs: - endpoints: endpointsValue - path: pathValue - readOnly: true - hostPath: - path: pathValue - type: typeValue - iscsi: - chapAuthDiscovery: true - chapAuthSession: true - fsType: fsTypeValue - initiatorName: initiatorNameValue - iqn: iqnValue - iscsiInterface: iscsiInterfaceValue - lun: 3 - portals: - - portalsValue - readOnly: true - secretRef: - name: nameValue - targetPortal: targetPortalValue - name: nameValue - nfs: - path: pathValue - readOnly: true - server: serverValue - persistentVolumeClaim: - claimName: claimNameValue - readOnly: true - photonPersistentDisk: - fsType: fsTypeValue - pdID: pdIDValue - portworxVolume: - fsType: fsTypeValue - readOnly: true - volumeID: volumeIDValue - projected: - defaultMode: 2 - sources: - - configMap: - items: - - key: keyValue - mode: 3 - path: pathValue - name: nameValue - optional: true - downwardAPI: - items: - - fieldRef: - apiVersion: apiVersionValue - fieldPath: fieldPathValue - mode: 4 - path: pathValue - resourceFieldRef: - containerName: containerNameValue - divisor: "0" - resource: resourceValue - secret: - items: - - key: keyValue - mode: 3 - path: pathValue - name: nameValue - optional: true - serviceAccountToken: - audience: audienceValue - expirationSeconds: 2 - path: pathValue - quobyte: - group: groupValue - readOnly: true - registry: registryValue - tenant: tenantValue - user: userValue - volume: volumeValue - rbd: - fsType: fsTypeValue - image: imageValue - keyring: keyringValue - monitors: - - monitorsValue - pool: poolValue - readOnly: true - secretRef: - name: nameValue - user: userValue - scaleIO: - fsType: fsTypeValue - gateway: gatewayValue - protectionDomain: protectionDomainValue - readOnly: true - secretRef: - name: nameValue - sslEnabled: true - storageMode: storageModeValue - storagePool: storagePoolValue - system: systemValue - volumeName: volumeNameValue - secret: - defaultMode: 3 - items: - - key: keyValue - mode: 3 - path: pathValue - optional: true - secretName: secretNameValue - storageos: - fsType: fsTypeValue - readOnly: true - secretRef: - name: nameValue - volumeName: volumeNameValue - volumeNamespace: volumeNamespaceValue - vsphereVolume: - fsType: fsTypeValue - storagePolicyID: storagePolicyIDValue - storagePolicyName: storagePolicyNameValue - volumePath: volumePathValue - ttlSecondsAfterFinished: 8 diff --git a/staging/src/k8s.io/api/testdata/v1.25.0/batch.v1beta1.JobTemplate.json b/staging/src/k8s.io/api/testdata/v1.25.0/batch.v1beta1.JobTemplate.json deleted file mode 100644 index 804679ceeb6..00000000000 --- a/staging/src/k8s.io/api/testdata/v1.25.0/batch.v1beta1.JobTemplate.json +++ /dev/null @@ -1,1705 +0,0 @@ -{ - "kind": "JobTemplate", - "apiVersion": "batch/v1beta1", - "metadata": { - "name": "nameValue", - "generateName": "generateNameValue", - "namespace": "namespaceValue", - "selfLink": "selfLinkValue", - "uid": "uidValue", - "resourceVersion": "resourceVersionValue", - "generation": 7, - "creationTimestamp": "2008-01-01T01:01:01Z", - "deletionTimestamp": "2009-01-01T01:01:01Z", - "deletionGracePeriodSeconds": 10, - "labels": { - "labelsKey": "labelsValue" - }, - "annotations": { - "annotationsKey": "annotationsValue" - }, - "ownerReferences": [ - { - "apiVersion": "apiVersionValue", - "kind": "kindValue", - "name": "nameValue", - "uid": "uidValue", - "controller": true, - "blockOwnerDeletion": true - } - ], - "finalizers": [ - "finalizersValue" - ], - "managedFields": [ - { - "manager": "managerValue", - "operation": "operationValue", - "apiVersion": "apiVersionValue", - "time": "2004-01-01T01:01:01Z", - "fieldsType": "fieldsTypeValue", - "fieldsV1": {}, - "subresource": "subresourceValue" - } - ] - }, - "template": { - "metadata": { - "name": "nameValue", - "generateName": "generateNameValue", - "namespace": "namespaceValue", - "selfLink": "selfLinkValue", - "uid": "uidValue", - "resourceVersion": "resourceVersionValue", - "generation": 7, - "creationTimestamp": "2008-01-01T01:01:01Z", - "deletionTimestamp": "2009-01-01T01:01:01Z", - "deletionGracePeriodSeconds": 10, - "labels": { - "labelsKey": "labelsValue" - }, - "annotations": { - "annotationsKey": "annotationsValue" - }, - "ownerReferences": [ - { - "apiVersion": "apiVersionValue", - "kind": "kindValue", - "name": "nameValue", - "uid": "uidValue", - "controller": true, - "blockOwnerDeletion": true - } - ], - "finalizers": [ - "finalizersValue" - ], - "managedFields": [ - { - "manager": "managerValue", - "operation": "operationValue", - "apiVersion": "apiVersionValue", - "time": "2004-01-01T01:01:01Z", - "fieldsType": "fieldsTypeValue", - "fieldsV1": {}, - "subresource": "subresourceValue" - } - ] - }, - "spec": { - "parallelism": 1, - "completions": 2, - "activeDeadlineSeconds": 3, - "podFailurePolicy": { - "rules": [ - { - "action": "actionValue", - "onExitCodes": { - "containerName": "containerNameValue", - "operator": "operatorValue", - "values": [ - 3 - ] - }, - "onPodConditions": [ - { - "type": "typeValue", - "status": "statusValue" - } - ] - } - ] - }, - "backoffLimit": 7, - "selector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "manualSelector": true, - "template": { - "metadata": { - "name": "nameValue", - "generateName": "generateNameValue", - "namespace": "namespaceValue", - "selfLink": "selfLinkValue", - "uid": "uidValue", - "resourceVersion": "resourceVersionValue", - "generation": 7, - "creationTimestamp": "2008-01-01T01:01:01Z", - "deletionTimestamp": "2009-01-01T01:01:01Z", - "deletionGracePeriodSeconds": 10, - "labels": { - "labelsKey": "labelsValue" - }, - "annotations": { - "annotationsKey": "annotationsValue" - }, - "ownerReferences": [ - { - "apiVersion": "apiVersionValue", - "kind": "kindValue", - "name": "nameValue", - "uid": "uidValue", - "controller": true, - "blockOwnerDeletion": true - } - ], - "finalizers": [ - "finalizersValue" - ], - "managedFields": [ - { - "manager": "managerValue", - "operation": "operationValue", - "apiVersion": "apiVersionValue", - "time": "2004-01-01T01:01:01Z", - "fieldsType": "fieldsTypeValue", - "fieldsV1": {}, - "subresource": "subresourceValue" - } - ] - }, - "spec": { - "volumes": [ - { - "name": "nameValue", - "hostPath": { - "path": "pathValue", - "type": "typeValue" - }, - "emptyDir": { - "medium": "mediumValue", - "sizeLimit": "0" - }, - "gcePersistentDisk": { - "pdName": "pdNameValue", - "fsType": "fsTypeValue", - "partition": 3, - "readOnly": true - }, - "awsElasticBlockStore": { - "volumeID": "volumeIDValue", - "fsType": "fsTypeValue", - "partition": 3, - "readOnly": true - }, - "gitRepo": { - "repository": "repositoryValue", - "revision": "revisionValue", - "directory": "directoryValue" - }, - "secret": { - "secretName": "secretNameValue", - "items": [ - { - "key": "keyValue", - "path": "pathValue", - "mode": 3 - } - ], - "defaultMode": 3, - "optional": true - }, - "nfs": { - "server": "serverValue", - "path": "pathValue", - "readOnly": true - }, - "iscsi": { - "targetPortal": "targetPortalValue", - "iqn": "iqnValue", - "lun": 3, - "iscsiInterface": "iscsiInterfaceValue", - "fsType": "fsTypeValue", - "readOnly": true, - "portals": [ - "portalsValue" - ], - "chapAuthDiscovery": true, - "chapAuthSession": true, - "secretRef": { - "name": "nameValue" - }, - "initiatorName": "initiatorNameValue" - }, - "glusterfs": { - "endpoints": "endpointsValue", - "path": "pathValue", - "readOnly": true - }, - "persistentVolumeClaim": { - "claimName": "claimNameValue", - "readOnly": true - }, - "rbd": { - "monitors": [ - "monitorsValue" - ], - "image": "imageValue", - "fsType": "fsTypeValue", - "pool": "poolValue", - "user": "userValue", - "keyring": "keyringValue", - "secretRef": { - "name": "nameValue" - }, - "readOnly": true - }, - "flexVolume": { - "driver": "driverValue", - "fsType": "fsTypeValue", - "secretRef": { - "name": "nameValue" - }, - "readOnly": true, - "options": { - "optionsKey": "optionsValue" - } - }, - "cinder": { - "volumeID": "volumeIDValue", - "fsType": "fsTypeValue", - "readOnly": true, - "secretRef": { - "name": "nameValue" - } - }, - "cephfs": { - "monitors": [ - "monitorsValue" - ], - "path": "pathValue", - "user": "userValue", - "secretFile": "secretFileValue", - "secretRef": { - "name": "nameValue" - }, - "readOnly": true - }, - "flocker": { - "datasetName": "datasetNameValue", - "datasetUUID": "datasetUUIDValue" - }, - "downwardAPI": { - "items": [ - { - "path": "pathValue", - "fieldRef": { - "apiVersion": "apiVersionValue", - "fieldPath": "fieldPathValue" - }, - "resourceFieldRef": { - "containerName": "containerNameValue", - "resource": "resourceValue", - "divisor": "0" - }, - "mode": 4 - } - ], - "defaultMode": 2 - }, - "fc": { - "targetWWNs": [ - "targetWWNsValue" - ], - "lun": 2, - "fsType": "fsTypeValue", - "readOnly": true, - "wwids": [ - "wwidsValue" - ] - }, - "azureFile": { - "secretName": "secretNameValue", - "shareName": "shareNameValue", - "readOnly": true - }, - "configMap": { - "name": "nameValue", - "items": [ - { - "key": "keyValue", - "path": "pathValue", - "mode": 3 - } - ], - "defaultMode": 3, - "optional": true - }, - "vsphereVolume": { - "volumePath": "volumePathValue", - "fsType": "fsTypeValue", - "storagePolicyName": "storagePolicyNameValue", - "storagePolicyID": "storagePolicyIDValue" - }, - "quobyte": { - "registry": "registryValue", - "volume": "volumeValue", - "readOnly": true, - "user": "userValue", - "group": "groupValue", - "tenant": "tenantValue" - }, - "azureDisk": { - "diskName": "diskNameValue", - "diskURI": "diskURIValue", - "cachingMode": "cachingModeValue", - "fsType": "fsTypeValue", - "readOnly": true, - "kind": "kindValue" - }, - "photonPersistentDisk": { - "pdID": "pdIDValue", - "fsType": "fsTypeValue" - }, - "projected": { - "sources": [ - { - "secret": { - "name": "nameValue", - "items": [ - { - "key": "keyValue", - "path": "pathValue", - "mode": 3 - } - ], - "optional": true - }, - "downwardAPI": { - "items": [ - { - "path": "pathValue", - "fieldRef": { - "apiVersion": "apiVersionValue", - "fieldPath": "fieldPathValue" - }, - "resourceFieldRef": { - "containerName": "containerNameValue", - "resource": "resourceValue", - "divisor": "0" - }, - "mode": 4 - } - ] - }, - "configMap": { - "name": "nameValue", - "items": [ - { - "key": "keyValue", - "path": "pathValue", - "mode": 3 - } - ], - "optional": true - }, - "serviceAccountToken": { - "audience": "audienceValue", - "expirationSeconds": 2, - "path": "pathValue" - } - } - ], - "defaultMode": 2 - }, - "portworxVolume": { - "volumeID": "volumeIDValue", - "fsType": "fsTypeValue", - "readOnly": true - }, - "scaleIO": { - "gateway": "gatewayValue", - "system": "systemValue", - "secretRef": { - "name": "nameValue" - }, - "sslEnabled": true, - "protectionDomain": "protectionDomainValue", - "storagePool": "storagePoolValue", - "storageMode": "storageModeValue", - "volumeName": "volumeNameValue", - "fsType": "fsTypeValue", - "readOnly": true - }, - "storageos": { - "volumeName": "volumeNameValue", - "volumeNamespace": "volumeNamespaceValue", - "fsType": "fsTypeValue", - "readOnly": true, - "secretRef": { - "name": "nameValue" - } - }, - "csi": { - "driver": "driverValue", - "readOnly": true, - "fsType": "fsTypeValue", - "volumeAttributes": { - "volumeAttributesKey": "volumeAttributesValue" - }, - "nodePublishSecretRef": { - "name": "nameValue" - } - }, - "ephemeral": { - "volumeClaimTemplate": { - "metadata": { - "name": "nameValue", - "generateName": "generateNameValue", - "namespace": "namespaceValue", - "selfLink": "selfLinkValue", - "uid": "uidValue", - "resourceVersion": "resourceVersionValue", - "generation": 7, - "creationTimestamp": "2008-01-01T01:01:01Z", - "deletionTimestamp": "2009-01-01T01:01:01Z", - "deletionGracePeriodSeconds": 10, - "labels": { - "labelsKey": "labelsValue" - }, - "annotations": { - "annotationsKey": "annotationsValue" - }, - "ownerReferences": [ - { - "apiVersion": "apiVersionValue", - "kind": "kindValue", - "name": "nameValue", - "uid": "uidValue", - "controller": true, - "blockOwnerDeletion": true - } - ], - "finalizers": [ - "finalizersValue" - ], - "managedFields": [ - { - "manager": "managerValue", - "operation": "operationValue", - "apiVersion": "apiVersionValue", - "time": "2004-01-01T01:01:01Z", - "fieldsType": "fieldsTypeValue", - "fieldsV1": {}, - "subresource": "subresourceValue" - } - ] - }, - "spec": { - "accessModes": [ - "accessModesValue" - ], - "selector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "resources": { - "limits": { - "limitsKey": "0" - }, - "requests": { - "requestsKey": "0" - } - }, - "volumeName": "volumeNameValue", - "storageClassName": "storageClassNameValue", - "volumeMode": "volumeModeValue", - "dataSource": { - "apiGroup": "apiGroupValue", - "kind": "kindValue", - "name": "nameValue" - }, - "dataSourceRef": { - "apiGroup": "apiGroupValue", - "kind": "kindValue", - "name": "nameValue" - } - } - } - } - } - ], - "initContainers": [ - { - "name": "nameValue", - "image": "imageValue", - "command": [ - "commandValue" - ], - "args": [ - "argsValue" - ], - "workingDir": "workingDirValue", - "ports": [ - { - "name": "nameValue", - "hostPort": 2, - "containerPort": 3, - "protocol": "protocolValue", - "hostIP": "hostIPValue" - } - ], - "envFrom": [ - { - "prefix": "prefixValue", - "configMapRef": { - "name": "nameValue", - "optional": true - }, - "secretRef": { - "name": "nameValue", - "optional": true - } - } - ], - "env": [ - { - "name": "nameValue", - "value": "valueValue", - "valueFrom": { - "fieldRef": { - "apiVersion": "apiVersionValue", - "fieldPath": "fieldPathValue" - }, - "resourceFieldRef": { - "containerName": "containerNameValue", - "resource": "resourceValue", - "divisor": "0" - }, - "configMapKeyRef": { - "name": "nameValue", - "key": "keyValue", - "optional": true - }, - "secretKeyRef": { - "name": "nameValue", - "key": "keyValue", - "optional": true - } - } - } - ], - "resources": { - "limits": { - "limitsKey": "0" - }, - "requests": { - "requestsKey": "0" - } - }, - "volumeMounts": [ - { - "name": "nameValue", - "readOnly": true, - "mountPath": "mountPathValue", - "subPath": "subPathValue", - "mountPropagation": "mountPropagationValue", - "subPathExpr": "subPathExprValue" - } - ], - "volumeDevices": [ - { - "name": "nameValue", - "devicePath": "devicePathValue" - } - ], - "livenessProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "readinessProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "startupProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "lifecycle": { - "postStart": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - } - }, - "preStop": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - } - } - }, - "terminationMessagePath": "terminationMessagePathValue", - "terminationMessagePolicy": "terminationMessagePolicyValue", - "imagePullPolicy": "imagePullPolicyValue", - "securityContext": { - "capabilities": { - "add": [ - "addValue" - ], - "drop": [ - "dropValue" - ] - }, - "privileged": true, - "seLinuxOptions": { - "user": "userValue", - "role": "roleValue", - "type": "typeValue", - "level": "levelValue" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", - "gmsaCredentialSpec": "gmsaCredentialSpecValue", - "runAsUserName": "runAsUserNameValue", - "hostProcess": true - }, - "runAsUser": 4, - "runAsGroup": 8, - "runAsNonRoot": true, - "readOnlyRootFilesystem": true, - "allowPrivilegeEscalation": true, - "procMount": "procMountValue", - "seccompProfile": { - "type": "typeValue", - "localhostProfile": "localhostProfileValue" - } - }, - "stdin": true, - "stdinOnce": true, - "tty": true - } - ], - "containers": [ - { - "name": "nameValue", - "image": "imageValue", - "command": [ - "commandValue" - ], - "args": [ - "argsValue" - ], - "workingDir": "workingDirValue", - "ports": [ - { - "name": "nameValue", - "hostPort": 2, - "containerPort": 3, - "protocol": "protocolValue", - "hostIP": "hostIPValue" - } - ], - "envFrom": [ - { - "prefix": "prefixValue", - "configMapRef": { - "name": "nameValue", - "optional": true - }, - "secretRef": { - "name": "nameValue", - "optional": true - } - } - ], - "env": [ - { - "name": "nameValue", - "value": "valueValue", - "valueFrom": { - "fieldRef": { - "apiVersion": "apiVersionValue", - "fieldPath": "fieldPathValue" - }, - "resourceFieldRef": { - "containerName": "containerNameValue", - "resource": "resourceValue", - "divisor": "0" - }, - "configMapKeyRef": { - "name": "nameValue", - "key": "keyValue", - "optional": true - }, - "secretKeyRef": { - "name": "nameValue", - "key": "keyValue", - "optional": true - } - } - } - ], - "resources": { - "limits": { - "limitsKey": "0" - }, - "requests": { - "requestsKey": "0" - } - }, - "volumeMounts": [ - { - "name": "nameValue", - "readOnly": true, - "mountPath": "mountPathValue", - "subPath": "subPathValue", - "mountPropagation": "mountPropagationValue", - "subPathExpr": "subPathExprValue" - } - ], - "volumeDevices": [ - { - "name": "nameValue", - "devicePath": "devicePathValue" - } - ], - "livenessProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "readinessProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "startupProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "lifecycle": { - "postStart": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - } - }, - "preStop": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - } - } - }, - "terminationMessagePath": "terminationMessagePathValue", - "terminationMessagePolicy": "terminationMessagePolicyValue", - "imagePullPolicy": "imagePullPolicyValue", - "securityContext": { - "capabilities": { - "add": [ - "addValue" - ], - "drop": [ - "dropValue" - ] - }, - "privileged": true, - "seLinuxOptions": { - "user": "userValue", - "role": "roleValue", - "type": "typeValue", - "level": "levelValue" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", - "gmsaCredentialSpec": "gmsaCredentialSpecValue", - "runAsUserName": "runAsUserNameValue", - "hostProcess": true - }, - "runAsUser": 4, - "runAsGroup": 8, - "runAsNonRoot": true, - "readOnlyRootFilesystem": true, - "allowPrivilegeEscalation": true, - "procMount": "procMountValue", - "seccompProfile": { - "type": "typeValue", - "localhostProfile": "localhostProfileValue" - } - }, - "stdin": true, - "stdinOnce": true, - "tty": true - } - ], - "ephemeralContainers": [ - { - "name": "nameValue", - "image": "imageValue", - "command": [ - "commandValue" - ], - "args": [ - "argsValue" - ], - "workingDir": "workingDirValue", - "ports": [ - { - "name": "nameValue", - "hostPort": 2, - "containerPort": 3, - "protocol": "protocolValue", - "hostIP": "hostIPValue" - } - ], - "envFrom": [ - { - "prefix": "prefixValue", - "configMapRef": { - "name": "nameValue", - "optional": true - }, - "secretRef": { - "name": "nameValue", - "optional": true - } - } - ], - "env": [ - { - "name": "nameValue", - "value": "valueValue", - "valueFrom": { - "fieldRef": { - "apiVersion": "apiVersionValue", - "fieldPath": "fieldPathValue" - }, - "resourceFieldRef": { - "containerName": "containerNameValue", - "resource": "resourceValue", - "divisor": "0" - }, - "configMapKeyRef": { - "name": "nameValue", - "key": "keyValue", - "optional": true - }, - "secretKeyRef": { - "name": "nameValue", - "key": "keyValue", - "optional": true - } - } - } - ], - "resources": { - "limits": { - "limitsKey": "0" - }, - "requests": { - "requestsKey": "0" - } - }, - "volumeMounts": [ - { - "name": "nameValue", - "readOnly": true, - "mountPath": "mountPathValue", - "subPath": "subPathValue", - "mountPropagation": "mountPropagationValue", - "subPathExpr": "subPathExprValue" - } - ], - "volumeDevices": [ - { - "name": "nameValue", - "devicePath": "devicePathValue" - } - ], - "livenessProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "readinessProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "startupProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "lifecycle": { - "postStart": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - } - }, - "preStop": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - } - } - }, - "terminationMessagePath": "terminationMessagePathValue", - "terminationMessagePolicy": "terminationMessagePolicyValue", - "imagePullPolicy": "imagePullPolicyValue", - "securityContext": { - "capabilities": { - "add": [ - "addValue" - ], - "drop": [ - "dropValue" - ] - }, - "privileged": true, - "seLinuxOptions": { - "user": "userValue", - "role": "roleValue", - "type": "typeValue", - "level": "levelValue" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", - "gmsaCredentialSpec": "gmsaCredentialSpecValue", - "runAsUserName": "runAsUserNameValue", - "hostProcess": true - }, - "runAsUser": 4, - "runAsGroup": 8, - "runAsNonRoot": true, - "readOnlyRootFilesystem": true, - "allowPrivilegeEscalation": true, - "procMount": "procMountValue", - "seccompProfile": { - "type": "typeValue", - "localhostProfile": "localhostProfileValue" - } - }, - "stdin": true, - "stdinOnce": true, - "tty": true, - "targetContainerName": "targetContainerNameValue" - } - ], - "restartPolicy": "restartPolicyValue", - "terminationGracePeriodSeconds": 4, - "activeDeadlineSeconds": 5, - "dnsPolicy": "dnsPolicyValue", - "nodeSelector": { - "nodeSelectorKey": "nodeSelectorValue" - }, - "serviceAccountName": "serviceAccountNameValue", - "serviceAccount": "serviceAccountValue", - "automountServiceAccountToken": true, - "nodeName": "nodeNameValue", - "hostNetwork": true, - "hostPID": true, - "hostIPC": true, - "shareProcessNamespace": true, - "securityContext": { - "seLinuxOptions": { - "user": "userValue", - "role": "roleValue", - "type": "typeValue", - "level": "levelValue" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", - "gmsaCredentialSpec": "gmsaCredentialSpecValue", - "runAsUserName": "runAsUserNameValue", - "hostProcess": true - }, - "runAsUser": 2, - "runAsGroup": 6, - "runAsNonRoot": true, - "supplementalGroups": [ - 4 - ], - "fsGroup": 5, - "sysctls": [ - { - "name": "nameValue", - "value": "valueValue" - } - ], - "fsGroupChangePolicy": "fsGroupChangePolicyValue", - "seccompProfile": { - "type": "typeValue", - "localhostProfile": "localhostProfileValue" - } - }, - "imagePullSecrets": [ - { - "name": "nameValue" - } - ], - "hostname": "hostnameValue", - "subdomain": "subdomainValue", - "affinity": { - "nodeAffinity": { - "requiredDuringSchedulingIgnoredDuringExecution": { - "nodeSelectorTerms": [ - { - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ], - "matchFields": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - } - ] - }, - "preferredDuringSchedulingIgnoredDuringExecution": [ - { - "weight": 1, - "preference": { - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ], - "matchFields": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - } - } - ] - }, - "podAffinity": { - "requiredDuringSchedulingIgnoredDuringExecution": [ - { - "labelSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "namespaces": [ - "namespacesValue" - ], - "topologyKey": "topologyKeyValue", - "namespaceSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - } - } - ], - "preferredDuringSchedulingIgnoredDuringExecution": [ - { - "weight": 1, - "podAffinityTerm": { - "labelSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "namespaces": [ - "namespacesValue" - ], - "topologyKey": "topologyKeyValue", - "namespaceSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - } - } - } - ] - }, - "podAntiAffinity": { - "requiredDuringSchedulingIgnoredDuringExecution": [ - { - "labelSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "namespaces": [ - "namespacesValue" - ], - "topologyKey": "topologyKeyValue", - "namespaceSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - } - } - ], - "preferredDuringSchedulingIgnoredDuringExecution": [ - { - "weight": 1, - "podAffinityTerm": { - "labelSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "namespaces": [ - "namespacesValue" - ], - "topologyKey": "topologyKeyValue", - "namespaceSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - } - } - } - ] - } - }, - "schedulerName": "schedulerNameValue", - "tolerations": [ - { - "key": "keyValue", - "operator": "operatorValue", - "value": "valueValue", - "effect": "effectValue", - "tolerationSeconds": 5 - } - ], - "hostAliases": [ - { - "ip": "ipValue", - "hostnames": [ - "hostnamesValue" - ] - } - ], - "priorityClassName": "priorityClassNameValue", - "priority": 25, - "dnsConfig": { - "nameservers": [ - "nameserversValue" - ], - "searches": [ - "searchesValue" - ], - "options": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "readinessGates": [ - { - "conditionType": "conditionTypeValue" - } - ], - "runtimeClassName": "runtimeClassNameValue", - "enableServiceLinks": true, - "preemptionPolicy": "preemptionPolicyValue", - "overhead": { - "overheadKey": "0" - }, - "topologySpreadConstraints": [ - { - "maxSkew": 1, - "topologyKey": "topologyKeyValue", - "whenUnsatisfiable": "whenUnsatisfiableValue", - "labelSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "minDomains": 5, - "nodeAffinityPolicy": "nodeAffinityPolicyValue", - "nodeTaintsPolicy": "nodeTaintsPolicyValue", - "matchLabelKeys": [ - "matchLabelKeysValue" - ] - } - ], - "setHostnameAsFQDN": true, - "os": { - "name": "nameValue" - }, - "hostUsers": true - } - }, - "ttlSecondsAfterFinished": 8, - "completionMode": "completionModeValue", - "suspend": true - } - } -} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.25.0/batch.v1beta1.JobTemplate.pb b/staging/src/k8s.io/api/testdata/v1.25.0/batch.v1beta1.JobTemplate.pb deleted file mode 100644 index 8ad50386474..00000000000 Binary files a/staging/src/k8s.io/api/testdata/v1.25.0/batch.v1beta1.JobTemplate.pb and /dev/null differ diff --git a/staging/src/k8s.io/api/testdata/v1.25.0/batch.v1beta1.JobTemplate.yaml b/staging/src/k8s.io/api/testdata/v1.25.0/batch.v1beta1.JobTemplate.yaml deleted file mode 100644 index 07a53c69f35..00000000000 --- a/staging/src/k8s.io/api/testdata/v1.25.0/batch.v1beta1.JobTemplate.yaml +++ /dev/null @@ -1,1177 +0,0 @@ -apiVersion: batch/v1beta1 -kind: JobTemplate -metadata: - annotations: - annotationsKey: annotationsValue - creationTimestamp: "2008-01-01T01:01:01Z" - deletionGracePeriodSeconds: 10 - deletionTimestamp: "2009-01-01T01:01:01Z" - finalizers: - - finalizersValue - generateName: generateNameValue - generation: 7 - labels: - labelsKey: labelsValue - managedFields: - - apiVersion: apiVersionValue - fieldsType: fieldsTypeValue - fieldsV1: {} - manager: managerValue - operation: operationValue - subresource: subresourceValue - time: "2004-01-01T01:01:01Z" - name: nameValue - namespace: namespaceValue - ownerReferences: - - apiVersion: apiVersionValue - blockOwnerDeletion: true - controller: true - kind: kindValue - name: nameValue - uid: uidValue - resourceVersion: resourceVersionValue - selfLink: selfLinkValue - uid: uidValue -template: - metadata: - annotations: - annotationsKey: annotationsValue - creationTimestamp: "2008-01-01T01:01:01Z" - deletionGracePeriodSeconds: 10 - deletionTimestamp: "2009-01-01T01:01:01Z" - finalizers: - - finalizersValue - generateName: generateNameValue - generation: 7 - labels: - labelsKey: labelsValue - managedFields: - - apiVersion: apiVersionValue - fieldsType: fieldsTypeValue - fieldsV1: {} - manager: managerValue - operation: operationValue - subresource: subresourceValue - time: "2004-01-01T01:01:01Z" - name: nameValue - namespace: namespaceValue - ownerReferences: - - apiVersion: apiVersionValue - blockOwnerDeletion: true - controller: true - kind: kindValue - name: nameValue - uid: uidValue - resourceVersion: resourceVersionValue - selfLink: selfLinkValue - uid: uidValue - spec: - activeDeadlineSeconds: 3 - backoffLimit: 7 - completionMode: completionModeValue - completions: 2 - manualSelector: true - parallelism: 1 - podFailurePolicy: - rules: - - action: actionValue - onExitCodes: - containerName: containerNameValue - operator: operatorValue - values: - - 3 - onPodConditions: - - status: statusValue - type: typeValue - selector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - suspend: true - template: - metadata: - annotations: - annotationsKey: annotationsValue - creationTimestamp: "2008-01-01T01:01:01Z" - deletionGracePeriodSeconds: 10 - deletionTimestamp: "2009-01-01T01:01:01Z" - finalizers: - - finalizersValue - generateName: generateNameValue - generation: 7 - labels: - labelsKey: labelsValue - managedFields: - - apiVersion: apiVersionValue - fieldsType: fieldsTypeValue - fieldsV1: {} - manager: managerValue - operation: operationValue - subresource: subresourceValue - time: "2004-01-01T01:01:01Z" - name: nameValue - namespace: namespaceValue - ownerReferences: - - apiVersion: apiVersionValue - blockOwnerDeletion: true - controller: true - kind: kindValue - name: nameValue - uid: uidValue - resourceVersion: resourceVersionValue - selfLink: selfLinkValue - uid: uidValue - spec: - activeDeadlineSeconds: 5 - affinity: - nodeAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - preference: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchFields: - - key: keyValue - operator: operatorValue - values: - - valuesValue - weight: 1 - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchFields: - - key: keyValue - operator: operatorValue - values: - - valuesValue - podAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - podAffinityTerm: - labelSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaceSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaces: - - namespacesValue - topologyKey: topologyKeyValue - weight: 1 - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaceSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaces: - - namespacesValue - topologyKey: topologyKeyValue - podAntiAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - podAffinityTerm: - labelSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaceSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaces: - - namespacesValue - topologyKey: topologyKeyValue - weight: 1 - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaceSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaces: - - namespacesValue - topologyKey: topologyKeyValue - automountServiceAccountToken: true - containers: - - args: - - argsValue - command: - - commandValue - env: - - name: nameValue - value: valueValue - valueFrom: - configMapKeyRef: - key: keyValue - name: nameValue - optional: true - fieldRef: - apiVersion: apiVersionValue - fieldPath: fieldPathValue - resourceFieldRef: - containerName: containerNameValue - divisor: "0" - resource: resourceValue - secretKeyRef: - key: keyValue - name: nameValue - optional: true - envFrom: - - configMapRef: - name: nameValue - optional: true - prefix: prefixValue - secretRef: - name: nameValue - optional: true - image: imageValue - imagePullPolicy: imagePullPolicyValue - lifecycle: - postStart: - exec: - command: - - commandValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - tcpSocket: - host: hostValue - port: portValue - preStop: - exec: - command: - - commandValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - tcpSocket: - host: hostValue - port: portValue - livenessProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - name: nameValue - ports: - - containerPort: 3 - hostIP: hostIPValue - hostPort: 2 - name: nameValue - protocol: protocolValue - readinessProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - resources: - limits: - limitsKey: "0" - requests: - requestsKey: "0" - securityContext: - allowPrivilegeEscalation: true - capabilities: - add: - - addValue - drop: - - dropValue - privileged: true - procMount: procMountValue - readOnlyRootFilesystem: true - runAsGroup: 8 - runAsNonRoot: true - runAsUser: 4 - seLinuxOptions: - level: levelValue - role: roleValue - type: typeValue - user: userValue - seccompProfile: - localhostProfile: localhostProfileValue - type: typeValue - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpecValue - gmsaCredentialSpecName: gmsaCredentialSpecNameValue - hostProcess: true - runAsUserName: runAsUserNameValue - startupProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - stdin: true - stdinOnce: true - terminationMessagePath: terminationMessagePathValue - terminationMessagePolicy: terminationMessagePolicyValue - tty: true - volumeDevices: - - devicePath: devicePathValue - name: nameValue - volumeMounts: - - mountPath: mountPathValue - mountPropagation: mountPropagationValue - name: nameValue - readOnly: true - subPath: subPathValue - subPathExpr: subPathExprValue - workingDir: workingDirValue - dnsConfig: - nameservers: - - nameserversValue - options: - - name: nameValue - value: valueValue - searches: - - searchesValue - dnsPolicy: dnsPolicyValue - enableServiceLinks: true - ephemeralContainers: - - args: - - argsValue - command: - - commandValue - env: - - name: nameValue - value: valueValue - valueFrom: - configMapKeyRef: - key: keyValue - name: nameValue - optional: true - fieldRef: - apiVersion: apiVersionValue - fieldPath: fieldPathValue - resourceFieldRef: - containerName: containerNameValue - divisor: "0" - resource: resourceValue - secretKeyRef: - key: keyValue - name: nameValue - optional: true - envFrom: - - configMapRef: - name: nameValue - optional: true - prefix: prefixValue - secretRef: - name: nameValue - optional: true - image: imageValue - imagePullPolicy: imagePullPolicyValue - lifecycle: - postStart: - exec: - command: - - commandValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - tcpSocket: - host: hostValue - port: portValue - preStop: - exec: - command: - - commandValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - tcpSocket: - host: hostValue - port: portValue - livenessProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - name: nameValue - ports: - - containerPort: 3 - hostIP: hostIPValue - hostPort: 2 - name: nameValue - protocol: protocolValue - readinessProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - resources: - limits: - limitsKey: "0" - requests: - requestsKey: "0" - securityContext: - allowPrivilegeEscalation: true - capabilities: - add: - - addValue - drop: - - dropValue - privileged: true - procMount: procMountValue - readOnlyRootFilesystem: true - runAsGroup: 8 - runAsNonRoot: true - runAsUser: 4 - seLinuxOptions: - level: levelValue - role: roleValue - type: typeValue - user: userValue - seccompProfile: - localhostProfile: localhostProfileValue - type: typeValue - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpecValue - gmsaCredentialSpecName: gmsaCredentialSpecNameValue - hostProcess: true - runAsUserName: runAsUserNameValue - startupProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - stdin: true - stdinOnce: true - targetContainerName: targetContainerNameValue - terminationMessagePath: terminationMessagePathValue - terminationMessagePolicy: terminationMessagePolicyValue - tty: true - volumeDevices: - - devicePath: devicePathValue - name: nameValue - volumeMounts: - - mountPath: mountPathValue - mountPropagation: mountPropagationValue - name: nameValue - readOnly: true - subPath: subPathValue - subPathExpr: subPathExprValue - workingDir: workingDirValue - hostAliases: - - hostnames: - - hostnamesValue - ip: ipValue - hostIPC: true - hostNetwork: true - hostPID: true - hostUsers: true - hostname: hostnameValue - imagePullSecrets: - - name: nameValue - initContainers: - - args: - - argsValue - command: - - commandValue - env: - - name: nameValue - value: valueValue - valueFrom: - configMapKeyRef: - key: keyValue - name: nameValue - optional: true - fieldRef: - apiVersion: apiVersionValue - fieldPath: fieldPathValue - resourceFieldRef: - containerName: containerNameValue - divisor: "0" - resource: resourceValue - secretKeyRef: - key: keyValue - name: nameValue - optional: true - envFrom: - - configMapRef: - name: nameValue - optional: true - prefix: prefixValue - secretRef: - name: nameValue - optional: true - image: imageValue - imagePullPolicy: imagePullPolicyValue - lifecycle: - postStart: - exec: - command: - - commandValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - tcpSocket: - host: hostValue - port: portValue - preStop: - exec: - command: - - commandValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - tcpSocket: - host: hostValue - port: portValue - livenessProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - name: nameValue - ports: - - containerPort: 3 - hostIP: hostIPValue - hostPort: 2 - name: nameValue - protocol: protocolValue - readinessProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - resources: - limits: - limitsKey: "0" - requests: - requestsKey: "0" - securityContext: - allowPrivilegeEscalation: true - capabilities: - add: - - addValue - drop: - - dropValue - privileged: true - procMount: procMountValue - readOnlyRootFilesystem: true - runAsGroup: 8 - runAsNonRoot: true - runAsUser: 4 - seLinuxOptions: - level: levelValue - role: roleValue - type: typeValue - user: userValue - seccompProfile: - localhostProfile: localhostProfileValue - type: typeValue - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpecValue - gmsaCredentialSpecName: gmsaCredentialSpecNameValue - hostProcess: true - runAsUserName: runAsUserNameValue - startupProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - stdin: true - stdinOnce: true - terminationMessagePath: terminationMessagePathValue - terminationMessagePolicy: terminationMessagePolicyValue - tty: true - volumeDevices: - - devicePath: devicePathValue - name: nameValue - volumeMounts: - - mountPath: mountPathValue - mountPropagation: mountPropagationValue - name: nameValue - readOnly: true - subPath: subPathValue - subPathExpr: subPathExprValue - workingDir: workingDirValue - nodeName: nodeNameValue - nodeSelector: - nodeSelectorKey: nodeSelectorValue - os: - name: nameValue - overhead: - overheadKey: "0" - preemptionPolicy: preemptionPolicyValue - priority: 25 - priorityClassName: priorityClassNameValue - readinessGates: - - conditionType: conditionTypeValue - restartPolicy: restartPolicyValue - runtimeClassName: runtimeClassNameValue - schedulerName: schedulerNameValue - securityContext: - fsGroup: 5 - fsGroupChangePolicy: fsGroupChangePolicyValue - runAsGroup: 6 - runAsNonRoot: true - runAsUser: 2 - seLinuxOptions: - level: levelValue - role: roleValue - type: typeValue - user: userValue - seccompProfile: - localhostProfile: localhostProfileValue - type: typeValue - supplementalGroups: - - 4 - sysctls: - - name: nameValue - value: valueValue - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpecValue - gmsaCredentialSpecName: gmsaCredentialSpecNameValue - hostProcess: true - runAsUserName: runAsUserNameValue - serviceAccount: serviceAccountValue - serviceAccountName: serviceAccountNameValue - setHostnameAsFQDN: true - shareProcessNamespace: true - subdomain: subdomainValue - terminationGracePeriodSeconds: 4 - tolerations: - - effect: effectValue - key: keyValue - operator: operatorValue - tolerationSeconds: 5 - value: valueValue - topologySpreadConstraints: - - labelSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - matchLabelKeys: - - matchLabelKeysValue - maxSkew: 1 - minDomains: 5 - nodeAffinityPolicy: nodeAffinityPolicyValue - nodeTaintsPolicy: nodeTaintsPolicyValue - topologyKey: topologyKeyValue - whenUnsatisfiable: whenUnsatisfiableValue - volumes: - - awsElasticBlockStore: - fsType: fsTypeValue - partition: 3 - readOnly: true - volumeID: volumeIDValue - azureDisk: - cachingMode: cachingModeValue - diskName: diskNameValue - diskURI: diskURIValue - fsType: fsTypeValue - kind: kindValue - readOnly: true - azureFile: - readOnly: true - secretName: secretNameValue - shareName: shareNameValue - cephfs: - monitors: - - monitorsValue - path: pathValue - readOnly: true - secretFile: secretFileValue - secretRef: - name: nameValue - user: userValue - cinder: - fsType: fsTypeValue - readOnly: true - secretRef: - name: nameValue - volumeID: volumeIDValue - configMap: - defaultMode: 3 - items: - - key: keyValue - mode: 3 - path: pathValue - name: nameValue - optional: true - csi: - driver: driverValue - fsType: fsTypeValue - nodePublishSecretRef: - name: nameValue - readOnly: true - volumeAttributes: - volumeAttributesKey: volumeAttributesValue - downwardAPI: - defaultMode: 2 - items: - - fieldRef: - apiVersion: apiVersionValue - fieldPath: fieldPathValue - mode: 4 - path: pathValue - resourceFieldRef: - containerName: containerNameValue - divisor: "0" - resource: resourceValue - emptyDir: - medium: mediumValue - sizeLimit: "0" - ephemeral: - volumeClaimTemplate: - metadata: - annotations: - annotationsKey: annotationsValue - creationTimestamp: "2008-01-01T01:01:01Z" - deletionGracePeriodSeconds: 10 - deletionTimestamp: "2009-01-01T01:01:01Z" - finalizers: - - finalizersValue - generateName: generateNameValue - generation: 7 - labels: - labelsKey: labelsValue - managedFields: - - apiVersion: apiVersionValue - fieldsType: fieldsTypeValue - fieldsV1: {} - manager: managerValue - operation: operationValue - subresource: subresourceValue - time: "2004-01-01T01:01:01Z" - name: nameValue - namespace: namespaceValue - ownerReferences: - - apiVersion: apiVersionValue - blockOwnerDeletion: true - controller: true - kind: kindValue - name: nameValue - uid: uidValue - resourceVersion: resourceVersionValue - selfLink: selfLinkValue - uid: uidValue - spec: - accessModes: - - accessModesValue - dataSource: - apiGroup: apiGroupValue - kind: kindValue - name: nameValue - dataSourceRef: - apiGroup: apiGroupValue - kind: kindValue - name: nameValue - resources: - limits: - limitsKey: "0" - requests: - requestsKey: "0" - selector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - storageClassName: storageClassNameValue - volumeMode: volumeModeValue - volumeName: volumeNameValue - fc: - fsType: fsTypeValue - lun: 2 - readOnly: true - targetWWNs: - - targetWWNsValue - wwids: - - wwidsValue - flexVolume: - driver: driverValue - fsType: fsTypeValue - options: - optionsKey: optionsValue - readOnly: true - secretRef: - name: nameValue - flocker: - datasetName: datasetNameValue - datasetUUID: datasetUUIDValue - gcePersistentDisk: - fsType: fsTypeValue - partition: 3 - pdName: pdNameValue - readOnly: true - gitRepo: - directory: directoryValue - repository: repositoryValue - revision: revisionValue - glusterfs: - endpoints: endpointsValue - path: pathValue - readOnly: true - hostPath: - path: pathValue - type: typeValue - iscsi: - chapAuthDiscovery: true - chapAuthSession: true - fsType: fsTypeValue - initiatorName: initiatorNameValue - iqn: iqnValue - iscsiInterface: iscsiInterfaceValue - lun: 3 - portals: - - portalsValue - readOnly: true - secretRef: - name: nameValue - targetPortal: targetPortalValue - name: nameValue - nfs: - path: pathValue - readOnly: true - server: serverValue - persistentVolumeClaim: - claimName: claimNameValue - readOnly: true - photonPersistentDisk: - fsType: fsTypeValue - pdID: pdIDValue - portworxVolume: - fsType: fsTypeValue - readOnly: true - volumeID: volumeIDValue - projected: - defaultMode: 2 - sources: - - configMap: - items: - - key: keyValue - mode: 3 - path: pathValue - name: nameValue - optional: true - downwardAPI: - items: - - fieldRef: - apiVersion: apiVersionValue - fieldPath: fieldPathValue - mode: 4 - path: pathValue - resourceFieldRef: - containerName: containerNameValue - divisor: "0" - resource: resourceValue - secret: - items: - - key: keyValue - mode: 3 - path: pathValue - name: nameValue - optional: true - serviceAccountToken: - audience: audienceValue - expirationSeconds: 2 - path: pathValue - quobyte: - group: groupValue - readOnly: true - registry: registryValue - tenant: tenantValue - user: userValue - volume: volumeValue - rbd: - fsType: fsTypeValue - image: imageValue - keyring: keyringValue - monitors: - - monitorsValue - pool: poolValue - readOnly: true - secretRef: - name: nameValue - user: userValue - scaleIO: - fsType: fsTypeValue - gateway: gatewayValue - protectionDomain: protectionDomainValue - readOnly: true - secretRef: - name: nameValue - sslEnabled: true - storageMode: storageModeValue - storagePool: storagePoolValue - system: systemValue - volumeName: volumeNameValue - secret: - defaultMode: 3 - items: - - key: keyValue - mode: 3 - path: pathValue - optional: true - secretName: secretNameValue - storageos: - fsType: fsTypeValue - readOnly: true - secretRef: - name: nameValue - volumeName: volumeNameValue - volumeNamespace: volumeNamespaceValue - vsphereVolume: - fsType: fsTypeValue - storagePolicyID: storagePolicyIDValue - storagePolicyName: storagePolicyNameValue - volumePath: volumePathValue - ttlSecondsAfterFinished: 8 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.JobTemplate.json b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.JobTemplate.json deleted file mode 100644 index 00fe2b0f133..00000000000 --- a/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.JobTemplate.json +++ /dev/null @@ -1,1740 +0,0 @@ -{ - "kind": "JobTemplate", - "apiVersion": "batch/v1beta1", - "metadata": { - "name": "nameValue", - "generateName": "generateNameValue", - "namespace": "namespaceValue", - "selfLink": "selfLinkValue", - "uid": "uidValue", - "resourceVersion": "resourceVersionValue", - "generation": 7, - "creationTimestamp": "2008-01-01T01:01:01Z", - "deletionTimestamp": "2009-01-01T01:01:01Z", - "deletionGracePeriodSeconds": 10, - "labels": { - "labelsKey": "labelsValue" - }, - "annotations": { - "annotationsKey": "annotationsValue" - }, - "ownerReferences": [ - { - "apiVersion": "apiVersionValue", - "kind": "kindValue", - "name": "nameValue", - "uid": "uidValue", - "controller": true, - "blockOwnerDeletion": true - } - ], - "finalizers": [ - "finalizersValue" - ], - "managedFields": [ - { - "manager": "managerValue", - "operation": "operationValue", - "apiVersion": "apiVersionValue", - "time": "2004-01-01T01:01:01Z", - "fieldsType": "fieldsTypeValue", - "fieldsV1": {}, - "subresource": "subresourceValue" - } - ] - }, - "template": { - "metadata": { - "name": "nameValue", - "generateName": "generateNameValue", - "namespace": "namespaceValue", - "selfLink": "selfLinkValue", - "uid": "uidValue", - "resourceVersion": "resourceVersionValue", - "generation": 7, - "creationTimestamp": "2008-01-01T01:01:01Z", - "deletionTimestamp": "2009-01-01T01:01:01Z", - "deletionGracePeriodSeconds": 10, - "labels": { - "labelsKey": "labelsValue" - }, - "annotations": { - "annotationsKey": "annotationsValue" - }, - "ownerReferences": [ - { - "apiVersion": "apiVersionValue", - "kind": "kindValue", - "name": "nameValue", - "uid": "uidValue", - "controller": true, - "blockOwnerDeletion": true - } - ], - "finalizers": [ - "finalizersValue" - ], - "managedFields": [ - { - "manager": "managerValue", - "operation": "operationValue", - "apiVersion": "apiVersionValue", - "time": "2004-01-01T01:01:01Z", - "fieldsType": "fieldsTypeValue", - "fieldsV1": {}, - "subresource": "subresourceValue" - } - ] - }, - "spec": { - "parallelism": 1, - "completions": 2, - "activeDeadlineSeconds": 3, - "podFailurePolicy": { - "rules": [ - { - "action": "actionValue", - "onExitCodes": { - "containerName": "containerNameValue", - "operator": "operatorValue", - "values": [ - 3 - ] - }, - "onPodConditions": [ - { - "type": "typeValue", - "status": "statusValue" - } - ] - } - ] - }, - "backoffLimit": 7, - "selector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "manualSelector": true, - "template": { - "metadata": { - "name": "nameValue", - "generateName": "generateNameValue", - "namespace": "namespaceValue", - "selfLink": "selfLinkValue", - "uid": "uidValue", - "resourceVersion": "resourceVersionValue", - "generation": 7, - "creationTimestamp": "2008-01-01T01:01:01Z", - "deletionTimestamp": "2009-01-01T01:01:01Z", - "deletionGracePeriodSeconds": 10, - "labels": { - "labelsKey": "labelsValue" - }, - "annotations": { - "annotationsKey": "annotationsValue" - }, - "ownerReferences": [ - { - "apiVersion": "apiVersionValue", - "kind": "kindValue", - "name": "nameValue", - "uid": "uidValue", - "controller": true, - "blockOwnerDeletion": true - } - ], - "finalizers": [ - "finalizersValue" - ], - "managedFields": [ - { - "manager": "managerValue", - "operation": "operationValue", - "apiVersion": "apiVersionValue", - "time": "2004-01-01T01:01:01Z", - "fieldsType": "fieldsTypeValue", - "fieldsV1": {}, - "subresource": "subresourceValue" - } - ] - }, - "spec": { - "volumes": [ - { - "name": "nameValue", - "hostPath": { - "path": "pathValue", - "type": "typeValue" - }, - "emptyDir": { - "medium": "mediumValue", - "sizeLimit": "0" - }, - "gcePersistentDisk": { - "pdName": "pdNameValue", - "fsType": "fsTypeValue", - "partition": 3, - "readOnly": true - }, - "awsElasticBlockStore": { - "volumeID": "volumeIDValue", - "fsType": "fsTypeValue", - "partition": 3, - "readOnly": true - }, - "gitRepo": { - "repository": "repositoryValue", - "revision": "revisionValue", - "directory": "directoryValue" - }, - "secret": { - "secretName": "secretNameValue", - "items": [ - { - "key": "keyValue", - "path": "pathValue", - "mode": 3 - } - ], - "defaultMode": 3, - "optional": true - }, - "nfs": { - "server": "serverValue", - "path": "pathValue", - "readOnly": true - }, - "iscsi": { - "targetPortal": "targetPortalValue", - "iqn": "iqnValue", - "lun": 3, - "iscsiInterface": "iscsiInterfaceValue", - "fsType": "fsTypeValue", - "readOnly": true, - "portals": [ - "portalsValue" - ], - "chapAuthDiscovery": true, - "chapAuthSession": true, - "secretRef": { - "name": "nameValue" - }, - "initiatorName": "initiatorNameValue" - }, - "glusterfs": { - "endpoints": "endpointsValue", - "path": "pathValue", - "readOnly": true - }, - "persistentVolumeClaim": { - "claimName": "claimNameValue", - "readOnly": true - }, - "rbd": { - "monitors": [ - "monitorsValue" - ], - "image": "imageValue", - "fsType": "fsTypeValue", - "pool": "poolValue", - "user": "userValue", - "keyring": "keyringValue", - "secretRef": { - "name": "nameValue" - }, - "readOnly": true - }, - "flexVolume": { - "driver": "driverValue", - "fsType": "fsTypeValue", - "secretRef": { - "name": "nameValue" - }, - "readOnly": true, - "options": { - "optionsKey": "optionsValue" - } - }, - "cinder": { - "volumeID": "volumeIDValue", - "fsType": "fsTypeValue", - "readOnly": true, - "secretRef": { - "name": "nameValue" - } - }, - "cephfs": { - "monitors": [ - "monitorsValue" - ], - "path": "pathValue", - "user": "userValue", - "secretFile": "secretFileValue", - "secretRef": { - "name": "nameValue" - }, - "readOnly": true - }, - "flocker": { - "datasetName": "datasetNameValue", - "datasetUUID": "datasetUUIDValue" - }, - "downwardAPI": { - "items": [ - { - "path": "pathValue", - "fieldRef": { - "apiVersion": "apiVersionValue", - "fieldPath": "fieldPathValue" - }, - "resourceFieldRef": { - "containerName": "containerNameValue", - "resource": "resourceValue", - "divisor": "0" - }, - "mode": 4 - } - ], - "defaultMode": 2 - }, - "fc": { - "targetWWNs": [ - "targetWWNsValue" - ], - "lun": 2, - "fsType": "fsTypeValue", - "readOnly": true, - "wwids": [ - "wwidsValue" - ] - }, - "azureFile": { - "secretName": "secretNameValue", - "shareName": "shareNameValue", - "readOnly": true - }, - "configMap": { - "name": "nameValue", - "items": [ - { - "key": "keyValue", - "path": "pathValue", - "mode": 3 - } - ], - "defaultMode": 3, - "optional": true - }, - "vsphereVolume": { - "volumePath": "volumePathValue", - "fsType": "fsTypeValue", - "storagePolicyName": "storagePolicyNameValue", - "storagePolicyID": "storagePolicyIDValue" - }, - "quobyte": { - "registry": "registryValue", - "volume": "volumeValue", - "readOnly": true, - "user": "userValue", - "group": "groupValue", - "tenant": "tenantValue" - }, - "azureDisk": { - "diskName": "diskNameValue", - "diskURI": "diskURIValue", - "cachingMode": "cachingModeValue", - "fsType": "fsTypeValue", - "readOnly": true, - "kind": "kindValue" - }, - "photonPersistentDisk": { - "pdID": "pdIDValue", - "fsType": "fsTypeValue" - }, - "projected": { - "sources": [ - { - "secret": { - "name": "nameValue", - "items": [ - { - "key": "keyValue", - "path": "pathValue", - "mode": 3 - } - ], - "optional": true - }, - "downwardAPI": { - "items": [ - { - "path": "pathValue", - "fieldRef": { - "apiVersion": "apiVersionValue", - "fieldPath": "fieldPathValue" - }, - "resourceFieldRef": { - "containerName": "containerNameValue", - "resource": "resourceValue", - "divisor": "0" - }, - "mode": 4 - } - ] - }, - "configMap": { - "name": "nameValue", - "items": [ - { - "key": "keyValue", - "path": "pathValue", - "mode": 3 - } - ], - "optional": true - }, - "serviceAccountToken": { - "audience": "audienceValue", - "expirationSeconds": 2, - "path": "pathValue" - } - } - ], - "defaultMode": 2 - }, - "portworxVolume": { - "volumeID": "volumeIDValue", - "fsType": "fsTypeValue", - "readOnly": true - }, - "scaleIO": { - "gateway": "gatewayValue", - "system": "systemValue", - "secretRef": { - "name": "nameValue" - }, - "sslEnabled": true, - "protectionDomain": "protectionDomainValue", - "storagePool": "storagePoolValue", - "storageMode": "storageModeValue", - "volumeName": "volumeNameValue", - "fsType": "fsTypeValue", - "readOnly": true - }, - "storageos": { - "volumeName": "volumeNameValue", - "volumeNamespace": "volumeNamespaceValue", - "fsType": "fsTypeValue", - "readOnly": true, - "secretRef": { - "name": "nameValue" - } - }, - "csi": { - "driver": "driverValue", - "readOnly": true, - "fsType": "fsTypeValue", - "volumeAttributes": { - "volumeAttributesKey": "volumeAttributesValue" - }, - "nodePublishSecretRef": { - "name": "nameValue" - } - }, - "ephemeral": { - "volumeClaimTemplate": { - "metadata": { - "name": "nameValue", - "generateName": "generateNameValue", - "namespace": "namespaceValue", - "selfLink": "selfLinkValue", - "uid": "uidValue", - "resourceVersion": "resourceVersionValue", - "generation": 7, - "creationTimestamp": "2008-01-01T01:01:01Z", - "deletionTimestamp": "2009-01-01T01:01:01Z", - "deletionGracePeriodSeconds": 10, - "labels": { - "labelsKey": "labelsValue" - }, - "annotations": { - "annotationsKey": "annotationsValue" - }, - "ownerReferences": [ - { - "apiVersion": "apiVersionValue", - "kind": "kindValue", - "name": "nameValue", - "uid": "uidValue", - "controller": true, - "blockOwnerDeletion": true - } - ], - "finalizers": [ - "finalizersValue" - ], - "managedFields": [ - { - "manager": "managerValue", - "operation": "operationValue", - "apiVersion": "apiVersionValue", - "time": "2004-01-01T01:01:01Z", - "fieldsType": "fieldsTypeValue", - "fieldsV1": {}, - "subresource": "subresourceValue" - } - ] - }, - "spec": { - "accessModes": [ - "accessModesValue" - ], - "selector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "resources": { - "limits": { - "limitsKey": "0" - }, - "requests": { - "requestsKey": "0" - }, - "claims": [ - { - "name": "nameValue" - } - ] - }, - "volumeName": "volumeNameValue", - "storageClassName": "storageClassNameValue", - "volumeMode": "volumeModeValue", - "dataSource": { - "apiGroup": "apiGroupValue", - "kind": "kindValue", - "name": "nameValue" - }, - "dataSourceRef": { - "apiGroup": "apiGroupValue", - "kind": "kindValue", - "name": "nameValue", - "namespace": "namespaceValue" - } - } - } - } - } - ], - "initContainers": [ - { - "name": "nameValue", - "image": "imageValue", - "command": [ - "commandValue" - ], - "args": [ - "argsValue" - ], - "workingDir": "workingDirValue", - "ports": [ - { - "name": "nameValue", - "hostPort": 2, - "containerPort": 3, - "protocol": "protocolValue", - "hostIP": "hostIPValue" - } - ], - "envFrom": [ - { - "prefix": "prefixValue", - "configMapRef": { - "name": "nameValue", - "optional": true - }, - "secretRef": { - "name": "nameValue", - "optional": true - } - } - ], - "env": [ - { - "name": "nameValue", - "value": "valueValue", - "valueFrom": { - "fieldRef": { - "apiVersion": "apiVersionValue", - "fieldPath": "fieldPathValue" - }, - "resourceFieldRef": { - "containerName": "containerNameValue", - "resource": "resourceValue", - "divisor": "0" - }, - "configMapKeyRef": { - "name": "nameValue", - "key": "keyValue", - "optional": true - }, - "secretKeyRef": { - "name": "nameValue", - "key": "keyValue", - "optional": true - } - } - } - ], - "resources": { - "limits": { - "limitsKey": "0" - }, - "requests": { - "requestsKey": "0" - }, - "claims": [ - { - "name": "nameValue" - } - ] - }, - "volumeMounts": [ - { - "name": "nameValue", - "readOnly": true, - "mountPath": "mountPathValue", - "subPath": "subPathValue", - "mountPropagation": "mountPropagationValue", - "subPathExpr": "subPathExprValue" - } - ], - "volumeDevices": [ - { - "name": "nameValue", - "devicePath": "devicePathValue" - } - ], - "livenessProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "readinessProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "startupProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "lifecycle": { - "postStart": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - } - }, - "preStop": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - } - } - }, - "terminationMessagePath": "terminationMessagePathValue", - "terminationMessagePolicy": "terminationMessagePolicyValue", - "imagePullPolicy": "imagePullPolicyValue", - "securityContext": { - "capabilities": { - "add": [ - "addValue" - ], - "drop": [ - "dropValue" - ] - }, - "privileged": true, - "seLinuxOptions": { - "user": "userValue", - "role": "roleValue", - "type": "typeValue", - "level": "levelValue" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", - "gmsaCredentialSpec": "gmsaCredentialSpecValue", - "runAsUserName": "runAsUserNameValue", - "hostProcess": true - }, - "runAsUser": 4, - "runAsGroup": 8, - "runAsNonRoot": true, - "readOnlyRootFilesystem": true, - "allowPrivilegeEscalation": true, - "procMount": "procMountValue", - "seccompProfile": { - "type": "typeValue", - "localhostProfile": "localhostProfileValue" - } - }, - "stdin": true, - "stdinOnce": true, - "tty": true - } - ], - "containers": [ - { - "name": "nameValue", - "image": "imageValue", - "command": [ - "commandValue" - ], - "args": [ - "argsValue" - ], - "workingDir": "workingDirValue", - "ports": [ - { - "name": "nameValue", - "hostPort": 2, - "containerPort": 3, - "protocol": "protocolValue", - "hostIP": "hostIPValue" - } - ], - "envFrom": [ - { - "prefix": "prefixValue", - "configMapRef": { - "name": "nameValue", - "optional": true - }, - "secretRef": { - "name": "nameValue", - "optional": true - } - } - ], - "env": [ - { - "name": "nameValue", - "value": "valueValue", - "valueFrom": { - "fieldRef": { - "apiVersion": "apiVersionValue", - "fieldPath": "fieldPathValue" - }, - "resourceFieldRef": { - "containerName": "containerNameValue", - "resource": "resourceValue", - "divisor": "0" - }, - "configMapKeyRef": { - "name": "nameValue", - "key": "keyValue", - "optional": true - }, - "secretKeyRef": { - "name": "nameValue", - "key": "keyValue", - "optional": true - } - } - } - ], - "resources": { - "limits": { - "limitsKey": "0" - }, - "requests": { - "requestsKey": "0" - }, - "claims": [ - { - "name": "nameValue" - } - ] - }, - "volumeMounts": [ - { - "name": "nameValue", - "readOnly": true, - "mountPath": "mountPathValue", - "subPath": "subPathValue", - "mountPropagation": "mountPropagationValue", - "subPathExpr": "subPathExprValue" - } - ], - "volumeDevices": [ - { - "name": "nameValue", - "devicePath": "devicePathValue" - } - ], - "livenessProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "readinessProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "startupProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "lifecycle": { - "postStart": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - } - }, - "preStop": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - } - } - }, - "terminationMessagePath": "terminationMessagePathValue", - "terminationMessagePolicy": "terminationMessagePolicyValue", - "imagePullPolicy": "imagePullPolicyValue", - "securityContext": { - "capabilities": { - "add": [ - "addValue" - ], - "drop": [ - "dropValue" - ] - }, - "privileged": true, - "seLinuxOptions": { - "user": "userValue", - "role": "roleValue", - "type": "typeValue", - "level": "levelValue" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", - "gmsaCredentialSpec": "gmsaCredentialSpecValue", - "runAsUserName": "runAsUserNameValue", - "hostProcess": true - }, - "runAsUser": 4, - "runAsGroup": 8, - "runAsNonRoot": true, - "readOnlyRootFilesystem": true, - "allowPrivilegeEscalation": true, - "procMount": "procMountValue", - "seccompProfile": { - "type": "typeValue", - "localhostProfile": "localhostProfileValue" - } - }, - "stdin": true, - "stdinOnce": true, - "tty": true - } - ], - "ephemeralContainers": [ - { - "name": "nameValue", - "image": "imageValue", - "command": [ - "commandValue" - ], - "args": [ - "argsValue" - ], - "workingDir": "workingDirValue", - "ports": [ - { - "name": "nameValue", - "hostPort": 2, - "containerPort": 3, - "protocol": "protocolValue", - "hostIP": "hostIPValue" - } - ], - "envFrom": [ - { - "prefix": "prefixValue", - "configMapRef": { - "name": "nameValue", - "optional": true - }, - "secretRef": { - "name": "nameValue", - "optional": true - } - } - ], - "env": [ - { - "name": "nameValue", - "value": "valueValue", - "valueFrom": { - "fieldRef": { - "apiVersion": "apiVersionValue", - "fieldPath": "fieldPathValue" - }, - "resourceFieldRef": { - "containerName": "containerNameValue", - "resource": "resourceValue", - "divisor": "0" - }, - "configMapKeyRef": { - "name": "nameValue", - "key": "keyValue", - "optional": true - }, - "secretKeyRef": { - "name": "nameValue", - "key": "keyValue", - "optional": true - } - } - } - ], - "resources": { - "limits": { - "limitsKey": "0" - }, - "requests": { - "requestsKey": "0" - }, - "claims": [ - { - "name": "nameValue" - } - ] - }, - "volumeMounts": [ - { - "name": "nameValue", - "readOnly": true, - "mountPath": "mountPathValue", - "subPath": "subPathValue", - "mountPropagation": "mountPropagationValue", - "subPathExpr": "subPathExprValue" - } - ], - "volumeDevices": [ - { - "name": "nameValue", - "devicePath": "devicePathValue" - } - ], - "livenessProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "readinessProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "startupProbe": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - }, - "grpc": { - "port": 1, - "service": "serviceValue" - }, - "initialDelaySeconds": 2, - "timeoutSeconds": 3, - "periodSeconds": 4, - "successThreshold": 5, - "failureThreshold": 6, - "terminationGracePeriodSeconds": 7 - }, - "lifecycle": { - "postStart": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - } - }, - "preStop": { - "exec": { - "command": [ - "commandValue" - ] - }, - "httpGet": { - "path": "pathValue", - "port": "portValue", - "host": "hostValue", - "scheme": "schemeValue", - "httpHeaders": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "tcpSocket": { - "port": "portValue", - "host": "hostValue" - } - } - }, - "terminationMessagePath": "terminationMessagePathValue", - "terminationMessagePolicy": "terminationMessagePolicyValue", - "imagePullPolicy": "imagePullPolicyValue", - "securityContext": { - "capabilities": { - "add": [ - "addValue" - ], - "drop": [ - "dropValue" - ] - }, - "privileged": true, - "seLinuxOptions": { - "user": "userValue", - "role": "roleValue", - "type": "typeValue", - "level": "levelValue" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", - "gmsaCredentialSpec": "gmsaCredentialSpecValue", - "runAsUserName": "runAsUserNameValue", - "hostProcess": true - }, - "runAsUser": 4, - "runAsGroup": 8, - "runAsNonRoot": true, - "readOnlyRootFilesystem": true, - "allowPrivilegeEscalation": true, - "procMount": "procMountValue", - "seccompProfile": { - "type": "typeValue", - "localhostProfile": "localhostProfileValue" - } - }, - "stdin": true, - "stdinOnce": true, - "tty": true, - "targetContainerName": "targetContainerNameValue" - } - ], - "restartPolicy": "restartPolicyValue", - "terminationGracePeriodSeconds": 4, - "activeDeadlineSeconds": 5, - "dnsPolicy": "dnsPolicyValue", - "nodeSelector": { - "nodeSelectorKey": "nodeSelectorValue" - }, - "serviceAccountName": "serviceAccountNameValue", - "serviceAccount": "serviceAccountValue", - "automountServiceAccountToken": true, - "nodeName": "nodeNameValue", - "hostNetwork": true, - "hostPID": true, - "hostIPC": true, - "shareProcessNamespace": true, - "securityContext": { - "seLinuxOptions": { - "user": "userValue", - "role": "roleValue", - "type": "typeValue", - "level": "levelValue" - }, - "windowsOptions": { - "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", - "gmsaCredentialSpec": "gmsaCredentialSpecValue", - "runAsUserName": "runAsUserNameValue", - "hostProcess": true - }, - "runAsUser": 2, - "runAsGroup": 6, - "runAsNonRoot": true, - "supplementalGroups": [ - 4 - ], - "fsGroup": 5, - "sysctls": [ - { - "name": "nameValue", - "value": "valueValue" - } - ], - "fsGroupChangePolicy": "fsGroupChangePolicyValue", - "seccompProfile": { - "type": "typeValue", - "localhostProfile": "localhostProfileValue" - } - }, - "imagePullSecrets": [ - { - "name": "nameValue" - } - ], - "hostname": "hostnameValue", - "subdomain": "subdomainValue", - "affinity": { - "nodeAffinity": { - "requiredDuringSchedulingIgnoredDuringExecution": { - "nodeSelectorTerms": [ - { - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ], - "matchFields": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - } - ] - }, - "preferredDuringSchedulingIgnoredDuringExecution": [ - { - "weight": 1, - "preference": { - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ], - "matchFields": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - } - } - ] - }, - "podAffinity": { - "requiredDuringSchedulingIgnoredDuringExecution": [ - { - "labelSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "namespaces": [ - "namespacesValue" - ], - "topologyKey": "topologyKeyValue", - "namespaceSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - } - } - ], - "preferredDuringSchedulingIgnoredDuringExecution": [ - { - "weight": 1, - "podAffinityTerm": { - "labelSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "namespaces": [ - "namespacesValue" - ], - "topologyKey": "topologyKeyValue", - "namespaceSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - } - } - } - ] - }, - "podAntiAffinity": { - "requiredDuringSchedulingIgnoredDuringExecution": [ - { - "labelSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "namespaces": [ - "namespacesValue" - ], - "topologyKey": "topologyKeyValue", - "namespaceSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - } - } - ], - "preferredDuringSchedulingIgnoredDuringExecution": [ - { - "weight": 1, - "podAffinityTerm": { - "labelSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "namespaces": [ - "namespacesValue" - ], - "topologyKey": "topologyKeyValue", - "namespaceSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - } - } - } - ] - } - }, - "schedulerName": "schedulerNameValue", - "tolerations": [ - { - "key": "keyValue", - "operator": "operatorValue", - "value": "valueValue", - "effect": "effectValue", - "tolerationSeconds": 5 - } - ], - "hostAliases": [ - { - "ip": "ipValue", - "hostnames": [ - "hostnamesValue" - ] - } - ], - "priorityClassName": "priorityClassNameValue", - "priority": 25, - "dnsConfig": { - "nameservers": [ - "nameserversValue" - ], - "searches": [ - "searchesValue" - ], - "options": [ - { - "name": "nameValue", - "value": "valueValue" - } - ] - }, - "readinessGates": [ - { - "conditionType": "conditionTypeValue" - } - ], - "runtimeClassName": "runtimeClassNameValue", - "enableServiceLinks": true, - "preemptionPolicy": "preemptionPolicyValue", - "overhead": { - "overheadKey": "0" - }, - "topologySpreadConstraints": [ - { - "maxSkew": 1, - "topologyKey": "topologyKeyValue", - "whenUnsatisfiable": "whenUnsatisfiableValue", - "labelSelector": { - "matchLabels": { - "matchLabelsKey": "matchLabelsValue" - }, - "matchExpressions": [ - { - "key": "keyValue", - "operator": "operatorValue", - "values": [ - "valuesValue" - ] - } - ] - }, - "minDomains": 5, - "nodeAffinityPolicy": "nodeAffinityPolicyValue", - "nodeTaintsPolicy": "nodeTaintsPolicyValue", - "matchLabelKeys": [ - "matchLabelKeysValue" - ] - } - ], - "setHostnameAsFQDN": true, - "os": { - "name": "nameValue" - }, - "hostUsers": true, - "schedulingGates": [ - { - "name": "nameValue" - } - ], - "resourceClaims": [ - { - "name": "nameValue", - "source": { - "resourceClaimName": "resourceClaimNameValue", - "resourceClaimTemplateName": "resourceClaimTemplateNameValue" - } - } - ] - } - }, - "ttlSecondsAfterFinished": 8, - "completionMode": "completionModeValue", - "suspend": true - } - } -} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.JobTemplate.pb b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.JobTemplate.pb deleted file mode 100644 index 253ea811f21..00000000000 Binary files a/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.JobTemplate.pb and /dev/null differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.JobTemplate.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.JobTemplate.yaml deleted file mode 100644 index a9d88bfa293..00000000000 --- a/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.JobTemplate.yaml +++ /dev/null @@ -1,1193 +0,0 @@ -apiVersion: batch/v1beta1 -kind: JobTemplate -metadata: - annotations: - annotationsKey: annotationsValue - creationTimestamp: "2008-01-01T01:01:01Z" - deletionGracePeriodSeconds: 10 - deletionTimestamp: "2009-01-01T01:01:01Z" - finalizers: - - finalizersValue - generateName: generateNameValue - generation: 7 - labels: - labelsKey: labelsValue - managedFields: - - apiVersion: apiVersionValue - fieldsType: fieldsTypeValue - fieldsV1: {} - manager: managerValue - operation: operationValue - subresource: subresourceValue - time: "2004-01-01T01:01:01Z" - name: nameValue - namespace: namespaceValue - ownerReferences: - - apiVersion: apiVersionValue - blockOwnerDeletion: true - controller: true - kind: kindValue - name: nameValue - uid: uidValue - resourceVersion: resourceVersionValue - selfLink: selfLinkValue - uid: uidValue -template: - metadata: - annotations: - annotationsKey: annotationsValue - creationTimestamp: "2008-01-01T01:01:01Z" - deletionGracePeriodSeconds: 10 - deletionTimestamp: "2009-01-01T01:01:01Z" - finalizers: - - finalizersValue - generateName: generateNameValue - generation: 7 - labels: - labelsKey: labelsValue - managedFields: - - apiVersion: apiVersionValue - fieldsType: fieldsTypeValue - fieldsV1: {} - manager: managerValue - operation: operationValue - subresource: subresourceValue - time: "2004-01-01T01:01:01Z" - name: nameValue - namespace: namespaceValue - ownerReferences: - - apiVersion: apiVersionValue - blockOwnerDeletion: true - controller: true - kind: kindValue - name: nameValue - uid: uidValue - resourceVersion: resourceVersionValue - selfLink: selfLinkValue - uid: uidValue - spec: - activeDeadlineSeconds: 3 - backoffLimit: 7 - completionMode: completionModeValue - completions: 2 - manualSelector: true - parallelism: 1 - podFailurePolicy: - rules: - - action: actionValue - onExitCodes: - containerName: containerNameValue - operator: operatorValue - values: - - 3 - onPodConditions: - - status: statusValue - type: typeValue - selector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - suspend: true - template: - metadata: - annotations: - annotationsKey: annotationsValue - creationTimestamp: "2008-01-01T01:01:01Z" - deletionGracePeriodSeconds: 10 - deletionTimestamp: "2009-01-01T01:01:01Z" - finalizers: - - finalizersValue - generateName: generateNameValue - generation: 7 - labels: - labelsKey: labelsValue - managedFields: - - apiVersion: apiVersionValue - fieldsType: fieldsTypeValue - fieldsV1: {} - manager: managerValue - operation: operationValue - subresource: subresourceValue - time: "2004-01-01T01:01:01Z" - name: nameValue - namespace: namespaceValue - ownerReferences: - - apiVersion: apiVersionValue - blockOwnerDeletion: true - controller: true - kind: kindValue - name: nameValue - uid: uidValue - resourceVersion: resourceVersionValue - selfLink: selfLinkValue - uid: uidValue - spec: - activeDeadlineSeconds: 5 - affinity: - nodeAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - preference: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchFields: - - key: keyValue - operator: operatorValue - values: - - valuesValue - weight: 1 - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchFields: - - key: keyValue - operator: operatorValue - values: - - valuesValue - podAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - podAffinityTerm: - labelSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaceSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaces: - - namespacesValue - topologyKey: topologyKeyValue - weight: 1 - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaceSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaces: - - namespacesValue - topologyKey: topologyKeyValue - podAntiAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - podAffinityTerm: - labelSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaceSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaces: - - namespacesValue - topologyKey: topologyKeyValue - weight: 1 - requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaceSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - namespaces: - - namespacesValue - topologyKey: topologyKeyValue - automountServiceAccountToken: true - containers: - - args: - - argsValue - command: - - commandValue - env: - - name: nameValue - value: valueValue - valueFrom: - configMapKeyRef: - key: keyValue - name: nameValue - optional: true - fieldRef: - apiVersion: apiVersionValue - fieldPath: fieldPathValue - resourceFieldRef: - containerName: containerNameValue - divisor: "0" - resource: resourceValue - secretKeyRef: - key: keyValue - name: nameValue - optional: true - envFrom: - - configMapRef: - name: nameValue - optional: true - prefix: prefixValue - secretRef: - name: nameValue - optional: true - image: imageValue - imagePullPolicy: imagePullPolicyValue - lifecycle: - postStart: - exec: - command: - - commandValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - tcpSocket: - host: hostValue - port: portValue - preStop: - exec: - command: - - commandValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - tcpSocket: - host: hostValue - port: portValue - livenessProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - name: nameValue - ports: - - containerPort: 3 - hostIP: hostIPValue - hostPort: 2 - name: nameValue - protocol: protocolValue - readinessProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - resources: - claims: - - name: nameValue - limits: - limitsKey: "0" - requests: - requestsKey: "0" - securityContext: - allowPrivilegeEscalation: true - capabilities: - add: - - addValue - drop: - - dropValue - privileged: true - procMount: procMountValue - readOnlyRootFilesystem: true - runAsGroup: 8 - runAsNonRoot: true - runAsUser: 4 - seLinuxOptions: - level: levelValue - role: roleValue - type: typeValue - user: userValue - seccompProfile: - localhostProfile: localhostProfileValue - type: typeValue - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpecValue - gmsaCredentialSpecName: gmsaCredentialSpecNameValue - hostProcess: true - runAsUserName: runAsUserNameValue - startupProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - stdin: true - stdinOnce: true - terminationMessagePath: terminationMessagePathValue - terminationMessagePolicy: terminationMessagePolicyValue - tty: true - volumeDevices: - - devicePath: devicePathValue - name: nameValue - volumeMounts: - - mountPath: mountPathValue - mountPropagation: mountPropagationValue - name: nameValue - readOnly: true - subPath: subPathValue - subPathExpr: subPathExprValue - workingDir: workingDirValue - dnsConfig: - nameservers: - - nameserversValue - options: - - name: nameValue - value: valueValue - searches: - - searchesValue - dnsPolicy: dnsPolicyValue - enableServiceLinks: true - ephemeralContainers: - - args: - - argsValue - command: - - commandValue - env: - - name: nameValue - value: valueValue - valueFrom: - configMapKeyRef: - key: keyValue - name: nameValue - optional: true - fieldRef: - apiVersion: apiVersionValue - fieldPath: fieldPathValue - resourceFieldRef: - containerName: containerNameValue - divisor: "0" - resource: resourceValue - secretKeyRef: - key: keyValue - name: nameValue - optional: true - envFrom: - - configMapRef: - name: nameValue - optional: true - prefix: prefixValue - secretRef: - name: nameValue - optional: true - image: imageValue - imagePullPolicy: imagePullPolicyValue - lifecycle: - postStart: - exec: - command: - - commandValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - tcpSocket: - host: hostValue - port: portValue - preStop: - exec: - command: - - commandValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - tcpSocket: - host: hostValue - port: portValue - livenessProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - name: nameValue - ports: - - containerPort: 3 - hostIP: hostIPValue - hostPort: 2 - name: nameValue - protocol: protocolValue - readinessProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - resources: - claims: - - name: nameValue - limits: - limitsKey: "0" - requests: - requestsKey: "0" - securityContext: - allowPrivilegeEscalation: true - capabilities: - add: - - addValue - drop: - - dropValue - privileged: true - procMount: procMountValue - readOnlyRootFilesystem: true - runAsGroup: 8 - runAsNonRoot: true - runAsUser: 4 - seLinuxOptions: - level: levelValue - role: roleValue - type: typeValue - user: userValue - seccompProfile: - localhostProfile: localhostProfileValue - type: typeValue - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpecValue - gmsaCredentialSpecName: gmsaCredentialSpecNameValue - hostProcess: true - runAsUserName: runAsUserNameValue - startupProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - stdin: true - stdinOnce: true - targetContainerName: targetContainerNameValue - terminationMessagePath: terminationMessagePathValue - terminationMessagePolicy: terminationMessagePolicyValue - tty: true - volumeDevices: - - devicePath: devicePathValue - name: nameValue - volumeMounts: - - mountPath: mountPathValue - mountPropagation: mountPropagationValue - name: nameValue - readOnly: true - subPath: subPathValue - subPathExpr: subPathExprValue - workingDir: workingDirValue - hostAliases: - - hostnames: - - hostnamesValue - ip: ipValue - hostIPC: true - hostNetwork: true - hostPID: true - hostUsers: true - hostname: hostnameValue - imagePullSecrets: - - name: nameValue - initContainers: - - args: - - argsValue - command: - - commandValue - env: - - name: nameValue - value: valueValue - valueFrom: - configMapKeyRef: - key: keyValue - name: nameValue - optional: true - fieldRef: - apiVersion: apiVersionValue - fieldPath: fieldPathValue - resourceFieldRef: - containerName: containerNameValue - divisor: "0" - resource: resourceValue - secretKeyRef: - key: keyValue - name: nameValue - optional: true - envFrom: - - configMapRef: - name: nameValue - optional: true - prefix: prefixValue - secretRef: - name: nameValue - optional: true - image: imageValue - imagePullPolicy: imagePullPolicyValue - lifecycle: - postStart: - exec: - command: - - commandValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - tcpSocket: - host: hostValue - port: portValue - preStop: - exec: - command: - - commandValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - tcpSocket: - host: hostValue - port: portValue - livenessProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - name: nameValue - ports: - - containerPort: 3 - hostIP: hostIPValue - hostPort: 2 - name: nameValue - protocol: protocolValue - readinessProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - resources: - claims: - - name: nameValue - limits: - limitsKey: "0" - requests: - requestsKey: "0" - securityContext: - allowPrivilegeEscalation: true - capabilities: - add: - - addValue - drop: - - dropValue - privileged: true - procMount: procMountValue - readOnlyRootFilesystem: true - runAsGroup: 8 - runAsNonRoot: true - runAsUser: 4 - seLinuxOptions: - level: levelValue - role: roleValue - type: typeValue - user: userValue - seccompProfile: - localhostProfile: localhostProfileValue - type: typeValue - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpecValue - gmsaCredentialSpecName: gmsaCredentialSpecNameValue - hostProcess: true - runAsUserName: runAsUserNameValue - startupProbe: - exec: - command: - - commandValue - failureThreshold: 6 - grpc: - port: 1 - service: serviceValue - httpGet: - host: hostValue - httpHeaders: - - name: nameValue - value: valueValue - path: pathValue - port: portValue - scheme: schemeValue - initialDelaySeconds: 2 - periodSeconds: 4 - successThreshold: 5 - tcpSocket: - host: hostValue - port: portValue - terminationGracePeriodSeconds: 7 - timeoutSeconds: 3 - stdin: true - stdinOnce: true - terminationMessagePath: terminationMessagePathValue - terminationMessagePolicy: terminationMessagePolicyValue - tty: true - volumeDevices: - - devicePath: devicePathValue - name: nameValue - volumeMounts: - - mountPath: mountPathValue - mountPropagation: mountPropagationValue - name: nameValue - readOnly: true - subPath: subPathValue - subPathExpr: subPathExprValue - workingDir: workingDirValue - nodeName: nodeNameValue - nodeSelector: - nodeSelectorKey: nodeSelectorValue - os: - name: nameValue - overhead: - overheadKey: "0" - preemptionPolicy: preemptionPolicyValue - priority: 25 - priorityClassName: priorityClassNameValue - readinessGates: - - conditionType: conditionTypeValue - resourceClaims: - - name: nameValue - source: - resourceClaimName: resourceClaimNameValue - resourceClaimTemplateName: resourceClaimTemplateNameValue - restartPolicy: restartPolicyValue - runtimeClassName: runtimeClassNameValue - schedulerName: schedulerNameValue - schedulingGates: - - name: nameValue - securityContext: - fsGroup: 5 - fsGroupChangePolicy: fsGroupChangePolicyValue - runAsGroup: 6 - runAsNonRoot: true - runAsUser: 2 - seLinuxOptions: - level: levelValue - role: roleValue - type: typeValue - user: userValue - seccompProfile: - localhostProfile: localhostProfileValue - type: typeValue - supplementalGroups: - - 4 - sysctls: - - name: nameValue - value: valueValue - windowsOptions: - gmsaCredentialSpec: gmsaCredentialSpecValue - gmsaCredentialSpecName: gmsaCredentialSpecNameValue - hostProcess: true - runAsUserName: runAsUserNameValue - serviceAccount: serviceAccountValue - serviceAccountName: serviceAccountNameValue - setHostnameAsFQDN: true - shareProcessNamespace: true - subdomain: subdomainValue - terminationGracePeriodSeconds: 4 - tolerations: - - effect: effectValue - key: keyValue - operator: operatorValue - tolerationSeconds: 5 - value: valueValue - topologySpreadConstraints: - - labelSelector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - matchLabelKeys: - - matchLabelKeysValue - maxSkew: 1 - minDomains: 5 - nodeAffinityPolicy: nodeAffinityPolicyValue - nodeTaintsPolicy: nodeTaintsPolicyValue - topologyKey: topologyKeyValue - whenUnsatisfiable: whenUnsatisfiableValue - volumes: - - awsElasticBlockStore: - fsType: fsTypeValue - partition: 3 - readOnly: true - volumeID: volumeIDValue - azureDisk: - cachingMode: cachingModeValue - diskName: diskNameValue - diskURI: diskURIValue - fsType: fsTypeValue - kind: kindValue - readOnly: true - azureFile: - readOnly: true - secretName: secretNameValue - shareName: shareNameValue - cephfs: - monitors: - - monitorsValue - path: pathValue - readOnly: true - secretFile: secretFileValue - secretRef: - name: nameValue - user: userValue - cinder: - fsType: fsTypeValue - readOnly: true - secretRef: - name: nameValue - volumeID: volumeIDValue - configMap: - defaultMode: 3 - items: - - key: keyValue - mode: 3 - path: pathValue - name: nameValue - optional: true - csi: - driver: driverValue - fsType: fsTypeValue - nodePublishSecretRef: - name: nameValue - readOnly: true - volumeAttributes: - volumeAttributesKey: volumeAttributesValue - downwardAPI: - defaultMode: 2 - items: - - fieldRef: - apiVersion: apiVersionValue - fieldPath: fieldPathValue - mode: 4 - path: pathValue - resourceFieldRef: - containerName: containerNameValue - divisor: "0" - resource: resourceValue - emptyDir: - medium: mediumValue - sizeLimit: "0" - ephemeral: - volumeClaimTemplate: - metadata: - annotations: - annotationsKey: annotationsValue - creationTimestamp: "2008-01-01T01:01:01Z" - deletionGracePeriodSeconds: 10 - deletionTimestamp: "2009-01-01T01:01:01Z" - finalizers: - - finalizersValue - generateName: generateNameValue - generation: 7 - labels: - labelsKey: labelsValue - managedFields: - - apiVersion: apiVersionValue - fieldsType: fieldsTypeValue - fieldsV1: {} - manager: managerValue - operation: operationValue - subresource: subresourceValue - time: "2004-01-01T01:01:01Z" - name: nameValue - namespace: namespaceValue - ownerReferences: - - apiVersion: apiVersionValue - blockOwnerDeletion: true - controller: true - kind: kindValue - name: nameValue - uid: uidValue - resourceVersion: resourceVersionValue - selfLink: selfLinkValue - uid: uidValue - spec: - accessModes: - - accessModesValue - dataSource: - apiGroup: apiGroupValue - kind: kindValue - name: nameValue - dataSourceRef: - apiGroup: apiGroupValue - kind: kindValue - name: nameValue - namespace: namespaceValue - resources: - claims: - - name: nameValue - limits: - limitsKey: "0" - requests: - requestsKey: "0" - selector: - matchExpressions: - - key: keyValue - operator: operatorValue - values: - - valuesValue - matchLabels: - matchLabelsKey: matchLabelsValue - storageClassName: storageClassNameValue - volumeMode: volumeModeValue - volumeName: volumeNameValue - fc: - fsType: fsTypeValue - lun: 2 - readOnly: true - targetWWNs: - - targetWWNsValue - wwids: - - wwidsValue - flexVolume: - driver: driverValue - fsType: fsTypeValue - options: - optionsKey: optionsValue - readOnly: true - secretRef: - name: nameValue - flocker: - datasetName: datasetNameValue - datasetUUID: datasetUUIDValue - gcePersistentDisk: - fsType: fsTypeValue - partition: 3 - pdName: pdNameValue - readOnly: true - gitRepo: - directory: directoryValue - repository: repositoryValue - revision: revisionValue - glusterfs: - endpoints: endpointsValue - path: pathValue - readOnly: true - hostPath: - path: pathValue - type: typeValue - iscsi: - chapAuthDiscovery: true - chapAuthSession: true - fsType: fsTypeValue - initiatorName: initiatorNameValue - iqn: iqnValue - iscsiInterface: iscsiInterfaceValue - lun: 3 - portals: - - portalsValue - readOnly: true - secretRef: - name: nameValue - targetPortal: targetPortalValue - name: nameValue - nfs: - path: pathValue - readOnly: true - server: serverValue - persistentVolumeClaim: - claimName: claimNameValue - readOnly: true - photonPersistentDisk: - fsType: fsTypeValue - pdID: pdIDValue - portworxVolume: - fsType: fsTypeValue - readOnly: true - volumeID: volumeIDValue - projected: - defaultMode: 2 - sources: - - configMap: - items: - - key: keyValue - mode: 3 - path: pathValue - name: nameValue - optional: true - downwardAPI: - items: - - fieldRef: - apiVersion: apiVersionValue - fieldPath: fieldPathValue - mode: 4 - path: pathValue - resourceFieldRef: - containerName: containerNameValue - divisor: "0" - resource: resourceValue - secret: - items: - - key: keyValue - mode: 3 - path: pathValue - name: nameValue - optional: true - serviceAccountToken: - audience: audienceValue - expirationSeconds: 2 - path: pathValue - quobyte: - group: groupValue - readOnly: true - registry: registryValue - tenant: tenantValue - user: userValue - volume: volumeValue - rbd: - fsType: fsTypeValue - image: imageValue - keyring: keyringValue - monitors: - - monitorsValue - pool: poolValue - readOnly: true - secretRef: - name: nameValue - user: userValue - scaleIO: - fsType: fsTypeValue - gateway: gatewayValue - protectionDomain: protectionDomainValue - readOnly: true - secretRef: - name: nameValue - sslEnabled: true - storageMode: storageModeValue - storagePool: storagePoolValue - system: systemValue - volumeName: volumeNameValue - secret: - defaultMode: 3 - items: - - key: keyValue - mode: 3 - path: pathValue - optional: true - secretName: secretNameValue - storageos: - fsType: fsTypeValue - readOnly: true - secretRef: - name: nameValue - volumeName: volumeNameValue - volumeNamespace: volumeNamespaceValue - vsphereVolume: - fsType: fsTypeValue - storagePolicyID: storagePolicyIDValue - storagePolicyName: storagePolicyNameValue - volumePath: volumePathValue - ttlSecondsAfterFinished: 8