diff --git a/pkg/apis/batch/validation/validation_test.go b/pkg/apis/batch/validation/validation_test.go index b39592c230c..b0aa8536e76 100644 --- a/pkg/apis/batch/validation/validation_test.go +++ b/pkg/apis/batch/validation/validation_test.go @@ -661,7 +661,7 @@ func TestValidateJob(t *testing.T) { UID: types.UID("1a2b3c"), }, Spec: batch.JobSpec{ - BackoffLimit: &negative, + BackoffLimit: pointer.Int32(-1), Selector: validGeneratedSelector, Template: validPodTemplateSpecForGenerated, }, @@ -1108,7 +1108,7 @@ func TestValidateJobUpdate(t *testing.T) { Field: "spec.completionMode", }, }, - "Completions but not indexed jobs": { + "immutable completions for non-indexed job when AllowElasticIndexedJobs is true": { old: batch.Job{ ObjectMeta: metav1.ObjectMeta{Name: "abc", Namespace: metav1.NamespaceDefault}, Spec: batch.JobSpec{ diff --git a/staging/src/k8s.io/api/batch/v1beta1/types.go b/staging/src/k8s.io/api/batch/v1beta1/types.go index d7ee3008531..7418303a690 100644 --- a/staging/src/k8s.io/api/batch/v1beta1/types.go +++ b/staging/src/k8s.io/api/batch/v1beta1/types.go @@ -22,10 +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 - // 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/zz_generated.deepcopy.go b/staging/src/k8s.io/api/batch/v1beta1/zz_generated.deepcopy.go index 718c303d7ea..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 @@ -175,11 +175,3 @@ func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec { in.DeepCopyInto(out) return out } - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *JobTemplateSpec) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} 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