From c072e5b3a7ebfeb3784f396ef9f81c3eda3db55d Mon Sep 17 00:00:00 2001 From: Hemant Kumar Date: Mon, 10 Jul 2023 12:23:18 -0400 Subject: [PATCH] Update test generated data for 1.26 branch --- .../apps.v1.StatefulSet.after_roundtrip.json | 1821 +++++++++++++++++ .../apps.v1.StatefulSet.after_roundtrip.pb | Bin 0 -> 10976 bytes .../apps.v1.StatefulSet.after_roundtrip.yaml | 1250 +++++++++++ ...s.v1beta1.StatefulSet.after_roundtrip.json | 1821 +++++++++++++++++ ...pps.v1beta1.StatefulSet.after_roundtrip.pb | Bin 0 -> 10981 bytes ...s.v1beta1.StatefulSet.after_roundtrip.yaml | 1250 +++++++++++ ...s.v1beta2.StatefulSet.after_roundtrip.json | 1821 +++++++++++++++++ ...pps.v1beta2.StatefulSet.after_roundtrip.pb | Bin 0 -> 10981 bytes ...s.v1beta2.StatefulSet.after_roundtrip.yaml | 1250 +++++++++++ ...PersistentVolumeClaim.after_roundtrip.json | 114 ++ ...1.PersistentVolumeClaim.after_roundtrip.pb | Bin 0 -> 854 bytes ...PersistentVolumeClaim.after_roundtrip.yaml | 79 + 12 files changed, 9406 insertions(+) create mode 100644 staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.StatefulSet.after_roundtrip.json create mode 100644 staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.StatefulSet.after_roundtrip.pb create mode 100644 staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.StatefulSet.after_roundtrip.yaml create mode 100644 staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.StatefulSet.after_roundtrip.json create mode 100644 staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.StatefulSet.after_roundtrip.pb create mode 100644 staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.StatefulSet.after_roundtrip.yaml create mode 100644 staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.StatefulSet.after_roundtrip.json create mode 100644 staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.StatefulSet.after_roundtrip.pb create mode 100644 staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.StatefulSet.after_roundtrip.yaml create mode 100644 staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolumeClaim.after_roundtrip.json create mode 100644 staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolumeClaim.after_roundtrip.pb create mode 100644 staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolumeClaim.after_roundtrip.yaml diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.StatefulSet.after_roundtrip.json b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.StatefulSet.after_roundtrip.json new file mode 100644 index 00000000000..9c21afab669 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.StatefulSet.after_roundtrip.json @@ -0,0 +1,1821 @@ +{ + "kind": "StatefulSet", + "apiVersion": "apps/v1", + "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": { + "replicas": 1, + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "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" + } + } + ] + } + }, + "volumeClaimTemplates": [ + { + "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" + } + }, + "status": { + "phase": "phaseValue", + "accessModes": [ + "accessModesValue" + ], + "capacity": { + "capacityKey": "0" + }, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastProbeTime": "2003-01-01T01:01:01Z", + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ], + "allocatedResources": { + "allocatedResourcesKey": "0" + } + } + } + ], + "serviceName": "serviceNameValue", + "podManagementPolicy": "podManagementPolicyValue", + "updateStrategy": { + "type": "typeValue", + "rollingUpdate": { + "partition": 1, + "maxUnavailable": "maxUnavailableValue" + } + }, + "revisionHistoryLimit": 8, + "minReadySeconds": 9, + "persistentVolumeClaimRetentionPolicy": { + "whenDeleted": "whenDeletedValue", + "whenScaled": "whenScaledValue" + }, + "ordinals": { + "start": 1 + } + }, + "status": { + "observedGeneration": 1, + "replicas": 2, + "readyReplicas": 3, + "currentReplicas": 4, + "updatedReplicas": 5, + "currentRevision": "currentRevisionValue", + "updateRevision": "updateRevisionValue", + "collisionCount": 9, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ], + "availableReplicas": 11 + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.StatefulSet.after_roundtrip.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.StatefulSet.after_roundtrip.pb new file mode 100644 index 0000000000000000000000000000000000000000..3f6045c1c1163fb37f8127b24742127ccc65dab5 GIT binary patch literal 10976 zcmeHNUx*w@8Q*UI4zM7Ip5OWeEw9Ba=B=K)#$)>Pb@HbIDS52R zKhNAArw7~I;~_41IU6#o$!rubTP?9BBJQ@%3GcG}qF(F?M?Nh~g*@_mA+FWBLc+3^okU+W54cH`=F7sHMhjM^c{UG5# zBi|g}#zG$Mz5V{UF}8r4ao35?ZwE>;jeVr>l~AyA)%`I{; zW?`GhD}ER=SJ7A$uPD==8Mh`yWJhAri+R|}97J7bVjdcmKz^(g_av;AHGy7)O)5MQ z3x*8j1TP&URqi=~FT7ZNMs>1QDXH2n6W#m+12(=uCb~ZELKfL$wCFqE)-r{zBP0jPr~L|Qg%X-%ShkO)R)de-6X^ha>rFkpXIKXo_pkR zgQag3o*ibWF9Neqx0N3Di^5gB*7Z&1;o7sra9GSDT_3WM_4QQmuEUqehOXBiBEx=< zR;9OF$yDE*Bh>c2m^3wBa@!VBoLOdB?Jf^{2CV)m)k!<_dx6rla?CyE#q#A2ERqRFM3?iQ(Ms~VzPc#q zO~Yn(2i0=fchc~yE8iR}^uyp?z>pd^4{{}M!0|_`-dpf>AeA=8{VObWGv#PIin;P; z!%99Kgno=p2czT}zl$oMI5ToNr3Ti>Mso6-=?UcgF6sQNz&r3;Ain`Jx4Uzl1^UIu zskx}-yV5W8p6mZDNaK5?pv%;_&uD?v@hqKPAP>+2KoSN*eY}a?!kotS7gAz zYU`t9Qf+xEjzh88i@C&4)5C-Eyarswd+?q8t;66zV z1jM2%VtHbT<4hn$$X`Ls*B=|OM041ftUU#p_36}}PrEFNa;;rR|C-x$fp{r* zakTH0G;H2{VOPtnp?rg0uV{c_Agotxzl-2qWdT+Rk%|&#y>`V9F+FIX5ovUPPTRsL zAaI#TJeY51K%m_5qj+&ennmOLpsl84D}mi|#{3$Pe;pa=t|Oy)WYD|h&>w@x!>5}6 ziK;A}*LXs&QSJIYFV5qjRl%esf2&Wc+0YLd#)K>vT1YaRWYO8Hfs*U$4}g3NNRSTCutwp4)Q^(kJ*c*afw@&BL9ilsyohV} z&F!Cm>coMKC!N5}e*k&)0~H|sV1IwGiv2Othh4N3`Y9|n`bW8N6@mbfanq_qJzflLk$+=62dkfKDfa);Y+R5z}ggBhgV z7xNu>(#-^=icye-n209OTr!o|_(Ik3B5kbkEU9@IRM)sGbK<17bWk6VUp5b?{^FEv zCkLJ%)Y9bOgj~Hkk!+B!xd>l|4upRM^6#k{h8<9DsqrvR*W6Q`TbgM_GA5tyFfU7L z6i2(z#%nt4ybcqIwt87j@CH;d6gYk8e-nOvfZPVMN><1&OIUQb>&~Nt-}_y^IZl27 zWKZ!DttA4IKwjYx(}?}Rcm4J@>YA70`x&!9U&y_#0qpoAa*h;AnZp^#a!7d~5)9ICGMu zBB{^aDEuZWex6A*1j<3hzT@x>0x^h4)d3Eh~5!@PA)oqcf^Me|kq#|GNda zRnW^puNUCXz`)(YS-rk^f*i`O0bqpH?rG5D1LNm0(7O6vGwY{MjT(@n24r^2?a63B zn%@ILf(~Axk#Lso=-rx#4Q+-OBoT#W*wA`OFZh?Sb{+Rpz={_L|NiEEyg=B$N?6A} zFN@L}lM59rA|`DR`Mdg2GR@qiVGwg?HN9Y&w}|UTTCmQ`(+e|!?<~t3ja}?p=%}!+ zlXMJ`>k%3A5fxrt_t+K_cnLFwswaz|DXl(3j0DJ@!CE^0TQOftM%J)bNf%9hKr|Q2=9o41Pa9|#9RL6T literal 0 HcmV?d00001 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.StatefulSet.after_roundtrip.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.StatefulSet.after_roundtrip.yaml new file mode 100644 index 00000000000..5d90df0b021 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.StatefulSet.after_roundtrip.yaml @@ -0,0 +1,1250 @@ +apiVersion: apps/v1 +kind: StatefulSet +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: + minReadySeconds: 9 + ordinals: + start: 1 + persistentVolumeClaimRetentionPolicy: + whenDeleted: whenDeletedValue + whenScaled: whenScaledValue + podManagementPolicy: podManagementPolicyValue + replicas: 1 + revisionHistoryLimit: 8 + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + serviceName: serviceNameValue + 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 + updateStrategy: + rollingUpdate: + maxUnavailable: maxUnavailableValue + partition: 1 + type: typeValue + volumeClaimTemplates: + - 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 + status: + accessModes: + - accessModesValue + allocatedResources: + allocatedResourcesKey: "0" + capacity: + capacityKey: "0" + conditions: + - lastProbeTime: "2003-01-01T01:01:01Z" + lastTransitionTime: "2004-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + phase: phaseValue +status: + availableReplicas: 11 + collisionCount: 9 + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + currentReplicas: 4 + currentRevision: currentRevisionValue + observedGeneration: 1 + readyReplicas: 3 + replicas: 2 + updateRevision: updateRevisionValue + updatedReplicas: 5 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.StatefulSet.after_roundtrip.json b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.StatefulSet.after_roundtrip.json new file mode 100644 index 00000000000..ab37de84553 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.StatefulSet.after_roundtrip.json @@ -0,0 +1,1821 @@ +{ + "kind": "StatefulSet", + "apiVersion": "apps/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" + } + ] + }, + "spec": { + "replicas": 1, + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "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" + } + } + ] + } + }, + "volumeClaimTemplates": [ + { + "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" + } + }, + "status": { + "phase": "phaseValue", + "accessModes": [ + "accessModesValue" + ], + "capacity": { + "capacityKey": "0" + }, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastProbeTime": "2003-01-01T01:01:01Z", + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ], + "allocatedResources": { + "allocatedResourcesKey": "0" + } + } + } + ], + "serviceName": "serviceNameValue", + "podManagementPolicy": "podManagementPolicyValue", + "updateStrategy": { + "type": "typeValue", + "rollingUpdate": { + "partition": 1, + "maxUnavailable": "maxUnavailableValue" + } + }, + "revisionHistoryLimit": 8, + "minReadySeconds": 9, + "persistentVolumeClaimRetentionPolicy": { + "whenDeleted": "whenDeletedValue", + "whenScaled": "whenScaledValue" + }, + "ordinals": { + "start": 1 + } + }, + "status": { + "observedGeneration": 1, + "replicas": 2, + "readyReplicas": 3, + "currentReplicas": 4, + "updatedReplicas": 5, + "currentRevision": "currentRevisionValue", + "updateRevision": "updateRevisionValue", + "collisionCount": 9, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ], + "availableReplicas": 11 + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.StatefulSet.after_roundtrip.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.StatefulSet.after_roundtrip.pb new file mode 100644 index 0000000000000000000000000000000000000000..b0512dd909c1a91fa950f909b2368daf49f1283b GIT binary patch literal 10981 zcmeHNU5Ff66`s?RY`SmvbXV^Drt-sByGrO)cXo7PXb_T_WY-yImT{6XVHELB)$Qq< zR9DqjRnKH13lb4DFG@hr1zpV362*r+Mnqf`mW2gbRuDmvJovB=5?>WuPu*KpeY^AH zC=)kIzg69P>()8vo}cfWb1%tY;%;+Uc$eiD^JiRcWGHY$}cu8Qe~d!Bbm5~ zoHn#~x#rRfq;y$$>c?i6ek-S@USomK37LU82y0E@F;`qg0_8r}VUtwa%wtcSoezeMp;_FFyH0d|H&Bvk93X|SzB+G2oy}YlQmB9Ud=cm}LB857 zwp+_N+lKb8e*ZC2yv%pi^N1qFSCpCM?PN1WxB1@U;NTwr!Tse$@&VP&?+ID@HAM{WMtcSJ8iyrMt#-4qCP`v zArJgW#D18mMaZ{BZeM2A5h1tp>Df<`TEy*;$KC%_{wnF%O%WgQ)9F%s`_O$d8rco`SWqCeVwp zNrfk3!H|KR;HBfF$~`CWg%_*Os7}@zB~{yHqMd(Wz{VHJNZZGq{M5235pA?;NwTR^ zWR(KnSFF@a9b{cDnXRDNg~HpCZw;NsQ?PlKl$}uIGSas*^`+BLHwp2B+;LUXXSwU8 zXCHaoVCh?hXZsoIioopBZKa3(qHqv1(|v9KGNrr#j&Zoxc3Zns1fXO>x3yUW9#0;_vUb+Q%uoj_??Ip!YoV)=3#7RiVsqRaWuXeD`F zUt5&(reQO?g=)FtJ8AgUmG30XcEjKuz>pd^4{{}M!ih(#-rMjEAeAkQ`#UUkGv#PE zin;P;{YpL_gno=p2czT}zl|!OI5ToNr3Ti>Mso7!(-X+~UDEkkg?Hh%Kz;+{C%)z-(!sM_*$9EW1F6LX25#`_25dG)x8_u;z-$&G^pRPp#x#ZL;vV7ASpC^3sP zz*J|CFSsmgU$KwC}8b^^QQjQMpS|2i_#Jx50KNUwLvp+5$X zhfmG_C#te^UgHV9Mz!sCyf}}8Rt1xm{H;E&WGiv0=Fg1Kjb#VE)^OhglCE}2Sfe75R%kv7(NhSWR^s^_>XbK<17bXXsdU(Qda z{^GQ4CkLJ%)Y540gj~Hgl5CK#xd>l@7KDEU^6#k{h8<9DsqrvRH@~ksw=~s^WK3RY zF)vGM6i0i|#;ZE)yapqQwt87j@H$j66gXYze*=Dfh};6QMpnrlOIUQT>&~Nt-~U~| zHB5d1WMA)7yRI)*pR?4vd%tDM& zDaLvjnEoBWT^N&13I`iZzL)oD--mI`(PGi&y??w1@HfEHHs@{G!O`-HYXz*u`Pcwz zapojRMN*%;Uif8#zwQHh=EP2md+T0=Ic?MwY%|S4_ZR$O@-vwvCa0U&(?;oO)HcSG ziSt;OkM-neezeZWLaxkU@AKg!jHO-5|UV!uz1amK8h<_`ff)(J9rRU%0QS z|Gfg-Ea>H+HwtjOXW&lZtX^N7BNN#*0F1EOJq>!IXZ$<{T35eoX8rW3K?8EofXr^W zJsAy1^ZP(Z(84P;63){5dbcKGL!03RNkm~8Hnd*S3;t!SUB{giu;K;6zrS@4FA#RG z64tTL%cAtgZ#&qOKVRPBLT8!u$GShR?OFuk#pF+NC!3w zMKG`6KG;;11^F?%6NdQXHT{xWW3&_CEhOGEh=2HuPSHbzq>HBBBbtk4bI2O{CjbK& A^Z)<= literal 0 HcmV?d00001 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.StatefulSet.after_roundtrip.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.StatefulSet.after_roundtrip.yaml new file mode 100644 index 00000000000..edc4eba917e --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.StatefulSet.after_roundtrip.yaml @@ -0,0 +1,1250 @@ +apiVersion: apps/v1beta1 +kind: StatefulSet +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: + minReadySeconds: 9 + ordinals: + start: 1 + persistentVolumeClaimRetentionPolicy: + whenDeleted: whenDeletedValue + whenScaled: whenScaledValue + podManagementPolicy: podManagementPolicyValue + replicas: 1 + revisionHistoryLimit: 8 + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + serviceName: serviceNameValue + 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 + updateStrategy: + rollingUpdate: + maxUnavailable: maxUnavailableValue + partition: 1 + type: typeValue + volumeClaimTemplates: + - 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 + status: + accessModes: + - accessModesValue + allocatedResources: + allocatedResourcesKey: "0" + capacity: + capacityKey: "0" + conditions: + - lastProbeTime: "2003-01-01T01:01:01Z" + lastTransitionTime: "2004-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + phase: phaseValue +status: + availableReplicas: 11 + collisionCount: 9 + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + currentReplicas: 4 + currentRevision: currentRevisionValue + observedGeneration: 1 + readyReplicas: 3 + replicas: 2 + updateRevision: updateRevisionValue + updatedReplicas: 5 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.StatefulSet.after_roundtrip.json b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.StatefulSet.after_roundtrip.json new file mode 100644 index 00000000000..731fc186042 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.StatefulSet.after_roundtrip.json @@ -0,0 +1,1821 @@ +{ + "kind": "StatefulSet", + "apiVersion": "apps/v1beta2", + "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": { + "replicas": 1, + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "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" + } + } + ] + } + }, + "volumeClaimTemplates": [ + { + "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" + } + }, + "status": { + "phase": "phaseValue", + "accessModes": [ + "accessModesValue" + ], + "capacity": { + "capacityKey": "0" + }, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastProbeTime": "2003-01-01T01:01:01Z", + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ], + "allocatedResources": { + "allocatedResourcesKey": "0" + } + } + } + ], + "serviceName": "serviceNameValue", + "podManagementPolicy": "podManagementPolicyValue", + "updateStrategy": { + "type": "typeValue", + "rollingUpdate": { + "partition": 1, + "maxUnavailable": "maxUnavailableValue" + } + }, + "revisionHistoryLimit": 8, + "minReadySeconds": 9, + "persistentVolumeClaimRetentionPolicy": { + "whenDeleted": "whenDeletedValue", + "whenScaled": "whenScaledValue" + }, + "ordinals": { + "start": 1 + } + }, + "status": { + "observedGeneration": 1, + "replicas": 2, + "readyReplicas": 3, + "currentReplicas": 4, + "updatedReplicas": 5, + "currentRevision": "currentRevisionValue", + "updateRevision": "updateRevisionValue", + "collisionCount": 9, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ], + "availableReplicas": 11 + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.StatefulSet.after_roundtrip.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.StatefulSet.after_roundtrip.pb new file mode 100644 index 0000000000000000000000000000000000000000..9bcc1e46543f127b06c80de949035779837fc409 GIT binary patch literal 10981 zcmeHNUx*w@8Q*UpW%+T3(4+%v)V|g~#;gtK?4w zQu0`be}TDOP7iKykB7M6AyA) zvzz2#%)$*GFZp52Tt#D1yrN8dYScO;B0CcEUd+Q*<{;`i6Eo1P1oC60xTj&ctO@iI ztW)8MSTJNDCwSpFsdCQ=eBs6FGpdudOi9&tndsyn7_jz5GS=~NCqK1pN<;^(T9Rz) z6j`Of_Z2JkQWsg5OBxk4yHI!=@~x@UcpBEvk+KttTt@nKroMC<>Lww6kUOqQ`Yd<7 z{M;jt8!UaR@Z2CnJrS5ax~=rEUlgw5wXSb61J|AH3h3tgfbdcOAY=)^xpo znhg3qT9w{zDN}v(B%!wN#Y|wl$Pa>!^?5!sv4ZJ+M&SmaS}Ik#c=2U*rbeOfTu^po zYfCt4@+Lg9Q;(}rn}xl|GzG8WH#)!cQJQ`W7D-K+Th2wFNt%-pst+p7lJ5$8J7>xo z?;B5Lb{l31a=Rg-IJ3;M+Fc&@6j;4es*{b-?*>ZK$}#tt7t5DBFi*xD5naiDMk~qd z>hiptHw~NFZB)zizLSPuUHMKzqZbD60*2JUd5|l46HYu@_1=bW0I6(X+}~oUn<+=z zQOuP$8&vX%AoOE&Iv6F-`W;jO#hH=IDK)TWHj9|suWS|GI2CYIT;2vD; zb43R9t+qZ!4yi5A#BnIryD^veX<~3to>!l%cptvIpWNI(L=}%8Rs6I-3})LriW0L( z1Kg*Gfq+C0B`Fdl0mS_$dleMQHvp$j9^PJ0~DA(FX`q$j1n;${d z55!Bki=#cKq+#>f7k0JG8pt>3^@;`<`oem}_B#mPRTf~C5UD6()@xgSi0Q$`S&>Hf z=d>-10s@z@#Dn>E1_a7&KZ@sNBX@>4*fBB zJbY^QKT(y13mQ-8HL4xI>&1B-v?`diW?!E8YsCg{}9Nx zfmBJ~Nzn5;l&BTK7(rKvAW#Xhl*n2>TII-Y^ECCWAJ!=Blln0-xChntFfg~OBnVdI zju&z5zLWcBo;r14?MWwa{U1PH{ZIu+KiuD6K8m?R2ea}-&Ca7wOz>9*GQ)8R;+MLv zt1y{Vn``d@nIJ{xD8r{E2NhM$pkjZV^k5e)g?wlhKvEbuU0kT5 zN3hQ)Rw1`qUL;31IuV--xx+n7P~4S(+qn~@hj&iO?@StYy))4&YGl568rCe*BY;l0 zzRldk437)#57_*@Lhjn8}(31es2L9{S}~W{^!{+hi8$LoF7!@{jaOk zYd{lB=5$>xe%*p02FKor2G55WoDVVh-X$?Z3_ir*Pdo;H9pDapT5BZ@^e44KiB;yU z76NdIc~0)X3rENSp;9zj&5)$RNN>Vq5DGsO@pgZi=`A?&E;NZDF_mmkrIj-5KeG^H zREn`42Bv=pa1X|1lfuCUlkeqy+V^1sbF^4=c>f>o1N;rJw9R=(c5t-3;(7sVaXvPH z+MGE_Qjyf>ZWMl*;IADZ&z#(9b8pp)FsF@Lf~}`H=-z@qOnwe0iOHE3_OwxY8nw-d zWa0wW& z)c;-qZWZ)$(CY=b(>HLpa89o;o+6XkH2{pT+C2?=qHp{H23l9YYi9lIsbK?h*nrG# zxjh*TNb~zZNYKVBG!o9z9lcu#W6=>`8X)~@4j3Rv+1;osl7j~57g zR|)Ib=VeiPW3o}fB4W}8k-w`SBNNO`8U`_UmeUKCd5gGiqy_7|Jl&WIeCNEp(b&Ph zg^mjAI!VV7xgL=*A5r1eRgY~lftN5-sCv5i+0ybe#7KbbS*)ewzZLVfWMl=q7wN!S zp$O(x+y|SgvLHWhcf$~WysTeRYaZ$bcngX54dNd@qf_({A?c#2_lf3G*&MM({s}78 B81(=E literal 0 HcmV?d00001 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.StatefulSet.after_roundtrip.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.StatefulSet.after_roundtrip.yaml new file mode 100644 index 00000000000..d2e65bdb9a8 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.StatefulSet.after_roundtrip.yaml @@ -0,0 +1,1250 @@ +apiVersion: apps/v1beta2 +kind: StatefulSet +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: + minReadySeconds: 9 + ordinals: + start: 1 + persistentVolumeClaimRetentionPolicy: + whenDeleted: whenDeletedValue + whenScaled: whenScaledValue + podManagementPolicy: podManagementPolicyValue + replicas: 1 + revisionHistoryLimit: 8 + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + serviceName: serviceNameValue + 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 + updateStrategy: + rollingUpdate: + maxUnavailable: maxUnavailableValue + partition: 1 + type: typeValue + volumeClaimTemplates: + - 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 + status: + accessModes: + - accessModesValue + allocatedResources: + allocatedResourcesKey: "0" + capacity: + capacityKey: "0" + conditions: + - lastProbeTime: "2003-01-01T01:01:01Z" + lastTransitionTime: "2004-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + phase: phaseValue +status: + availableReplicas: 11 + collisionCount: 9 + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + currentReplicas: 4 + currentRevision: currentRevisionValue + observedGeneration: 1 + readyReplicas: 3 + replicas: 2 + updateRevision: updateRevisionValue + updatedReplicas: 5 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolumeClaim.after_roundtrip.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolumeClaim.after_roundtrip.json new file mode 100644 index 00000000000..cb228c99cac --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolumeClaim.after_roundtrip.json @@ -0,0 +1,114 @@ +{ + "kind": "PersistentVolumeClaim", + "apiVersion": "v1", + "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" + } + }, + "status": { + "phase": "phaseValue", + "accessModes": [ + "accessModesValue" + ], + "capacity": { + "capacityKey": "0" + }, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastProbeTime": "2003-01-01T01:01:01Z", + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ], + "allocatedResources": { + "allocatedResourcesKey": "0" + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolumeClaim.after_roundtrip.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolumeClaim.after_roundtrip.pb new file mode 100644 index 0000000000000000000000000000000000000000..f44dd56197e45c90f139711db6f2bc6dd8d6e73d GIT binary patch literal 854 zcma)5KabNe6i<35XkV^vh^T}NQzRHN9YrTqHlx-X_F^r)1|Qj0^} zbG&tSJueTSGw0GTCL8=|gC^_Kl5Ydq4@aTypK?hBe~kd$oOj_A_6jQL8Po0}>8Y~j zzlKk)j!BWjkBi?saWKSTOw7#lW$BeU+=bSgx8vAU(?$s=>ZcaOG|!naPt=V0&B+6Z zQ2}0X>nQF(xSu2tY4)mOW^+fPEqh3R;mm8yNhg4671ZYElSa&V>+DJ0gZ7*)eckm0 zmFG*MMGeto$_B