diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admission.k8s.io.v1.AdmissionReview.json b/staging/src/k8s.io/api/testdata/v1.26.0/admission.k8s.io.v1.AdmissionReview.json new file mode 100644 index 00000000000..c34bd5e4397 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/admission.k8s.io.v1.AdmissionReview.json @@ -0,0 +1,113 @@ +{ + "kind": "AdmissionReview", + "apiVersion": "admission.k8s.io/v1", + "request": { + "uid": "uidValue", + "kind": { + "group": "groupValue", + "version": "versionValue", + "kind": "kindValue" + }, + "resource": { + "group": "groupValue", + "version": "versionValue", + "resource": "resourceValue" + }, + "subResource": "subResourceValue", + "requestKind": { + "group": "groupValue", + "version": "versionValue", + "kind": "kindValue" + }, + "requestResource": { + "group": "groupValue", + "version": "versionValue", + "resource": "resourceValue" + }, + "requestSubResource": "requestSubResourceValue", + "name": "nameValue", + "namespace": "namespaceValue", + "operation": "operationValue", + "userInfo": { + "username": "usernameValue", + "uid": "uidValue", + "groups": [ + "groupsValue" + ], + "extra": { + "extraKey": [ + "extraValue" + ] + } + }, + "object": { + "apiVersion": "example.com/v1", + "kind": "CustomType", + "spec": { + "replicas": 1 + }, + "status": { + "available": 1 + } + }, + "oldObject": { + "apiVersion": "example.com/v1", + "kind": "CustomType", + "spec": { + "replicas": 1 + }, + "status": { + "available": 1 + } + }, + "dryRun": true, + "options": { + "apiVersion": "example.com/v1", + "kind": "CustomType", + "spec": { + "replicas": 1 + }, + "status": { + "available": 1 + } + } + }, + "response": { + "uid": "uidValue", + "allowed": true, + "status": { + "metadata": { + "selfLink": "selfLinkValue", + "resourceVersion": "resourceVersionValue", + "continue": "continueValue", + "remainingItemCount": 4 + }, + "status": "statusValue", + "message": "messageValue", + "reason": "reasonValue", + "details": { + "name": "nameValue", + "group": "groupValue", + "kind": "kindValue", + "uid": "uidValue", + "causes": [ + { + "reason": "reasonValue", + "message": "messageValue", + "field": "fieldValue" + } + ], + "retryAfterSeconds": 5 + }, + "code": 6 + }, + "patch": "BA==", + "patchType": "patchTypeValue", + "auditAnnotations": { + "auditAnnotationsKey": "auditAnnotationsValue" + }, + "warnings": [ + "warningsValue" + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admission.k8s.io.v1.AdmissionReview.pb b/staging/src/k8s.io/api/testdata/v1.26.0/admission.k8s.io.v1.AdmissionReview.pb new file mode 100644 index 00000000000..73532668dba Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/admission.k8s.io.v1.AdmissionReview.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admission.k8s.io.v1.AdmissionReview.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/admission.k8s.io.v1.AdmissionReview.yaml new file mode 100644 index 00000000000..c278ba71e73 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/admission.k8s.io.v1.AdmissionReview.yaml @@ -0,0 +1,84 @@ +apiVersion: admission.k8s.io/v1 +kind: AdmissionReview +request: + dryRun: true + kind: + group: groupValue + kind: kindValue + version: versionValue + name: nameValue + namespace: namespaceValue + object: + apiVersion: example.com/v1 + kind: CustomType + spec: + replicas: 1 + status: + available: 1 + oldObject: + apiVersion: example.com/v1 + kind: CustomType + spec: + replicas: 1 + status: + available: 1 + operation: operationValue + options: + apiVersion: example.com/v1 + kind: CustomType + spec: + replicas: 1 + status: + available: 1 + requestKind: + group: groupValue + kind: kindValue + version: versionValue + requestResource: + group: groupValue + resource: resourceValue + version: versionValue + requestSubResource: requestSubResourceValue + resource: + group: groupValue + resource: resourceValue + version: versionValue + subResource: subResourceValue + uid: uidValue + userInfo: + extra: + extraKey: + - extraValue + groups: + - groupsValue + uid: uidValue + username: usernameValue +response: + allowed: true + auditAnnotations: + auditAnnotationsKey: auditAnnotationsValue + patch: BA== + patchType: patchTypeValue + status: + code: 6 + details: + causes: + - field: fieldValue + message: messageValue + reason: reasonValue + group: groupValue + kind: kindValue + name: nameValue + retryAfterSeconds: 5 + uid: uidValue + message: messageValue + metadata: + continue: continueValue + remainingItemCount: 4 + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + reason: reasonValue + status: statusValue + uid: uidValue + warnings: + - warningsValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admission.k8s.io.v1beta1.AdmissionReview.json b/staging/src/k8s.io/api/testdata/v1.26.0/admission.k8s.io.v1beta1.AdmissionReview.json new file mode 100644 index 00000000000..ee068e50c68 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/admission.k8s.io.v1beta1.AdmissionReview.json @@ -0,0 +1,113 @@ +{ + "kind": "AdmissionReview", + "apiVersion": "admission.k8s.io/v1beta1", + "request": { + "uid": "uidValue", + "kind": { + "group": "groupValue", + "version": "versionValue", + "kind": "kindValue" + }, + "resource": { + "group": "groupValue", + "version": "versionValue", + "resource": "resourceValue" + }, + "subResource": "subResourceValue", + "requestKind": { + "group": "groupValue", + "version": "versionValue", + "kind": "kindValue" + }, + "requestResource": { + "group": "groupValue", + "version": "versionValue", + "resource": "resourceValue" + }, + "requestSubResource": "requestSubResourceValue", + "name": "nameValue", + "namespace": "namespaceValue", + "operation": "operationValue", + "userInfo": { + "username": "usernameValue", + "uid": "uidValue", + "groups": [ + "groupsValue" + ], + "extra": { + "extraKey": [ + "extraValue" + ] + } + }, + "object": { + "apiVersion": "example.com/v1", + "kind": "CustomType", + "spec": { + "replicas": 1 + }, + "status": { + "available": 1 + } + }, + "oldObject": { + "apiVersion": "example.com/v1", + "kind": "CustomType", + "spec": { + "replicas": 1 + }, + "status": { + "available": 1 + } + }, + "dryRun": true, + "options": { + "apiVersion": "example.com/v1", + "kind": "CustomType", + "spec": { + "replicas": 1 + }, + "status": { + "available": 1 + } + } + }, + "response": { + "uid": "uidValue", + "allowed": true, + "status": { + "metadata": { + "selfLink": "selfLinkValue", + "resourceVersion": "resourceVersionValue", + "continue": "continueValue", + "remainingItemCount": 4 + }, + "status": "statusValue", + "message": "messageValue", + "reason": "reasonValue", + "details": { + "name": "nameValue", + "group": "groupValue", + "kind": "kindValue", + "uid": "uidValue", + "causes": [ + { + "reason": "reasonValue", + "message": "messageValue", + "field": "fieldValue" + } + ], + "retryAfterSeconds": 5 + }, + "code": 6 + }, + "patch": "BA==", + "patchType": "patchTypeValue", + "auditAnnotations": { + "auditAnnotationsKey": "auditAnnotationsValue" + }, + "warnings": [ + "warningsValue" + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admission.k8s.io.v1beta1.AdmissionReview.pb b/staging/src/k8s.io/api/testdata/v1.26.0/admission.k8s.io.v1beta1.AdmissionReview.pb new file mode 100644 index 00000000000..a5b36e718dd Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/admission.k8s.io.v1beta1.AdmissionReview.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admission.k8s.io.v1beta1.AdmissionReview.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/admission.k8s.io.v1beta1.AdmissionReview.yaml new file mode 100644 index 00000000000..d6c7bfd77b3 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/admission.k8s.io.v1beta1.AdmissionReview.yaml @@ -0,0 +1,84 @@ +apiVersion: admission.k8s.io/v1beta1 +kind: AdmissionReview +request: + dryRun: true + kind: + group: groupValue + kind: kindValue + version: versionValue + name: nameValue + namespace: namespaceValue + object: + apiVersion: example.com/v1 + kind: CustomType + spec: + replicas: 1 + status: + available: 1 + oldObject: + apiVersion: example.com/v1 + kind: CustomType + spec: + replicas: 1 + status: + available: 1 + operation: operationValue + options: + apiVersion: example.com/v1 + kind: CustomType + spec: + replicas: 1 + status: + available: 1 + requestKind: + group: groupValue + kind: kindValue + version: versionValue + requestResource: + group: groupValue + resource: resourceValue + version: versionValue + requestSubResource: requestSubResourceValue + resource: + group: groupValue + resource: resourceValue + version: versionValue + subResource: subResourceValue + uid: uidValue + userInfo: + extra: + extraKey: + - extraValue + groups: + - groupsValue + uid: uidValue + username: usernameValue +response: + allowed: true + auditAnnotations: + auditAnnotationsKey: auditAnnotationsValue + patch: BA== + patchType: patchTypeValue + status: + code: 6 + details: + causes: + - field: fieldValue + message: messageValue + reason: reasonValue + group: groupValue + kind: kindValue + name: nameValue + retryAfterSeconds: 5 + uid: uidValue + message: messageValue + metadata: + continue: continueValue + remainingItemCount: 4 + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + reason: reasonValue + status: statusValue + uid: uidValue + warnings: + - warningsValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1.MutatingWebhookConfiguration.json b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1.MutatingWebhookConfiguration.json new file mode 100644 index 00000000000..86c3ef588ce --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1.MutatingWebhookConfiguration.json @@ -0,0 +1,114 @@ +{ + "kind": "MutatingWebhookConfiguration", + "apiVersion": "admissionregistration.k8s.io/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" + } + ] + }, + "webhooks": [ + { + "name": "nameValue", + "clientConfig": { + "url": "urlValue", + "service": { + "namespace": "namespaceValue", + "name": "nameValue", + "path": "pathValue", + "port": 4 + }, + "caBundle": "Ag==" + }, + "rules": [ + { + "operations": [ + "operationsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "apiVersions": [ + "apiVersionsValue" + ], + "resources": [ + "resourcesValue" + ], + "scope": "scopeValue" + } + ], + "failurePolicy": "failurePolicyValue", + "matchPolicy": "matchPolicyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "objectSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "sideEffects": "sideEffectsValue", + "timeoutSeconds": 7, + "admissionReviewVersions": [ + "admissionReviewVersionsValue" + ], + "reinvocationPolicy": "reinvocationPolicyValue" + } + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1.MutatingWebhookConfiguration.pb b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1.MutatingWebhookConfiguration.pb new file mode 100644 index 00000000000..ab7c8339db9 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1.MutatingWebhookConfiguration.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1.MutatingWebhookConfiguration.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1.MutatingWebhookConfiguration.yaml new file mode 100644 index 00000000000..2d615efafbe --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1.MutatingWebhookConfiguration.yaml @@ -0,0 +1,77 @@ +apiVersion: admissionregistration.k8s.io/v1 +kind: MutatingWebhookConfiguration +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 +webhooks: +- admissionReviewVersions: + - admissionReviewVersionsValue + clientConfig: + caBundle: Ag== + service: + name: nameValue + namespace: namespaceValue + path: pathValue + port: 4 + url: urlValue + failurePolicy: failurePolicyValue + matchPolicy: matchPolicyValue + name: nameValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + objectSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + reinvocationPolicy: reinvocationPolicyValue + rules: + - apiGroups: + - apiGroupsValue + apiVersions: + - apiVersionsValue + operations: + - operationsValue + resources: + - resourcesValue + scope: scopeValue + sideEffects: sideEffectsValue + timeoutSeconds: 7 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1.ValidatingWebhookConfiguration.json b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1.ValidatingWebhookConfiguration.json new file mode 100644 index 00000000000..5cde45f9bd6 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1.ValidatingWebhookConfiguration.json @@ -0,0 +1,113 @@ +{ + "kind": "ValidatingWebhookConfiguration", + "apiVersion": "admissionregistration.k8s.io/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" + } + ] + }, + "webhooks": [ + { + "name": "nameValue", + "clientConfig": { + "url": "urlValue", + "service": { + "namespace": "namespaceValue", + "name": "nameValue", + "path": "pathValue", + "port": 4 + }, + "caBundle": "Ag==" + }, + "rules": [ + { + "operations": [ + "operationsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "apiVersions": [ + "apiVersionsValue" + ], + "resources": [ + "resourcesValue" + ], + "scope": "scopeValue" + } + ], + "failurePolicy": "failurePolicyValue", + "matchPolicy": "matchPolicyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "objectSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "sideEffects": "sideEffectsValue", + "timeoutSeconds": 7, + "admissionReviewVersions": [ + "admissionReviewVersionsValue" + ] + } + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1.ValidatingWebhookConfiguration.pb b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1.ValidatingWebhookConfiguration.pb new file mode 100644 index 00000000000..2f1752dec2e Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1.ValidatingWebhookConfiguration.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1.ValidatingWebhookConfiguration.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1.ValidatingWebhookConfiguration.yaml new file mode 100644 index 00000000000..764fe62414e --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1.ValidatingWebhookConfiguration.yaml @@ -0,0 +1,76 @@ +apiVersion: admissionregistration.k8s.io/v1 +kind: ValidatingWebhookConfiguration +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 +webhooks: +- admissionReviewVersions: + - admissionReviewVersionsValue + clientConfig: + caBundle: Ag== + service: + name: nameValue + namespace: namespaceValue + path: pathValue + port: 4 + url: urlValue + failurePolicy: failurePolicyValue + matchPolicy: matchPolicyValue + name: nameValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + objectSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + rules: + - apiGroups: + - apiGroupsValue + apiVersions: + - apiVersionsValue + operations: + - operationsValue + resources: + - resourcesValue + scope: scopeValue + sideEffects: sideEffectsValue + timeoutSeconds: 7 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicy.json b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicy.json new file mode 100644 index 00000000000..d267a4f6822 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicy.json @@ -0,0 +1,131 @@ +{ + "kind": "ValidatingAdmissionPolicy", + "apiVersion": "admissionregistration.k8s.io/v1alpha1", + "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": { + "paramKind": { + "apiVersion": "apiVersionValue", + "kind": "kindValue" + }, + "matchConstraints": { + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "objectSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "resourceRules": [ + { + "resourceNames": [ + "resourceNamesValue" + ], + "operations": [ + "operationsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "apiVersions": [ + "apiVersionsValue" + ], + "resources": [ + "resourcesValue" + ], + "scope": "scopeValue" + } + ], + "excludeResourceRules": [ + { + "resourceNames": [ + "resourceNamesValue" + ], + "operations": [ + "operationsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "apiVersions": [ + "apiVersionsValue" + ], + "resources": [ + "resourcesValue" + ], + "scope": "scopeValue" + } + ], + "matchPolicy": "matchPolicyValue" + }, + "validations": [ + { + "expression": "expressionValue", + "message": "messageValue", + "reason": "reasonValue" + } + ], + "failurePolicy": "failurePolicyValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicy.pb b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicy.pb new file mode 100644 index 00000000000..f5807ea67e5 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicy.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicy.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicy.yaml new file mode 100644 index 00000000000..51655606777 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicy.yaml @@ -0,0 +1,85 @@ +apiVersion: admissionregistration.k8s.io/v1alpha1 +kind: ValidatingAdmissionPolicy +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: + failurePolicy: failurePolicyValue + matchConstraints: + excludeResourceRules: + - apiGroups: + - apiGroupsValue + apiVersions: + - apiVersionsValue + operations: + - operationsValue + resourceNames: + - resourceNamesValue + resources: + - resourcesValue + scope: scopeValue + matchPolicy: matchPolicyValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + objectSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + resourceRules: + - apiGroups: + - apiGroupsValue + apiVersions: + - apiVersionsValue + operations: + - operationsValue + resourceNames: + - resourceNamesValue + resources: + - resourcesValue + scope: scopeValue + paramKind: + apiVersion: apiVersionValue + kind: kindValue + validations: + - expression: expressionValue + message: messageValue + reason: reasonValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicyBinding.json b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicyBinding.json new file mode 100644 index 00000000000..78523dcea77 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicyBinding.json @@ -0,0 +1,124 @@ +{ + "kind": "ValidatingAdmissionPolicyBinding", + "apiVersion": "admissionregistration.k8s.io/v1alpha1", + "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": { + "policyName": "policyNameValue", + "paramRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "matchResources": { + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "objectSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "resourceRules": [ + { + "resourceNames": [ + "resourceNamesValue" + ], + "operations": [ + "operationsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "apiVersions": [ + "apiVersionsValue" + ], + "resources": [ + "resourcesValue" + ], + "scope": "scopeValue" + } + ], + "excludeResourceRules": [ + { + "resourceNames": [ + "resourceNamesValue" + ], + "operations": [ + "operationsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "apiVersions": [ + "apiVersionsValue" + ], + "resources": [ + "resourcesValue" + ], + "scope": "scopeValue" + } + ], + "matchPolicy": "matchPolicyValue" + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicyBinding.pb b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicyBinding.pb new file mode 100644 index 00000000000..5c9435d3abd Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicyBinding.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicyBinding.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicyBinding.yaml new file mode 100644 index 00000000000..00f7d0c1cf8 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicyBinding.yaml @@ -0,0 +1,81 @@ +apiVersion: admissionregistration.k8s.io/v1alpha1 +kind: ValidatingAdmissionPolicyBinding +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: + matchResources: + excludeResourceRules: + - apiGroups: + - apiGroupsValue + apiVersions: + - apiVersionsValue + operations: + - operationsValue + resourceNames: + - resourceNamesValue + resources: + - resourcesValue + scope: scopeValue + matchPolicy: matchPolicyValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + objectSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + resourceRules: + - apiGroups: + - apiGroupsValue + apiVersions: + - apiVersionsValue + operations: + - operationsValue + resourceNames: + - resourceNamesValue + resources: + - resourcesValue + scope: scopeValue + paramRef: + name: nameValue + namespace: namespaceValue + policyName: policyNameValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1beta1.MutatingWebhookConfiguration.json b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1beta1.MutatingWebhookConfiguration.json new file mode 100644 index 00000000000..19740bbe99c --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1beta1.MutatingWebhookConfiguration.json @@ -0,0 +1,114 @@ +{ + "kind": "MutatingWebhookConfiguration", + "apiVersion": "admissionregistration.k8s.io/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" + } + ] + }, + "webhooks": [ + { + "name": "nameValue", + "clientConfig": { + "url": "urlValue", + "service": { + "namespace": "namespaceValue", + "name": "nameValue", + "path": "pathValue", + "port": 4 + }, + "caBundle": "Ag==" + }, + "rules": [ + { + "operations": [ + "operationsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "apiVersions": [ + "apiVersionsValue" + ], + "resources": [ + "resourcesValue" + ], + "scope": "scopeValue" + } + ], + "failurePolicy": "failurePolicyValue", + "matchPolicy": "matchPolicyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "objectSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "sideEffects": "sideEffectsValue", + "timeoutSeconds": 7, + "admissionReviewVersions": [ + "admissionReviewVersionsValue" + ], + "reinvocationPolicy": "reinvocationPolicyValue" + } + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1beta1.MutatingWebhookConfiguration.pb b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1beta1.MutatingWebhookConfiguration.pb new file mode 100644 index 00000000000..b7f46558d0e Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1beta1.MutatingWebhookConfiguration.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1beta1.MutatingWebhookConfiguration.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1beta1.MutatingWebhookConfiguration.yaml new file mode 100644 index 00000000000..7512c603d15 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1beta1.MutatingWebhookConfiguration.yaml @@ -0,0 +1,77 @@ +apiVersion: admissionregistration.k8s.io/v1beta1 +kind: MutatingWebhookConfiguration +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 +webhooks: +- admissionReviewVersions: + - admissionReviewVersionsValue + clientConfig: + caBundle: Ag== + service: + name: nameValue + namespace: namespaceValue + path: pathValue + port: 4 + url: urlValue + failurePolicy: failurePolicyValue + matchPolicy: matchPolicyValue + name: nameValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + objectSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + reinvocationPolicy: reinvocationPolicyValue + rules: + - apiGroups: + - apiGroupsValue + apiVersions: + - apiVersionsValue + operations: + - operationsValue + resources: + - resourcesValue + scope: scopeValue + sideEffects: sideEffectsValue + timeoutSeconds: 7 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1beta1.ValidatingWebhookConfiguration.json b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1beta1.ValidatingWebhookConfiguration.json new file mode 100644 index 00000000000..f45b7b3c224 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1beta1.ValidatingWebhookConfiguration.json @@ -0,0 +1,113 @@ +{ + "kind": "ValidatingWebhookConfiguration", + "apiVersion": "admissionregistration.k8s.io/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" + } + ] + }, + "webhooks": [ + { + "name": "nameValue", + "clientConfig": { + "url": "urlValue", + "service": { + "namespace": "namespaceValue", + "name": "nameValue", + "path": "pathValue", + "port": 4 + }, + "caBundle": "Ag==" + }, + "rules": [ + { + "operations": [ + "operationsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "apiVersions": [ + "apiVersionsValue" + ], + "resources": [ + "resourcesValue" + ], + "scope": "scopeValue" + } + ], + "failurePolicy": "failurePolicyValue", + "matchPolicy": "matchPolicyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "objectSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "sideEffects": "sideEffectsValue", + "timeoutSeconds": 7, + "admissionReviewVersions": [ + "admissionReviewVersionsValue" + ] + } + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1beta1.ValidatingWebhookConfiguration.pb b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1beta1.ValidatingWebhookConfiguration.pb new file mode 100644 index 00000000000..b9e08d0c99a Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1beta1.ValidatingWebhookConfiguration.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1beta1.ValidatingWebhookConfiguration.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1beta1.ValidatingWebhookConfiguration.yaml new file mode 100644 index 00000000000..81789897365 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/admissionregistration.k8s.io.v1beta1.ValidatingWebhookConfiguration.yaml @@ -0,0 +1,76 @@ +apiVersion: admissionregistration.k8s.io/v1beta1 +kind: ValidatingWebhookConfiguration +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 +webhooks: +- admissionReviewVersions: + - admissionReviewVersionsValue + clientConfig: + caBundle: Ag== + service: + name: nameValue + namespace: namespaceValue + path: pathValue + port: 4 + url: urlValue + failurePolicy: failurePolicyValue + matchPolicy: matchPolicyValue + name: nameValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + objectSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + rules: + - apiGroups: + - apiGroupsValue + apiVersions: + - apiVersionsValue + operations: + - operationsValue + resources: + - resourcesValue + scope: scopeValue + sideEffects: sideEffectsValue + timeoutSeconds: 7 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apidiscovery.k8s.io.v2beta1.APIGroupDiscovery.json b/staging/src/k8s.io/api/testdata/v1.26.0/apidiscovery.k8s.io.v2beta1.APIGroupDiscovery.json new file mode 100644 index 00000000000..699ca16525a --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apidiscovery.k8s.io.v2beta1.APIGroupDiscovery.json @@ -0,0 +1,93 @@ +{ + "kind": "APIGroupDiscovery", + "apiVersion": "apidiscovery.k8s.io/v2beta1", + "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" + } + ] + }, + "versions": [ + { + "version": "versionValue", + "resources": [ + { + "resource": "resourceValue", + "responseKind": { + "group": "groupValue", + "version": "versionValue", + "kind": "kindValue" + }, + "scope": "scopeValue", + "singularResource": "singularResourceValue", + "verbs": [ + "verbsValue" + ], + "shortNames": [ + "shortNamesValue" + ], + "categories": [ + "categoriesValue" + ], + "subresources": [ + { + "subresource": "subresourceValue", + "responseKind": { + "group": "groupValue", + "version": "versionValue", + "kind": "kindValue" + }, + "acceptedTypes": [ + { + "group": "groupValue", + "version": "versionValue", + "kind": "kindValue" + } + ], + "verbs": [ + "verbsValue" + ] + } + ] + } + ], + "freshness": "freshnessValue" + } + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apidiscovery.k8s.io.v2beta1.APIGroupDiscovery.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apidiscovery.k8s.io.v2beta1.APIGroupDiscovery.pb new file mode 100644 index 00000000000..83c2857fd8a Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/apidiscovery.k8s.io.v2beta1.APIGroupDiscovery.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apidiscovery.k8s.io.v2beta1.APIGroupDiscovery.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apidiscovery.k8s.io.v2beta1.APIGroupDiscovery.yaml new file mode 100644 index 00000000000..41d1feb4ce3 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apidiscovery.k8s.io.v2beta1.APIGroupDiscovery.yaml @@ -0,0 +1,63 @@ +apiVersion: apidiscovery.k8s.io/v2beta1 +kind: APIGroupDiscovery +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 +versions: +- freshness: freshnessValue + resources: + - categories: + - categoriesValue + resource: resourceValue + responseKind: + group: groupValue + kind: kindValue + version: versionValue + scope: scopeValue + shortNames: + - shortNamesValue + singularResource: singularResourceValue + subresources: + - acceptedTypes: + - group: groupValue + kind: kindValue + version: versionValue + responseKind: + group: groupValue + kind: kindValue + version: versionValue + subresource: subresourceValue + verbs: + - verbsValue + verbs: + - verbsValue + version: versionValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.ControllerRevision.json b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.ControllerRevision.json new file mode 100644 index 00000000000..033ce01e800 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.ControllerRevision.json @@ -0,0 +1,57 @@ +{ + "kind": "ControllerRevision", + "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" + } + ] + }, + "data": { + "apiVersion": "example.com/v1", + "kind": "CustomType", + "spec": { + "replicas": 1 + }, + "status": { + "available": 1 + } + }, + "revision": 3 +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.ControllerRevision.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.ControllerRevision.pb new file mode 100644 index 00000000000..f1221277de4 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.ControllerRevision.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.ControllerRevision.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.ControllerRevision.yaml new file mode 100644 index 00000000000..052b19c6346 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.ControllerRevision.yaml @@ -0,0 +1,42 @@ +apiVersion: apps/v1 +data: + apiVersion: example.com/v1 + kind: CustomType + spec: + replicas: 1 + status: + available: 1 +kind: ControllerRevision +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 +revision: 3 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.DaemonSet.json b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.DaemonSet.json new file mode 100644 index 00000000000..3be60ec71c3 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.DaemonSet.json @@ -0,0 +1,1697 @@ +{ + "kind": "DaemonSet", + "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": { + "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" + } + } + ] + } + }, + "updateStrategy": { + "type": "typeValue", + "rollingUpdate": { + "maxUnavailable": "maxUnavailableValue", + "maxSurge": "maxSurgeValue" + } + }, + "minReadySeconds": 4, + "revisionHistoryLimit": 6 + }, + "status": { + "currentNumberScheduled": 1, + "numberMisscheduled": 2, + "desiredNumberScheduled": 3, + "numberReady": 4, + "observedGeneration": 5, + "updatedNumberScheduled": 6, + "numberAvailable": 7, + "numberUnavailable": 8, + "collisionCount": 9, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.DaemonSet.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.DaemonSet.pb new file mode 100644 index 00000000000..3bab9bf0d81 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.DaemonSet.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.DaemonSet.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.DaemonSet.yaml new file mode 100644 index 00000000000..2a4e76faaf8 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.DaemonSet.yaml @@ -0,0 +1,1164 @@ +apiVersion: apps/v1 +kind: DaemonSet +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: 4 + revisionHistoryLimit: 6 + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + 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: + maxSurge: maxSurgeValue + maxUnavailable: maxUnavailableValue + type: typeValue +status: + collisionCount: 9 + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + currentNumberScheduled: 1 + desiredNumberScheduled: 3 + numberAvailable: 7 + numberMisscheduled: 2 + numberReady: 4 + numberUnavailable: 8 + observedGeneration: 5 + updatedNumberScheduled: 6 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.Deployment.json b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.Deployment.json new file mode 100644 index 00000000000..4e816305973 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.Deployment.json @@ -0,0 +1,1699 @@ +{ + "kind": "Deployment", + "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" + } + } + ] + } + }, + "strategy": { + "type": "typeValue", + "rollingUpdate": { + "maxUnavailable": "maxUnavailableValue", + "maxSurge": "maxSurgeValue" + } + }, + "minReadySeconds": 5, + "revisionHistoryLimit": 6, + "paused": true, + "progressDeadlineSeconds": 9 + }, + "status": { + "observedGeneration": 1, + "replicas": 2, + "updatedReplicas": 3, + "readyReplicas": 7, + "availableReplicas": 4, + "unavailableReplicas": 5, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastUpdateTime": "2006-01-01T01:01:01Z", + "lastTransitionTime": "2007-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ], + "collisionCount": 8 + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.Deployment.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.Deployment.pb new file mode 100644 index 00000000000..d6b5ef6d6ee Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.Deployment.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.Deployment.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.Deployment.yaml new file mode 100644 index 00000000000..95eb1cf5ba6 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.Deployment.yaml @@ -0,0 +1,1166 @@ +apiVersion: apps/v1 +kind: Deployment +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: 5 + paused: true + progressDeadlineSeconds: 9 + replicas: 1 + revisionHistoryLimit: 6 + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + strategy: + rollingUpdate: + maxSurge: maxSurgeValue + maxUnavailable: maxUnavailableValue + type: typeValue + 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 +status: + availableReplicas: 4 + collisionCount: 8 + conditions: + - lastTransitionTime: "2007-01-01T01:01:01Z" + lastUpdateTime: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + observedGeneration: 1 + readyReplicas: 7 + replicas: 2 + unavailableReplicas: 5 + updatedReplicas: 3 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.ReplicaSet.json b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.ReplicaSet.json new file mode 100644 index 00000000000..602aa71fc15 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.ReplicaSet.json @@ -0,0 +1,1686 @@ +{ + "kind": "ReplicaSet", + "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, + "minReadySeconds": 4, + "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" + } + } + ] + } + } + }, + "status": { + "replicas": 1, + "fullyLabeledReplicas": 2, + "readyReplicas": 4, + "availableReplicas": 5, + "observedGeneration": 3, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.ReplicaSet.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.ReplicaSet.pb new file mode 100644 index 00000000000..21bdb0b88cc Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.ReplicaSet.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.ReplicaSet.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.ReplicaSet.yaml new file mode 100644 index 00000000000..428a9330493 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.ReplicaSet.yaml @@ -0,0 +1,1155 @@ +apiVersion: apps/v1 +kind: ReplicaSet +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: 4 + replicas: 1 + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + 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 +status: + availableReplicas: 5 + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + fullyLabeledReplicas: 2 + observedGeneration: 3 + readyReplicas: 4 + replicas: 1 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.StatefulSet.json b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.StatefulSet.json new file mode 100644 index 00000000000..d734f79d5ad --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.StatefulSet.json @@ -0,0 +1,1822 @@ +{ + "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" + }, + "resizeStatus": "resizeStatusValue" + } + } + ], + "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.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.StatefulSet.pb new file mode 100644 index 00000000000..ca5e950c178 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.StatefulSet.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.StatefulSet.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.StatefulSet.yaml new file mode 100644 index 00000000000..65f6ba4c505 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1.StatefulSet.yaml @@ -0,0 +1,1251 @@ +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 + resizeStatus: resizeStatusValue +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.ControllerRevision.json b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.ControllerRevision.json new file mode 100644 index 00000000000..2b4ec8589e6 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.ControllerRevision.json @@ -0,0 +1,57 @@ +{ + "kind": "ControllerRevision", + "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" + } + ] + }, + "data": { + "apiVersion": "example.com/v1", + "kind": "CustomType", + "spec": { + "replicas": 1 + }, + "status": { + "available": 1 + } + }, + "revision": 3 +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.ControllerRevision.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.ControllerRevision.pb new file mode 100644 index 00000000000..59c57ae9a56 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.ControllerRevision.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.ControllerRevision.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.ControllerRevision.yaml new file mode 100644 index 00000000000..b592efec3c1 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.ControllerRevision.yaml @@ -0,0 +1,42 @@ +apiVersion: apps/v1beta1 +data: + apiVersion: example.com/v1 + kind: CustomType + spec: + replicas: 1 + status: + available: 1 +kind: ControllerRevision +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 +revision: 3 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.Deployment.json b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.Deployment.json new file mode 100644 index 00000000000..d10076e9fab --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.Deployment.json @@ -0,0 +1,1702 @@ +{ + "kind": "Deployment", + "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" + } + } + ] + } + }, + "strategy": { + "type": "typeValue", + "rollingUpdate": { + "maxUnavailable": "maxUnavailableValue", + "maxSurge": "maxSurgeValue" + } + }, + "minReadySeconds": 5, + "revisionHistoryLimit": 6, + "paused": true, + "rollbackTo": { + "revision": 1 + }, + "progressDeadlineSeconds": 9 + }, + "status": { + "observedGeneration": 1, + "replicas": 2, + "updatedReplicas": 3, + "readyReplicas": 7, + "availableReplicas": 4, + "unavailableReplicas": 5, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastUpdateTime": "2006-01-01T01:01:01Z", + "lastTransitionTime": "2007-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ], + "collisionCount": 8 + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.Deployment.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.Deployment.pb new file mode 100644 index 00000000000..b0c417c946a Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.Deployment.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.Deployment.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.Deployment.yaml new file mode 100644 index 00000000000..ddec9327700 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.Deployment.yaml @@ -0,0 +1,1168 @@ +apiVersion: apps/v1beta1 +kind: Deployment +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: 5 + paused: true + progressDeadlineSeconds: 9 + replicas: 1 + revisionHistoryLimit: 6 + rollbackTo: + revision: 1 + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + strategy: + rollingUpdate: + maxSurge: maxSurgeValue + maxUnavailable: maxUnavailableValue + type: typeValue + 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 +status: + availableReplicas: 4 + collisionCount: 8 + conditions: + - lastTransitionTime: "2007-01-01T01:01:01Z" + lastUpdateTime: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + observedGeneration: 1 + readyReplicas: 7 + replicas: 2 + unavailableReplicas: 5 + updatedReplicas: 3 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.DeploymentRollback.json b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.DeploymentRollback.json new file mode 100644 index 00000000000..b2c53b6afdd --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.DeploymentRollback.json @@ -0,0 +1,11 @@ +{ + "kind": "DeploymentRollback", + "apiVersion": "apps/v1beta1", + "name": "nameValue", + "updatedAnnotations": { + "updatedAnnotationsKey": "updatedAnnotationsValue" + }, + "rollbackTo": { + "revision": 1 + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.DeploymentRollback.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.DeploymentRollback.pb new file mode 100644 index 00000000000..acf1d1c08d6 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.DeploymentRollback.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.DeploymentRollback.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.DeploymentRollback.yaml new file mode 100644 index 00000000000..8faf6587190 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.DeploymentRollback.yaml @@ -0,0 +1,7 @@ +apiVersion: apps/v1beta1 +kind: DeploymentRollback +name: nameValue +rollbackTo: + revision: 1 +updatedAnnotations: + updatedAnnotationsKey: updatedAnnotationsValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.Scale.json b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.Scale.json new file mode 100644 index 00000000000..370e54aa4fa --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.Scale.json @@ -0,0 +1,56 @@ +{ + "kind": "Scale", + "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 + }, + "status": { + "replicas": 1, + "selector": { + "selectorKey": "selectorValue" + }, + "targetSelector": "targetSelectorValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.Scale.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.Scale.pb new file mode 100644 index 00000000000..422ad4267ae Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.Scale.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.Scale.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.Scale.yaml new file mode 100644 index 00000000000..e821a7fe350 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.Scale.yaml @@ -0,0 +1,41 @@ +apiVersion: apps/v1beta1 +kind: Scale +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: + replicas: 1 +status: + replicas: 1 + selector: + selectorKey: selectorValue + targetSelector: targetSelectorValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.StatefulSet.json b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.StatefulSet.json new file mode 100644 index 00000000000..a11eea31669 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.StatefulSet.json @@ -0,0 +1,1822 @@ +{ + "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" + }, + "resizeStatus": "resizeStatusValue" + } + } + ], + "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.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.StatefulSet.pb new file mode 100644 index 00000000000..b639e14b47e Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.StatefulSet.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.StatefulSet.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.StatefulSet.yaml new file mode 100644 index 00000000000..4e69533963d --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta1.StatefulSet.yaml @@ -0,0 +1,1251 @@ +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 + resizeStatus: resizeStatusValue +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.ControllerRevision.json b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.ControllerRevision.json new file mode 100644 index 00000000000..60c5f5767ec --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.ControllerRevision.json @@ -0,0 +1,57 @@ +{ + "kind": "ControllerRevision", + "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" + } + ] + }, + "data": { + "apiVersion": "example.com/v1", + "kind": "CustomType", + "spec": { + "replicas": 1 + }, + "status": { + "available": 1 + } + }, + "revision": 3 +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.ControllerRevision.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.ControllerRevision.pb new file mode 100644 index 00000000000..869de5ce53f Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.ControllerRevision.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.ControllerRevision.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.ControllerRevision.yaml new file mode 100644 index 00000000000..136b0cd03b0 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.ControllerRevision.yaml @@ -0,0 +1,42 @@ +apiVersion: apps/v1beta2 +data: + apiVersion: example.com/v1 + kind: CustomType + spec: + replicas: 1 + status: + available: 1 +kind: ControllerRevision +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 +revision: 3 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.DaemonSet.json b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.DaemonSet.json new file mode 100644 index 00000000000..6f8d7697d34 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.DaemonSet.json @@ -0,0 +1,1697 @@ +{ + "kind": "DaemonSet", + "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": { + "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" + } + } + ] + } + }, + "updateStrategy": { + "type": "typeValue", + "rollingUpdate": { + "maxUnavailable": "maxUnavailableValue", + "maxSurge": "maxSurgeValue" + } + }, + "minReadySeconds": 4, + "revisionHistoryLimit": 6 + }, + "status": { + "currentNumberScheduled": 1, + "numberMisscheduled": 2, + "desiredNumberScheduled": 3, + "numberReady": 4, + "observedGeneration": 5, + "updatedNumberScheduled": 6, + "numberAvailable": 7, + "numberUnavailable": 8, + "collisionCount": 9, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.DaemonSet.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.DaemonSet.pb new file mode 100644 index 00000000000..0dc29469dbd Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.DaemonSet.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.DaemonSet.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.DaemonSet.yaml new file mode 100644 index 00000000000..d7e537f36db --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.DaemonSet.yaml @@ -0,0 +1,1164 @@ +apiVersion: apps/v1beta2 +kind: DaemonSet +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: 4 + revisionHistoryLimit: 6 + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + 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: + maxSurge: maxSurgeValue + maxUnavailable: maxUnavailableValue + type: typeValue +status: + collisionCount: 9 + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + currentNumberScheduled: 1 + desiredNumberScheduled: 3 + numberAvailable: 7 + numberMisscheduled: 2 + numberReady: 4 + numberUnavailable: 8 + observedGeneration: 5 + updatedNumberScheduled: 6 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.Deployment.json b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.Deployment.json new file mode 100644 index 00000000000..1d5153db5a1 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.Deployment.json @@ -0,0 +1,1699 @@ +{ + "kind": "Deployment", + "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" + } + } + ] + } + }, + "strategy": { + "type": "typeValue", + "rollingUpdate": { + "maxUnavailable": "maxUnavailableValue", + "maxSurge": "maxSurgeValue" + } + }, + "minReadySeconds": 5, + "revisionHistoryLimit": 6, + "paused": true, + "progressDeadlineSeconds": 9 + }, + "status": { + "observedGeneration": 1, + "replicas": 2, + "updatedReplicas": 3, + "readyReplicas": 7, + "availableReplicas": 4, + "unavailableReplicas": 5, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastUpdateTime": "2006-01-01T01:01:01Z", + "lastTransitionTime": "2007-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ], + "collisionCount": 8 + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.Deployment.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.Deployment.pb new file mode 100644 index 00000000000..80500415d68 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.Deployment.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.Deployment.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.Deployment.yaml new file mode 100644 index 00000000000..ac65063f9d9 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.Deployment.yaml @@ -0,0 +1,1166 @@ +apiVersion: apps/v1beta2 +kind: Deployment +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: 5 + paused: true + progressDeadlineSeconds: 9 + replicas: 1 + revisionHistoryLimit: 6 + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + strategy: + rollingUpdate: + maxSurge: maxSurgeValue + maxUnavailable: maxUnavailableValue + type: typeValue + 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 +status: + availableReplicas: 4 + collisionCount: 8 + conditions: + - lastTransitionTime: "2007-01-01T01:01:01Z" + lastUpdateTime: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + observedGeneration: 1 + readyReplicas: 7 + replicas: 2 + unavailableReplicas: 5 + updatedReplicas: 3 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.ReplicaSet.json b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.ReplicaSet.json new file mode 100644 index 00000000000..205eac84fa3 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.ReplicaSet.json @@ -0,0 +1,1686 @@ +{ + "kind": "ReplicaSet", + "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, + "minReadySeconds": 4, + "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" + } + } + ] + } + } + }, + "status": { + "replicas": 1, + "fullyLabeledReplicas": 2, + "readyReplicas": 4, + "availableReplicas": 5, + "observedGeneration": 3, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.ReplicaSet.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.ReplicaSet.pb new file mode 100644 index 00000000000..6a4bea5910c Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.ReplicaSet.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.ReplicaSet.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.ReplicaSet.yaml new file mode 100644 index 00000000000..f924c9f9e11 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.ReplicaSet.yaml @@ -0,0 +1,1155 @@ +apiVersion: apps/v1beta2 +kind: ReplicaSet +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: 4 + replicas: 1 + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + 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 +status: + availableReplicas: 5 + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + fullyLabeledReplicas: 2 + observedGeneration: 3 + readyReplicas: 4 + replicas: 1 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.Scale.json b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.Scale.json new file mode 100644 index 00000000000..ab0a7ad374e --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.Scale.json @@ -0,0 +1,56 @@ +{ + "kind": "Scale", + "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 + }, + "status": { + "replicas": 1, + "selector": { + "selectorKey": "selectorValue" + }, + "targetSelector": "targetSelectorValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.Scale.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.Scale.pb new file mode 100644 index 00000000000..d62f25ff1da Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.Scale.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.Scale.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.Scale.yaml new file mode 100644 index 00000000000..bb916412c2e --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.Scale.yaml @@ -0,0 +1,41 @@ +apiVersion: apps/v1beta2 +kind: Scale +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: + replicas: 1 +status: + replicas: 1 + selector: + selectorKey: selectorValue + targetSelector: targetSelectorValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.StatefulSet.json b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.StatefulSet.json new file mode 100644 index 00000000000..a51539af605 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.StatefulSet.json @@ -0,0 +1,1822 @@ +{ + "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" + }, + "resizeStatus": "resizeStatusValue" + } + } + ], + "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.pb b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.StatefulSet.pb new file mode 100644 index 00000000000..6f400f403e1 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.StatefulSet.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.StatefulSet.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.StatefulSet.yaml new file mode 100644 index 00000000000..188440b9c7f --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/apps.v1beta2.StatefulSet.yaml @@ -0,0 +1,1251 @@ +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 + resizeStatus: resizeStatusValue +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/authentication.k8s.io.v1.TokenRequest.json b/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1.TokenRequest.json new file mode 100644 index 00000000000..8b54b2b5434 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1.TokenRequest.json @@ -0,0 +1,62 @@ +{ + "kind": "TokenRequest", + "apiVersion": "authentication.k8s.io/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": { + "audiences": [ + "audiencesValue" + ], + "expirationSeconds": 4, + "boundObjectRef": { + "kind": "kindValue", + "apiVersion": "apiVersionValue", + "name": "nameValue", + "uid": "uidValue" + } + }, + "status": { + "token": "tokenValue", + "expirationTimestamp": "2002-01-01T01:01:01Z" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1.TokenRequest.pb b/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1.TokenRequest.pb new file mode 100644 index 00000000000..b7b414d852f Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1.TokenRequest.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1.TokenRequest.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1.TokenRequest.yaml new file mode 100644 index 00000000000..1c7b4638e0e --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1.TokenRequest.yaml @@ -0,0 +1,46 @@ +apiVersion: authentication.k8s.io/v1 +kind: TokenRequest +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: + audiences: + - audiencesValue + boundObjectRef: + apiVersion: apiVersionValue + kind: kindValue + name: nameValue + uid: uidValue + expirationSeconds: 4 +status: + expirationTimestamp: "2002-01-01T01:01:01Z" + token: tokenValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1.TokenReview.json b/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1.TokenReview.json new file mode 100644 index 00000000000..18faf990e85 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1.TokenReview.json @@ -0,0 +1,71 @@ +{ + "kind": "TokenReview", + "apiVersion": "authentication.k8s.io/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": { + "token": "tokenValue", + "audiences": [ + "audiencesValue" + ] + }, + "status": { + "authenticated": true, + "user": { + "username": "usernameValue", + "uid": "uidValue", + "groups": [ + "groupsValue" + ], + "extra": { + "extraKey": [ + "extraValue" + ] + } + }, + "audiences": [ + "audiencesValue" + ], + "error": "errorValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1.TokenReview.pb b/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1.TokenReview.pb new file mode 100644 index 00000000000..808cdb50d6b Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1.TokenReview.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1.TokenReview.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1.TokenReview.yaml new file mode 100644 index 00000000000..0bf99557870 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1.TokenReview.yaml @@ -0,0 +1,51 @@ +apiVersion: authentication.k8s.io/v1 +kind: TokenReview +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: + audiences: + - audiencesValue + token: tokenValue +status: + audiences: + - audiencesValue + authenticated: true + error: errorValue + user: + extra: + extraKey: + - extraValue + groups: + - groupsValue + uid: uidValue + username: usernameValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1beta1.TokenReview.json b/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1beta1.TokenReview.json new file mode 100644 index 00000000000..0ce24e21895 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1beta1.TokenReview.json @@ -0,0 +1,71 @@ +{ + "kind": "TokenReview", + "apiVersion": "authentication.k8s.io/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": { + "token": "tokenValue", + "audiences": [ + "audiencesValue" + ] + }, + "status": { + "authenticated": true, + "user": { + "username": "usernameValue", + "uid": "uidValue", + "groups": [ + "groupsValue" + ], + "extra": { + "extraKey": [ + "extraValue" + ] + } + }, + "audiences": [ + "audiencesValue" + ], + "error": "errorValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1beta1.TokenReview.pb b/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1beta1.TokenReview.pb new file mode 100644 index 00000000000..93315878f1d Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1beta1.TokenReview.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1beta1.TokenReview.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1beta1.TokenReview.yaml new file mode 100644 index 00000000000..0f7c240d447 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authentication.k8s.io.v1beta1.TokenReview.yaml @@ -0,0 +1,51 @@ +apiVersion: authentication.k8s.io/v1beta1 +kind: TokenReview +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: + audiences: + - audiencesValue + token: tokenValue +status: + audiences: + - audiencesValue + authenticated: true + error: errorValue + user: + extra: + extraKey: + - extraValue + groups: + - groupsValue + uid: uidValue + username: usernameValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.LocalSubjectAccessReview.json b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.LocalSubjectAccessReview.json new file mode 100644 index 00000000000..8a5d8f91cdc --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.LocalSubjectAccessReview.json @@ -0,0 +1,77 @@ +{ + "kind": "LocalSubjectAccessReview", + "apiVersion": "authorization.k8s.io/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": { + "resourceAttributes": { + "namespace": "namespaceValue", + "verb": "verbValue", + "group": "groupValue", + "version": "versionValue", + "resource": "resourceValue", + "subresource": "subresourceValue", + "name": "nameValue" + }, + "nonResourceAttributes": { + "path": "pathValue", + "verb": "verbValue" + }, + "user": "userValue", + "groups": [ + "groupsValue" + ], + "extra": { + "extraKey": [ + "extraValue" + ] + }, + "uid": "uidValue" + }, + "status": { + "allowed": true, + "denied": true, + "reason": "reasonValue", + "evaluationError": "evaluationErrorValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.LocalSubjectAccessReview.pb b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.LocalSubjectAccessReview.pb new file mode 100644 index 00000000000..978b5c28d8d Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.LocalSubjectAccessReview.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.LocalSubjectAccessReview.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.LocalSubjectAccessReview.yaml new file mode 100644 index 00000000000..8fadf7c5bbd --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.LocalSubjectAccessReview.yaml @@ -0,0 +1,58 @@ +apiVersion: authorization.k8s.io/v1 +kind: LocalSubjectAccessReview +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: + extra: + extraKey: + - extraValue + groups: + - groupsValue + nonResourceAttributes: + path: pathValue + verb: verbValue + resourceAttributes: + group: groupValue + name: nameValue + namespace: namespaceValue + resource: resourceValue + subresource: subresourceValue + verb: verbValue + version: versionValue + uid: uidValue + user: userValue +status: + allowed: true + denied: true + evaluationError: evaluationErrorValue + reason: reasonValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SelfSubjectAccessReview.json b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SelfSubjectAccessReview.json new file mode 100644 index 00000000000..2b333179dfd --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SelfSubjectAccessReview.json @@ -0,0 +1,67 @@ +{ + "kind": "SelfSubjectAccessReview", + "apiVersion": "authorization.k8s.io/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": { + "resourceAttributes": { + "namespace": "namespaceValue", + "verb": "verbValue", + "group": "groupValue", + "version": "versionValue", + "resource": "resourceValue", + "subresource": "subresourceValue", + "name": "nameValue" + }, + "nonResourceAttributes": { + "path": "pathValue", + "verb": "verbValue" + } + }, + "status": { + "allowed": true, + "denied": true, + "reason": "reasonValue", + "evaluationError": "evaluationErrorValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SelfSubjectAccessReview.pb b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SelfSubjectAccessReview.pb new file mode 100644 index 00000000000..c5b929adaf8 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SelfSubjectAccessReview.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SelfSubjectAccessReview.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SelfSubjectAccessReview.yaml new file mode 100644 index 00000000000..5f2fa373789 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SelfSubjectAccessReview.yaml @@ -0,0 +1,51 @@ +apiVersion: authorization.k8s.io/v1 +kind: SelfSubjectAccessReview +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: + nonResourceAttributes: + path: pathValue + verb: verbValue + resourceAttributes: + group: groupValue + name: nameValue + namespace: namespaceValue + resource: resourceValue + subresource: subresourceValue + verb: verbValue + version: versionValue +status: + allowed: true + denied: true + evaluationError: evaluationErrorValue + reason: reasonValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SelfSubjectRulesReview.json b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SelfSubjectRulesReview.json new file mode 100644 index 00000000000..e6b7d2dff60 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SelfSubjectRulesReview.json @@ -0,0 +1,79 @@ +{ + "kind": "SelfSubjectRulesReview", + "apiVersion": "authorization.k8s.io/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": { + "namespace": "namespaceValue" + }, + "status": { + "resourceRules": [ + { + "verbs": [ + "verbsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "resources": [ + "resourcesValue" + ], + "resourceNames": [ + "resourceNamesValue" + ] + } + ], + "nonResourceRules": [ + { + "verbs": [ + "verbsValue" + ], + "nonResourceURLs": [ + "nonResourceURLsValue" + ] + } + ], + "incomplete": true, + "evaluationError": "evaluationErrorValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SelfSubjectRulesReview.pb b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SelfSubjectRulesReview.pb new file mode 100644 index 00000000000..ff981d386cc Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SelfSubjectRulesReview.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SelfSubjectRulesReview.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SelfSubjectRulesReview.yaml new file mode 100644 index 00000000000..835154ef29c --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SelfSubjectRulesReview.yaml @@ -0,0 +1,53 @@ +apiVersion: authorization.k8s.io/v1 +kind: SelfSubjectRulesReview +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: + namespace: namespaceValue +status: + evaluationError: evaluationErrorValue + incomplete: true + nonResourceRules: + - nonResourceURLs: + - nonResourceURLsValue + verbs: + - verbsValue + resourceRules: + - apiGroups: + - apiGroupsValue + resourceNames: + - resourceNamesValue + resources: + - resourcesValue + verbs: + - verbsValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SubjectAccessReview.json b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SubjectAccessReview.json new file mode 100644 index 00000000000..960e87f20d2 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SubjectAccessReview.json @@ -0,0 +1,77 @@ +{ + "kind": "SubjectAccessReview", + "apiVersion": "authorization.k8s.io/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": { + "resourceAttributes": { + "namespace": "namespaceValue", + "verb": "verbValue", + "group": "groupValue", + "version": "versionValue", + "resource": "resourceValue", + "subresource": "subresourceValue", + "name": "nameValue" + }, + "nonResourceAttributes": { + "path": "pathValue", + "verb": "verbValue" + }, + "user": "userValue", + "groups": [ + "groupsValue" + ], + "extra": { + "extraKey": [ + "extraValue" + ] + }, + "uid": "uidValue" + }, + "status": { + "allowed": true, + "denied": true, + "reason": "reasonValue", + "evaluationError": "evaluationErrorValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SubjectAccessReview.pb b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SubjectAccessReview.pb new file mode 100644 index 00000000000..08d71bd3c23 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SubjectAccessReview.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SubjectAccessReview.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SubjectAccessReview.yaml new file mode 100644 index 00000000000..f40e34812f2 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1.SubjectAccessReview.yaml @@ -0,0 +1,58 @@ +apiVersion: authorization.k8s.io/v1 +kind: SubjectAccessReview +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: + extra: + extraKey: + - extraValue + groups: + - groupsValue + nonResourceAttributes: + path: pathValue + verb: verbValue + resourceAttributes: + group: groupValue + name: nameValue + namespace: namespaceValue + resource: resourceValue + subresource: subresourceValue + verb: verbValue + version: versionValue + uid: uidValue + user: userValue +status: + allowed: true + denied: true + evaluationError: evaluationErrorValue + reason: reasonValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.LocalSubjectAccessReview.json b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.LocalSubjectAccessReview.json new file mode 100644 index 00000000000..4c5e1b86c95 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.LocalSubjectAccessReview.json @@ -0,0 +1,77 @@ +{ + "kind": "LocalSubjectAccessReview", + "apiVersion": "authorization.k8s.io/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": { + "resourceAttributes": { + "namespace": "namespaceValue", + "verb": "verbValue", + "group": "groupValue", + "version": "versionValue", + "resource": "resourceValue", + "subresource": "subresourceValue", + "name": "nameValue" + }, + "nonResourceAttributes": { + "path": "pathValue", + "verb": "verbValue" + }, + "user": "userValue", + "group": [ + "groupValue" + ], + "extra": { + "extraKey": [ + "extraValue" + ] + }, + "uid": "uidValue" + }, + "status": { + "allowed": true, + "denied": true, + "reason": "reasonValue", + "evaluationError": "evaluationErrorValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.LocalSubjectAccessReview.pb b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.LocalSubjectAccessReview.pb new file mode 100644 index 00000000000..286d344f358 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.LocalSubjectAccessReview.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.LocalSubjectAccessReview.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.LocalSubjectAccessReview.yaml new file mode 100644 index 00000000000..751b2c41c16 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.LocalSubjectAccessReview.yaml @@ -0,0 +1,58 @@ +apiVersion: authorization.k8s.io/v1beta1 +kind: LocalSubjectAccessReview +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: + extra: + extraKey: + - extraValue + group: + - groupValue + nonResourceAttributes: + path: pathValue + verb: verbValue + resourceAttributes: + group: groupValue + name: nameValue + namespace: namespaceValue + resource: resourceValue + subresource: subresourceValue + verb: verbValue + version: versionValue + uid: uidValue + user: userValue +status: + allowed: true + denied: true + evaluationError: evaluationErrorValue + reason: reasonValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SelfSubjectAccessReview.json b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SelfSubjectAccessReview.json new file mode 100644 index 00000000000..464e8958a52 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SelfSubjectAccessReview.json @@ -0,0 +1,67 @@ +{ + "kind": "SelfSubjectAccessReview", + "apiVersion": "authorization.k8s.io/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": { + "resourceAttributes": { + "namespace": "namespaceValue", + "verb": "verbValue", + "group": "groupValue", + "version": "versionValue", + "resource": "resourceValue", + "subresource": "subresourceValue", + "name": "nameValue" + }, + "nonResourceAttributes": { + "path": "pathValue", + "verb": "verbValue" + } + }, + "status": { + "allowed": true, + "denied": true, + "reason": "reasonValue", + "evaluationError": "evaluationErrorValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SelfSubjectAccessReview.pb b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SelfSubjectAccessReview.pb new file mode 100644 index 00000000000..84ade5ffdf5 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SelfSubjectAccessReview.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SelfSubjectAccessReview.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SelfSubjectAccessReview.yaml new file mode 100644 index 00000000000..f21627284fa --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SelfSubjectAccessReview.yaml @@ -0,0 +1,51 @@ +apiVersion: authorization.k8s.io/v1beta1 +kind: SelfSubjectAccessReview +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: + nonResourceAttributes: + path: pathValue + verb: verbValue + resourceAttributes: + group: groupValue + name: nameValue + namespace: namespaceValue + resource: resourceValue + subresource: subresourceValue + verb: verbValue + version: versionValue +status: + allowed: true + denied: true + evaluationError: evaluationErrorValue + reason: reasonValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SelfSubjectRulesReview.json b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SelfSubjectRulesReview.json new file mode 100644 index 00000000000..0b6e883761b --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SelfSubjectRulesReview.json @@ -0,0 +1,79 @@ +{ + "kind": "SelfSubjectRulesReview", + "apiVersion": "authorization.k8s.io/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": { + "namespace": "namespaceValue" + }, + "status": { + "resourceRules": [ + { + "verbs": [ + "verbsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "resources": [ + "resourcesValue" + ], + "resourceNames": [ + "resourceNamesValue" + ] + } + ], + "nonResourceRules": [ + { + "verbs": [ + "verbsValue" + ], + "nonResourceURLs": [ + "nonResourceURLsValue" + ] + } + ], + "incomplete": true, + "evaluationError": "evaluationErrorValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SelfSubjectRulesReview.pb b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SelfSubjectRulesReview.pb new file mode 100644 index 00000000000..b3c29b4d204 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SelfSubjectRulesReview.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SelfSubjectRulesReview.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SelfSubjectRulesReview.yaml new file mode 100644 index 00000000000..83f896be64d --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SelfSubjectRulesReview.yaml @@ -0,0 +1,53 @@ +apiVersion: authorization.k8s.io/v1beta1 +kind: SelfSubjectRulesReview +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: + namespace: namespaceValue +status: + evaluationError: evaluationErrorValue + incomplete: true + nonResourceRules: + - nonResourceURLs: + - nonResourceURLsValue + verbs: + - verbsValue + resourceRules: + - apiGroups: + - apiGroupsValue + resourceNames: + - resourceNamesValue + resources: + - resourcesValue + verbs: + - verbsValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SubjectAccessReview.json b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SubjectAccessReview.json new file mode 100644 index 00000000000..8a6f439c5ab --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SubjectAccessReview.json @@ -0,0 +1,77 @@ +{ + "kind": "SubjectAccessReview", + "apiVersion": "authorization.k8s.io/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": { + "resourceAttributes": { + "namespace": "namespaceValue", + "verb": "verbValue", + "group": "groupValue", + "version": "versionValue", + "resource": "resourceValue", + "subresource": "subresourceValue", + "name": "nameValue" + }, + "nonResourceAttributes": { + "path": "pathValue", + "verb": "verbValue" + }, + "user": "userValue", + "group": [ + "groupValue" + ], + "extra": { + "extraKey": [ + "extraValue" + ] + }, + "uid": "uidValue" + }, + "status": { + "allowed": true, + "denied": true, + "reason": "reasonValue", + "evaluationError": "evaluationErrorValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SubjectAccessReview.pb b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SubjectAccessReview.pb new file mode 100644 index 00000000000..fdaad6538b3 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SubjectAccessReview.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SubjectAccessReview.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SubjectAccessReview.yaml new file mode 100644 index 00000000000..b6d4497fdea --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/authorization.k8s.io.v1beta1.SubjectAccessReview.yaml @@ -0,0 +1,58 @@ +apiVersion: authorization.k8s.io/v1beta1 +kind: SubjectAccessReview +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: + extra: + extraKey: + - extraValue + group: + - groupValue + nonResourceAttributes: + path: pathValue + verb: verbValue + resourceAttributes: + group: groupValue + name: nameValue + namespace: namespaceValue + resource: resourceValue + subresource: subresourceValue + verb: verbValue + version: versionValue + uid: uidValue + user: userValue +status: + allowed: true + denied: true + evaluationError: evaluationErrorValue + reason: reasonValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v1.HorizontalPodAutoscaler.json b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v1.HorizontalPodAutoscaler.json new file mode 100644 index 00000000000..c4af108f9d5 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v1.HorizontalPodAutoscaler.json @@ -0,0 +1,63 @@ +{ + "kind": "HorizontalPodAutoscaler", + "apiVersion": "autoscaling/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": { + "scaleTargetRef": { + "kind": "kindValue", + "name": "nameValue", + "apiVersion": "apiVersionValue" + }, + "minReplicas": 2, + "maxReplicas": 3, + "targetCPUUtilizationPercentage": 4 + }, + "status": { + "observedGeneration": 1, + "lastScaleTime": "2002-01-01T01:01:01Z", + "currentReplicas": 3, + "desiredReplicas": 4, + "currentCPUUtilizationPercentage": 5 + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v1.HorizontalPodAutoscaler.pb b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v1.HorizontalPodAutoscaler.pb new file mode 100644 index 00000000000..89d9b6eeb91 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v1.HorizontalPodAutoscaler.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v1.HorizontalPodAutoscaler.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v1.HorizontalPodAutoscaler.yaml new file mode 100644 index 00000000000..4d76ce4accd --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v1.HorizontalPodAutoscaler.yaml @@ -0,0 +1,48 @@ +apiVersion: autoscaling/v1 +kind: HorizontalPodAutoscaler +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: + maxReplicas: 3 + minReplicas: 2 + scaleTargetRef: + apiVersion: apiVersionValue + kind: kindValue + name: nameValue + targetCPUUtilizationPercentage: 4 +status: + currentCPUUtilizationPercentage: 5 + currentReplicas: 3 + desiredReplicas: 4 + lastScaleTime: "2002-01-01T01:01:01Z" + observedGeneration: 1 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v1.Scale.json b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v1.Scale.json new file mode 100644 index 00000000000..f5f9a463d27 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v1.Scale.json @@ -0,0 +1,53 @@ +{ + "kind": "Scale", + "apiVersion": "autoscaling/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 + }, + "status": { + "replicas": 1, + "selector": "selectorValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v1.Scale.pb b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v1.Scale.pb new file mode 100644 index 00000000000..9bcf37e9697 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v1.Scale.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v1.Scale.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v1.Scale.yaml new file mode 100644 index 00000000000..098815e83e6 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v1.Scale.yaml @@ -0,0 +1,39 @@ +apiVersion: autoscaling/v1 +kind: Scale +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: + replicas: 1 +status: + replicas: 1 + selector: selectorValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2.HorizontalPodAutoscaler.json b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2.HorizontalPodAutoscaler.json new file mode 100644 index 00000000000..f03e36623e8 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2.HorizontalPodAutoscaler.json @@ -0,0 +1,297 @@ +{ + "kind": "HorizontalPodAutoscaler", + "apiVersion": "autoscaling/v2", + "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": { + "scaleTargetRef": { + "kind": "kindValue", + "name": "nameValue", + "apiVersion": "apiVersionValue" + }, + "minReplicas": 2, + "maxReplicas": 3, + "metrics": [ + { + "type": "typeValue", + "object": { + "describedObject": { + "kind": "kindValue", + "name": "nameValue", + "apiVersion": "apiVersionValue" + }, + "target": { + "type": "typeValue", + "value": "0", + "averageValue": "0", + "averageUtilization": 4 + }, + "metric": { + "name": "nameValue", + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + }, + "pods": { + "metric": { + "name": "nameValue", + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + }, + "target": { + "type": "typeValue", + "value": "0", + "averageValue": "0", + "averageUtilization": 4 + } + }, + "resource": { + "name": "nameValue", + "target": { + "type": "typeValue", + "value": "0", + "averageValue": "0", + "averageUtilization": 4 + } + }, + "containerResource": { + "name": "nameValue", + "target": { + "type": "typeValue", + "value": "0", + "averageValue": "0", + "averageUtilization": 4 + }, + "container": "containerValue" + }, + "external": { + "metric": { + "name": "nameValue", + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + }, + "target": { + "type": "typeValue", + "value": "0", + "averageValue": "0", + "averageUtilization": 4 + } + } + } + ], + "behavior": { + "scaleUp": { + "stabilizationWindowSeconds": 3, + "selectPolicy": "selectPolicyValue", + "policies": [ + { + "type": "typeValue", + "value": 2, + "periodSeconds": 3 + } + ] + }, + "scaleDown": { + "stabilizationWindowSeconds": 3, + "selectPolicy": "selectPolicyValue", + "policies": [ + { + "type": "typeValue", + "value": 2, + "periodSeconds": 3 + } + ] + } + } + }, + "status": { + "observedGeneration": 1, + "lastScaleTime": "2002-01-01T01:01:01Z", + "currentReplicas": 3, + "desiredReplicas": 4, + "currentMetrics": [ + { + "type": "typeValue", + "object": { + "metric": { + "name": "nameValue", + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + }, + "current": { + "value": "0", + "averageValue": "0", + "averageUtilization": 3 + }, + "describedObject": { + "kind": "kindValue", + "name": "nameValue", + "apiVersion": "apiVersionValue" + } + }, + "pods": { + "metric": { + "name": "nameValue", + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + }, + "current": { + "value": "0", + "averageValue": "0", + "averageUtilization": 3 + } + }, + "resource": { + "name": "nameValue", + "current": { + "value": "0", + "averageValue": "0", + "averageUtilization": 3 + } + }, + "containerResource": { + "name": "nameValue", + "current": { + "value": "0", + "averageValue": "0", + "averageUtilization": 3 + }, + "container": "containerValue" + }, + "external": { + "metric": { + "name": "nameValue", + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + }, + "current": { + "value": "0", + "averageValue": "0", + "averageUtilization": 3 + } + } + } + ], + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2.HorizontalPodAutoscaler.pb b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2.HorizontalPodAutoscaler.pb new file mode 100644 index 00000000000..3d150751988 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2.HorizontalPodAutoscaler.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2.HorizontalPodAutoscaler.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2.HorizontalPodAutoscaler.yaml new file mode 100644 index 00000000000..78ce5ba9136 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2.HorizontalPodAutoscaler.yaml @@ -0,0 +1,200 @@ +apiVersion: autoscaling/v2 +kind: HorizontalPodAutoscaler +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: + behavior: + scaleDown: + policies: + - periodSeconds: 3 + type: typeValue + value: 2 + selectPolicy: selectPolicyValue + stabilizationWindowSeconds: 3 + scaleUp: + policies: + - periodSeconds: 3 + type: typeValue + value: 2 + selectPolicy: selectPolicyValue + stabilizationWindowSeconds: 3 + maxReplicas: 3 + metrics: + - containerResource: + container: containerValue + name: nameValue + target: + averageUtilization: 4 + averageValue: "0" + type: typeValue + value: "0" + external: + metric: + name: nameValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + target: + averageUtilization: 4 + averageValue: "0" + type: typeValue + value: "0" + object: + describedObject: + apiVersion: apiVersionValue + kind: kindValue + name: nameValue + metric: + name: nameValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + target: + averageUtilization: 4 + averageValue: "0" + type: typeValue + value: "0" + pods: + metric: + name: nameValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + target: + averageUtilization: 4 + averageValue: "0" + type: typeValue + value: "0" + resource: + name: nameValue + target: + averageUtilization: 4 + averageValue: "0" + type: typeValue + value: "0" + type: typeValue + minReplicas: 2 + scaleTargetRef: + apiVersion: apiVersionValue + kind: kindValue + name: nameValue +status: + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + currentMetrics: + - containerResource: + container: containerValue + current: + averageUtilization: 3 + averageValue: "0" + value: "0" + name: nameValue + external: + current: + averageUtilization: 3 + averageValue: "0" + value: "0" + metric: + name: nameValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + object: + current: + averageUtilization: 3 + averageValue: "0" + value: "0" + describedObject: + apiVersion: apiVersionValue + kind: kindValue + name: nameValue + metric: + name: nameValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + pods: + current: + averageUtilization: 3 + averageValue: "0" + value: "0" + metric: + name: nameValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + resource: + current: + averageUtilization: 3 + averageValue: "0" + value: "0" + name: nameValue + type: typeValue + currentReplicas: 3 + desiredReplicas: 4 + lastScaleTime: "2002-01-01T01:01:01Z" + observedGeneration: 1 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2beta1.HorizontalPodAutoscaler.json b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2beta1.HorizontalPodAutoscaler.json new file mode 100644 index 00000000000..ff45a9511f0 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2beta1.HorizontalPodAutoscaler.json @@ -0,0 +1,224 @@ +{ + "kind": "HorizontalPodAutoscaler", + "apiVersion": "autoscaling/v2beta1", + "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": { + "scaleTargetRef": { + "kind": "kindValue", + "name": "nameValue", + "apiVersion": "apiVersionValue" + }, + "minReplicas": 2, + "maxReplicas": 3, + "metrics": [ + { + "type": "typeValue", + "object": { + "target": { + "kind": "kindValue", + "name": "nameValue", + "apiVersion": "apiVersionValue" + }, + "metricName": "metricNameValue", + "targetValue": "0", + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "averageValue": "0" + }, + "pods": { + "metricName": "metricNameValue", + "targetAverageValue": "0", + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + }, + "resource": { + "name": "nameValue", + "targetAverageUtilization": 2, + "targetAverageValue": "0" + }, + "containerResource": { + "name": "nameValue", + "targetAverageUtilization": 2, + "targetAverageValue": "0", + "container": "containerValue" + }, + "external": { + "metricName": "metricNameValue", + "metricSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "targetValue": "0", + "targetAverageValue": "0" + } + } + ] + }, + "status": { + "observedGeneration": 1, + "lastScaleTime": "2002-01-01T01:01:01Z", + "currentReplicas": 3, + "desiredReplicas": 4, + "currentMetrics": [ + { + "type": "typeValue", + "object": { + "target": { + "kind": "kindValue", + "name": "nameValue", + "apiVersion": "apiVersionValue" + }, + "metricName": "metricNameValue", + "currentValue": "0", + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "averageValue": "0" + }, + "pods": { + "metricName": "metricNameValue", + "currentAverageValue": "0", + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + }, + "resource": { + "name": "nameValue", + "currentAverageUtilization": 2, + "currentAverageValue": "0" + }, + "containerResource": { + "name": "nameValue", + "currentAverageUtilization": 2, + "currentAverageValue": "0", + "container": "containerValue" + }, + "external": { + "metricName": "metricNameValue", + "metricSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "currentValue": "0", + "currentAverageValue": "0" + } + } + ], + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2beta1.HorizontalPodAutoscaler.pb b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2beta1.HorizontalPodAutoscaler.pb new file mode 100644 index 00000000000..e32a35d98ae Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2beta1.HorizontalPodAutoscaler.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2beta1.HorizontalPodAutoscaler.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2beta1.HorizontalPodAutoscaler.yaml new file mode 100644 index 00000000000..deeb7cd122e --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2beta1.HorizontalPodAutoscaler.yaml @@ -0,0 +1,152 @@ +apiVersion: autoscaling/v2beta1 +kind: HorizontalPodAutoscaler +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: + maxReplicas: 3 + metrics: + - containerResource: + container: containerValue + name: nameValue + targetAverageUtilization: 2 + targetAverageValue: "0" + external: + metricName: metricNameValue + metricSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + targetAverageValue: "0" + targetValue: "0" + object: + averageValue: "0" + metricName: metricNameValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + target: + apiVersion: apiVersionValue + kind: kindValue + name: nameValue + targetValue: "0" + pods: + metricName: metricNameValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + targetAverageValue: "0" + resource: + name: nameValue + targetAverageUtilization: 2 + targetAverageValue: "0" + type: typeValue + minReplicas: 2 + scaleTargetRef: + apiVersion: apiVersionValue + kind: kindValue + name: nameValue +status: + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + currentMetrics: + - containerResource: + container: containerValue + currentAverageUtilization: 2 + currentAverageValue: "0" + name: nameValue + external: + currentAverageValue: "0" + currentValue: "0" + metricName: metricNameValue + metricSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + object: + averageValue: "0" + currentValue: "0" + metricName: metricNameValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + target: + apiVersion: apiVersionValue + kind: kindValue + name: nameValue + pods: + currentAverageValue: "0" + metricName: metricNameValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + resource: + currentAverageUtilization: 2 + currentAverageValue: "0" + name: nameValue + type: typeValue + currentReplicas: 3 + desiredReplicas: 4 + lastScaleTime: "2002-01-01T01:01:01Z" + observedGeneration: 1 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2beta2.HorizontalPodAutoscaler.json b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2beta2.HorizontalPodAutoscaler.json new file mode 100644 index 00000000000..3543686cd4d --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2beta2.HorizontalPodAutoscaler.json @@ -0,0 +1,297 @@ +{ + "kind": "HorizontalPodAutoscaler", + "apiVersion": "autoscaling/v2beta2", + "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": { + "scaleTargetRef": { + "kind": "kindValue", + "name": "nameValue", + "apiVersion": "apiVersionValue" + }, + "minReplicas": 2, + "maxReplicas": 3, + "metrics": [ + { + "type": "typeValue", + "object": { + "describedObject": { + "kind": "kindValue", + "name": "nameValue", + "apiVersion": "apiVersionValue" + }, + "target": { + "type": "typeValue", + "value": "0", + "averageValue": "0", + "averageUtilization": 4 + }, + "metric": { + "name": "nameValue", + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + }, + "pods": { + "metric": { + "name": "nameValue", + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + }, + "target": { + "type": "typeValue", + "value": "0", + "averageValue": "0", + "averageUtilization": 4 + } + }, + "resource": { + "name": "nameValue", + "target": { + "type": "typeValue", + "value": "0", + "averageValue": "0", + "averageUtilization": 4 + } + }, + "containerResource": { + "name": "nameValue", + "target": { + "type": "typeValue", + "value": "0", + "averageValue": "0", + "averageUtilization": 4 + }, + "container": "containerValue" + }, + "external": { + "metric": { + "name": "nameValue", + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + }, + "target": { + "type": "typeValue", + "value": "0", + "averageValue": "0", + "averageUtilization": 4 + } + } + } + ], + "behavior": { + "scaleUp": { + "stabilizationWindowSeconds": 3, + "selectPolicy": "selectPolicyValue", + "policies": [ + { + "type": "typeValue", + "value": 2, + "periodSeconds": 3 + } + ] + }, + "scaleDown": { + "stabilizationWindowSeconds": 3, + "selectPolicy": "selectPolicyValue", + "policies": [ + { + "type": "typeValue", + "value": 2, + "periodSeconds": 3 + } + ] + } + } + }, + "status": { + "observedGeneration": 1, + "lastScaleTime": "2002-01-01T01:01:01Z", + "currentReplicas": 3, + "desiredReplicas": 4, + "currentMetrics": [ + { + "type": "typeValue", + "object": { + "metric": { + "name": "nameValue", + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + }, + "current": { + "value": "0", + "averageValue": "0", + "averageUtilization": 3 + }, + "describedObject": { + "kind": "kindValue", + "name": "nameValue", + "apiVersion": "apiVersionValue" + } + }, + "pods": { + "metric": { + "name": "nameValue", + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + }, + "current": { + "value": "0", + "averageValue": "0", + "averageUtilization": 3 + } + }, + "resource": { + "name": "nameValue", + "current": { + "value": "0", + "averageValue": "0", + "averageUtilization": 3 + } + }, + "containerResource": { + "name": "nameValue", + "current": { + "value": "0", + "averageValue": "0", + "averageUtilization": 3 + }, + "container": "containerValue" + }, + "external": { + "metric": { + "name": "nameValue", + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + }, + "current": { + "value": "0", + "averageValue": "0", + "averageUtilization": 3 + } + } + } + ], + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2beta2.HorizontalPodAutoscaler.pb b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2beta2.HorizontalPodAutoscaler.pb new file mode 100644 index 00000000000..5ffa5cb2a52 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2beta2.HorizontalPodAutoscaler.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2beta2.HorizontalPodAutoscaler.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2beta2.HorizontalPodAutoscaler.yaml new file mode 100644 index 00000000000..6400cc7d810 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/autoscaling.v2beta2.HorizontalPodAutoscaler.yaml @@ -0,0 +1,200 @@ +apiVersion: autoscaling/v2beta2 +kind: HorizontalPodAutoscaler +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: + behavior: + scaleDown: + policies: + - periodSeconds: 3 + type: typeValue + value: 2 + selectPolicy: selectPolicyValue + stabilizationWindowSeconds: 3 + scaleUp: + policies: + - periodSeconds: 3 + type: typeValue + value: 2 + selectPolicy: selectPolicyValue + stabilizationWindowSeconds: 3 + maxReplicas: 3 + metrics: + - containerResource: + container: containerValue + name: nameValue + target: + averageUtilization: 4 + averageValue: "0" + type: typeValue + value: "0" + external: + metric: + name: nameValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + target: + averageUtilization: 4 + averageValue: "0" + type: typeValue + value: "0" + object: + describedObject: + apiVersion: apiVersionValue + kind: kindValue + name: nameValue + metric: + name: nameValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + target: + averageUtilization: 4 + averageValue: "0" + type: typeValue + value: "0" + pods: + metric: + name: nameValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + target: + averageUtilization: 4 + averageValue: "0" + type: typeValue + value: "0" + resource: + name: nameValue + target: + averageUtilization: 4 + averageValue: "0" + type: typeValue + value: "0" + type: typeValue + minReplicas: 2 + scaleTargetRef: + apiVersion: apiVersionValue + kind: kindValue + name: nameValue +status: + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + currentMetrics: + - containerResource: + container: containerValue + current: + averageUtilization: 3 + averageValue: "0" + value: "0" + name: nameValue + external: + current: + averageUtilization: 3 + averageValue: "0" + value: "0" + metric: + name: nameValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + object: + current: + averageUtilization: 3 + averageValue: "0" + value: "0" + describedObject: + apiVersion: apiVersionValue + kind: kindValue + name: nameValue + metric: + name: nameValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + pods: + current: + averageUtilization: 3 + averageValue: "0" + value: "0" + metric: + name: nameValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + resource: + current: + averageUtilization: 3 + averageValue: "0" + value: "0" + name: nameValue + type: typeValue + currentReplicas: 3 + desiredReplicas: 4 + lastScaleTime: "2002-01-01T01:01:01Z" + observedGeneration: 1 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1.CronJob.json b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1.CronJob.json new file mode 100644 index 00000000000..9f2b1fc3bdd --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1.CronJob.json @@ -0,0 +1,1764 @@ +{ + "kind": "CronJob", + "apiVersion": "batch/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": { + "schedule": "scheduleValue", + "timeZone": "timeZoneValue", + "startingDeadlineSeconds": 2, + "concurrencyPolicy": "concurrencyPolicyValue", + "suspend": true, + "jobTemplate": { + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "parallelism": 1, + "completions": 2, + "activeDeadlineSeconds": 3, + "podFailurePolicy": { + "rules": [ + { + "action": "actionValue", + "onExitCodes": { + "containerName": "containerNameValue", + "operator": "operatorValue", + "values": [ + 3 + ] + }, + "onPodConditions": [ + { + "type": "typeValue", + "status": "statusValue" + } + ] + } + ] + }, + "backoffLimit": 7, + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "manualSelector": true, + "template": { + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "volumes": [ + { + "name": "nameValue", + "hostPath": { + "path": "pathValue", + "type": "typeValue" + }, + "emptyDir": { + "medium": "mediumValue", + "sizeLimit": "0" + }, + "gcePersistentDisk": { + "pdName": "pdNameValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "awsElasticBlockStore": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "gitRepo": { + "repository": "repositoryValue", + "revision": "revisionValue", + "directory": "directoryValue" + }, + "secret": { + "secretName": "secretNameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "defaultMode": 3, + "optional": true + }, + "nfs": { + "server": "serverValue", + "path": "pathValue", + "readOnly": true + }, + "iscsi": { + "targetPortal": "targetPortalValue", + "iqn": "iqnValue", + "lun": 3, + "iscsiInterface": "iscsiInterfaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "portals": [ + "portalsValue" + ], + "chapAuthDiscovery": true, + "chapAuthSession": true, + "secretRef": { + "name": "nameValue" + }, + "initiatorName": "initiatorNameValue" + }, + "glusterfs": { + "endpoints": "endpointsValue", + "path": "pathValue", + "readOnly": true + }, + "persistentVolumeClaim": { + "claimName": "claimNameValue", + "readOnly": true + }, + "rbd": { + "monitors": [ + "monitorsValue" + ], + "image": "imageValue", + "fsType": "fsTypeValue", + "pool": "poolValue", + "user": "userValue", + "keyring": "keyringValue", + "secretRef": { + "name": "nameValue" + }, + "readOnly": true + }, + "flexVolume": { + "driver": "driverValue", + "fsType": "fsTypeValue", + "secretRef": { + "name": "nameValue" + }, + "readOnly": true, + "options": { + "optionsKey": "optionsValue" + } + }, + "cinder": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "name": "nameValue" + } + }, + "cephfs": { + "monitors": [ + "monitorsValue" + ], + "path": "pathValue", + "user": "userValue", + "secretFile": "secretFileValue", + "secretRef": { + "name": "nameValue" + }, + "readOnly": true + }, + "flocker": { + "datasetName": "datasetNameValue", + "datasetUUID": "datasetUUIDValue" + }, + "downwardAPI": { + "items": [ + { + "path": "pathValue", + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "mode": 4 + } + ], + "defaultMode": 2 + }, + "fc": { + "targetWWNs": [ + "targetWWNsValue" + ], + "lun": 2, + "fsType": "fsTypeValue", + "readOnly": true, + "wwids": [ + "wwidsValue" + ] + }, + "azureFile": { + "secretName": "secretNameValue", + "shareName": "shareNameValue", + "readOnly": true + }, + "configMap": { + "name": "nameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "defaultMode": 3, + "optional": true + }, + "vsphereVolume": { + "volumePath": "volumePathValue", + "fsType": "fsTypeValue", + "storagePolicyName": "storagePolicyNameValue", + "storagePolicyID": "storagePolicyIDValue" + }, + "quobyte": { + "registry": "registryValue", + "volume": "volumeValue", + "readOnly": true, + "user": "userValue", + "group": "groupValue", + "tenant": "tenantValue" + }, + "azureDisk": { + "diskName": "diskNameValue", + "diskURI": "diskURIValue", + "cachingMode": "cachingModeValue", + "fsType": "fsTypeValue", + "readOnly": true, + "kind": "kindValue" + }, + "photonPersistentDisk": { + "pdID": "pdIDValue", + "fsType": "fsTypeValue" + }, + "projected": { + "sources": [ + { + "secret": { + "name": "nameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "optional": true + }, + "downwardAPI": { + "items": [ + { + "path": "pathValue", + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "mode": 4 + } + ] + }, + "configMap": { + "name": "nameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "optional": true + }, + "serviceAccountToken": { + "audience": "audienceValue", + "expirationSeconds": 2, + "path": "pathValue" + } + } + ], + "defaultMode": 2 + }, + "portworxVolume": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "scaleIO": { + "gateway": "gatewayValue", + "system": "systemValue", + "secretRef": { + "name": "nameValue" + }, + "sslEnabled": true, + "protectionDomain": "protectionDomainValue", + "storagePool": "storagePoolValue", + "storageMode": "storageModeValue", + "volumeName": "volumeNameValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "storageos": { + "volumeName": "volumeNameValue", + "volumeNamespace": "volumeNamespaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "name": "nameValue" + } + }, + "csi": { + "driver": "driverValue", + "readOnly": true, + "fsType": "fsTypeValue", + "volumeAttributes": { + "volumeAttributesKey": "volumeAttributesValue" + }, + "nodePublishSecretRef": { + "name": "nameValue" + } + }, + "ephemeral": { + "volumeClaimTemplate": { + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "accessModes": [ + "accessModesValue" + ], + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue" + } + ] + }, + "volumeName": "volumeNameValue", + "storageClassName": "storageClassNameValue", + "volumeMode": "volumeModeValue", + "dataSource": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + }, + "dataSourceRef": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue", + "namespace": "namespaceValue" + } + } + } + } + } + ], + "initContainers": [ + { + "name": "nameValue", + "image": "imageValue", + "command": [ + "commandValue" + ], + "args": [ + "argsValue" + ], + "workingDir": "workingDirValue", + "ports": [ + { + "name": "nameValue", + "hostPort": 2, + "containerPort": 3, + "protocol": "protocolValue", + "hostIP": "hostIPValue" + } + ], + "envFrom": [ + { + "prefix": "prefixValue", + "configMapRef": { + "name": "nameValue", + "optional": true + }, + "secretRef": { + "name": "nameValue", + "optional": true + } + } + ], + "env": [ + { + "name": "nameValue", + "value": "valueValue", + "valueFrom": { + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "configMapKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "secretKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + } + } + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "readOnly": true, + "mountPath": "mountPathValue", + "subPath": "subPathValue", + "mountPropagation": "mountPropagationValue", + "subPathExpr": "subPathExprValue" + } + ], + "volumeDevices": [ + { + "name": "nameValue", + "devicePath": "devicePathValue" + } + ], + "livenessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "readinessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "startupProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "lifecycle": { + "postStart": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + }, + "preStop": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + } + }, + "terminationMessagePath": "terminationMessagePathValue", + "terminationMessagePolicy": "terminationMessagePolicyValue", + "imagePullPolicy": "imagePullPolicyValue", + "securityContext": { + "capabilities": { + "add": [ + "addValue" + ], + "drop": [ + "dropValue" + ] + }, + "privileged": true, + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 4, + "runAsGroup": 8, + "runAsNonRoot": true, + "readOnlyRootFilesystem": true, + "allowPrivilegeEscalation": true, + "procMount": "procMountValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "stdin": true, + "stdinOnce": true, + "tty": true + } + ], + "containers": [ + { + "name": "nameValue", + "image": "imageValue", + "command": [ + "commandValue" + ], + "args": [ + "argsValue" + ], + "workingDir": "workingDirValue", + "ports": [ + { + "name": "nameValue", + "hostPort": 2, + "containerPort": 3, + "protocol": "protocolValue", + "hostIP": "hostIPValue" + } + ], + "envFrom": [ + { + "prefix": "prefixValue", + "configMapRef": { + "name": "nameValue", + "optional": true + }, + "secretRef": { + "name": "nameValue", + "optional": true + } + } + ], + "env": [ + { + "name": "nameValue", + "value": "valueValue", + "valueFrom": { + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "configMapKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "secretKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + } + } + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "readOnly": true, + "mountPath": "mountPathValue", + "subPath": "subPathValue", + "mountPropagation": "mountPropagationValue", + "subPathExpr": "subPathExprValue" + } + ], + "volumeDevices": [ + { + "name": "nameValue", + "devicePath": "devicePathValue" + } + ], + "livenessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "readinessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "startupProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "lifecycle": { + "postStart": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + }, + "preStop": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + } + }, + "terminationMessagePath": "terminationMessagePathValue", + "terminationMessagePolicy": "terminationMessagePolicyValue", + "imagePullPolicy": "imagePullPolicyValue", + "securityContext": { + "capabilities": { + "add": [ + "addValue" + ], + "drop": [ + "dropValue" + ] + }, + "privileged": true, + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 4, + "runAsGroup": 8, + "runAsNonRoot": true, + "readOnlyRootFilesystem": true, + "allowPrivilegeEscalation": true, + "procMount": "procMountValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "stdin": true, + "stdinOnce": true, + "tty": true + } + ], + "ephemeralContainers": [ + { + "name": "nameValue", + "image": "imageValue", + "command": [ + "commandValue" + ], + "args": [ + "argsValue" + ], + "workingDir": "workingDirValue", + "ports": [ + { + "name": "nameValue", + "hostPort": 2, + "containerPort": 3, + "protocol": "protocolValue", + "hostIP": "hostIPValue" + } + ], + "envFrom": [ + { + "prefix": "prefixValue", + "configMapRef": { + "name": "nameValue", + "optional": true + }, + "secretRef": { + "name": "nameValue", + "optional": true + } + } + ], + "env": [ + { + "name": "nameValue", + "value": "valueValue", + "valueFrom": { + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "configMapKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "secretKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + } + } + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "readOnly": true, + "mountPath": "mountPathValue", + "subPath": "subPathValue", + "mountPropagation": "mountPropagationValue", + "subPathExpr": "subPathExprValue" + } + ], + "volumeDevices": [ + { + "name": "nameValue", + "devicePath": "devicePathValue" + } + ], + "livenessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "readinessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "startupProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "lifecycle": { + "postStart": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + }, + "preStop": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + } + }, + "terminationMessagePath": "terminationMessagePathValue", + "terminationMessagePolicy": "terminationMessagePolicyValue", + "imagePullPolicy": "imagePullPolicyValue", + "securityContext": { + "capabilities": { + "add": [ + "addValue" + ], + "drop": [ + "dropValue" + ] + }, + "privileged": true, + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 4, + "runAsGroup": 8, + "runAsNonRoot": true, + "readOnlyRootFilesystem": true, + "allowPrivilegeEscalation": true, + "procMount": "procMountValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "stdin": true, + "stdinOnce": true, + "tty": true, + "targetContainerName": "targetContainerNameValue" + } + ], + "restartPolicy": "restartPolicyValue", + "terminationGracePeriodSeconds": 4, + "activeDeadlineSeconds": 5, + "dnsPolicy": "dnsPolicyValue", + "nodeSelector": { + "nodeSelectorKey": "nodeSelectorValue" + }, + "serviceAccountName": "serviceAccountNameValue", + "serviceAccount": "serviceAccountValue", + "automountServiceAccountToken": true, + "nodeName": "nodeNameValue", + "hostNetwork": true, + "hostPID": true, + "hostIPC": true, + "shareProcessNamespace": true, + "securityContext": { + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 2, + "runAsGroup": 6, + "runAsNonRoot": true, + "supplementalGroups": [ + 4 + ], + "fsGroup": 5, + "sysctls": [ + { + "name": "nameValue", + "value": "valueValue" + } + ], + "fsGroupChangePolicy": "fsGroupChangePolicyValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "imagePullSecrets": [ + { + "name": "nameValue" + } + ], + "hostname": "hostnameValue", + "subdomain": "subdomainValue", + "affinity": { + "nodeAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "nodeSelectorTerms": [ + { + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ], + "matchFields": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + ] + }, + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "weight": 1, + "preference": { + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ], + "matchFields": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + ] + }, + "podAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": [ + { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + ], + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "weight": 1, + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + } + ] + }, + "podAntiAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": [ + { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + ], + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "weight": 1, + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + } + ] + } + }, + "schedulerName": "schedulerNameValue", + "tolerations": [ + { + "key": "keyValue", + "operator": "operatorValue", + "value": "valueValue", + "effect": "effectValue", + "tolerationSeconds": 5 + } + ], + "hostAliases": [ + { + "ip": "ipValue", + "hostnames": [ + "hostnamesValue" + ] + } + ], + "priorityClassName": "priorityClassNameValue", + "priority": 25, + "dnsConfig": { + "nameservers": [ + "nameserversValue" + ], + "searches": [ + "searchesValue" + ], + "options": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "readinessGates": [ + { + "conditionType": "conditionTypeValue" + } + ], + "runtimeClassName": "runtimeClassNameValue", + "enableServiceLinks": true, + "preemptionPolicy": "preemptionPolicyValue", + "overhead": { + "overheadKey": "0" + }, + "topologySpreadConstraints": [ + { + "maxSkew": 1, + "topologyKey": "topologyKeyValue", + "whenUnsatisfiable": "whenUnsatisfiableValue", + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "minDomains": 5, + "nodeAffinityPolicy": "nodeAffinityPolicyValue", + "nodeTaintsPolicy": "nodeTaintsPolicyValue", + "matchLabelKeys": [ + "matchLabelKeysValue" + ] + } + ], + "setHostnameAsFQDN": true, + "os": { + "name": "nameValue" + }, + "hostUsers": true, + "schedulingGates": [ + { + "name": "nameValue" + } + ], + "resourceClaims": [ + { + "name": "nameValue", + "source": { + "resourceClaimName": "resourceClaimNameValue", + "resourceClaimTemplateName": "resourceClaimTemplateNameValue" + } + } + ] + } + }, + "ttlSecondsAfterFinished": 8, + "completionMode": "completionModeValue", + "suspend": true + } + }, + "successfulJobsHistoryLimit": 6, + "failedJobsHistoryLimit": 7 + }, + "status": { + "active": [ + { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + } + ], + "lastScheduleTime": "2004-01-01T01:01:01Z", + "lastSuccessfulTime": "2005-01-01T01:01:01Z" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1.CronJob.pb b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1.CronJob.pb new file mode 100644 index 00000000000..8cd7ebdc40c Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1.CronJob.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1.CronJob.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1.CronJob.yaml new file mode 100644 index 00000000000..05bdfcc75d7 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1.CronJob.yaml @@ -0,0 +1,1212 @@ +apiVersion: batch/v1 +kind: CronJob +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: + concurrencyPolicy: concurrencyPolicyValue + failedJobsHistoryLimit: 7 + jobTemplate: + metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue + spec: + activeDeadlineSeconds: 3 + backoffLimit: 7 + completionMode: completionModeValue + completions: 2 + manualSelector: true + parallelism: 1 + podFailurePolicy: + rules: + - action: actionValue + onExitCodes: + containerName: containerNameValue + operator: operatorValue + values: + - 3 + onPodConditions: + - status: statusValue + type: typeValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + suspend: true + template: + metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue + spec: + activeDeadlineSeconds: 5 + affinity: + nodeAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - preference: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchFields: + - key: keyValue + operator: operatorValue + values: + - valuesValue + weight: 1 + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchFields: + - key: keyValue + operator: operatorValue + values: + - valuesValue + podAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + weight: 1 + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + weight: 1 + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + automountServiceAccountToken: true + containers: + - args: + - argsValue + command: + - commandValue + env: + - name: nameValue + value: valueValue + valueFrom: + configMapKeyRef: + key: keyValue + name: nameValue + optional: true + fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secretKeyRef: + key: keyValue + name: nameValue + optional: true + envFrom: + - configMapRef: + name: nameValue + optional: true + prefix: prefixValue + secretRef: + name: nameValue + optional: true + image: imageValue + imagePullPolicy: imagePullPolicyValue + lifecycle: + postStart: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + preStop: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + livenessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + name: nameValue + ports: + - containerPort: 3 + hostIP: hostIPValue + hostPort: 2 + name: nameValue + protocol: protocolValue + readinessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + resources: + claims: + - name: nameValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + securityContext: + allowPrivilegeEscalation: true + capabilities: + add: + - addValue + drop: + - dropValue + privileged: true + procMount: procMountValue + readOnlyRootFilesystem: true + runAsGroup: 8 + runAsNonRoot: true + runAsUser: 4 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + startupProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + stdin: true + stdinOnce: true + terminationMessagePath: terminationMessagePathValue + terminationMessagePolicy: terminationMessagePolicyValue + tty: true + volumeDevices: + - devicePath: devicePathValue + name: nameValue + volumeMounts: + - mountPath: mountPathValue + mountPropagation: mountPropagationValue + name: nameValue + readOnly: true + subPath: subPathValue + subPathExpr: subPathExprValue + workingDir: workingDirValue + dnsConfig: + nameservers: + - nameserversValue + options: + - name: nameValue + value: valueValue + searches: + - searchesValue + dnsPolicy: dnsPolicyValue + enableServiceLinks: true + ephemeralContainers: + - args: + - argsValue + command: + - commandValue + env: + - name: nameValue + value: valueValue + valueFrom: + configMapKeyRef: + key: keyValue + name: nameValue + optional: true + fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secretKeyRef: + key: keyValue + name: nameValue + optional: true + envFrom: + - configMapRef: + name: nameValue + optional: true + prefix: prefixValue + secretRef: + name: nameValue + optional: true + image: imageValue + imagePullPolicy: imagePullPolicyValue + lifecycle: + postStart: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + preStop: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + livenessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + name: nameValue + ports: + - containerPort: 3 + hostIP: hostIPValue + hostPort: 2 + name: nameValue + protocol: protocolValue + readinessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + resources: + claims: + - name: nameValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + securityContext: + allowPrivilegeEscalation: true + capabilities: + add: + - addValue + drop: + - dropValue + privileged: true + procMount: procMountValue + readOnlyRootFilesystem: true + runAsGroup: 8 + runAsNonRoot: true + runAsUser: 4 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + startupProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + stdin: true + stdinOnce: true + targetContainerName: targetContainerNameValue + terminationMessagePath: terminationMessagePathValue + terminationMessagePolicy: terminationMessagePolicyValue + tty: true + volumeDevices: + - devicePath: devicePathValue + name: nameValue + volumeMounts: + - mountPath: mountPathValue + mountPropagation: mountPropagationValue + name: nameValue + readOnly: true + subPath: subPathValue + subPathExpr: subPathExprValue + workingDir: workingDirValue + hostAliases: + - hostnames: + - hostnamesValue + ip: ipValue + hostIPC: true + hostNetwork: true + hostPID: true + hostUsers: true + hostname: hostnameValue + imagePullSecrets: + - name: nameValue + initContainers: + - args: + - argsValue + command: + - commandValue + env: + - name: nameValue + value: valueValue + valueFrom: + configMapKeyRef: + key: keyValue + name: nameValue + optional: true + fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secretKeyRef: + key: keyValue + name: nameValue + optional: true + envFrom: + - configMapRef: + name: nameValue + optional: true + prefix: prefixValue + secretRef: + name: nameValue + optional: true + image: imageValue + imagePullPolicy: imagePullPolicyValue + lifecycle: + postStart: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + preStop: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + livenessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + name: nameValue + ports: + - containerPort: 3 + hostIP: hostIPValue + hostPort: 2 + name: nameValue + protocol: protocolValue + readinessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + resources: + claims: + - name: nameValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + securityContext: + allowPrivilegeEscalation: true + capabilities: + add: + - addValue + drop: + - dropValue + privileged: true + procMount: procMountValue + readOnlyRootFilesystem: true + runAsGroup: 8 + runAsNonRoot: true + runAsUser: 4 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + startupProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + stdin: true + stdinOnce: true + terminationMessagePath: terminationMessagePathValue + terminationMessagePolicy: terminationMessagePolicyValue + tty: true + volumeDevices: + - devicePath: devicePathValue + name: nameValue + volumeMounts: + - mountPath: mountPathValue + mountPropagation: mountPropagationValue + name: nameValue + readOnly: true + subPath: subPathValue + subPathExpr: subPathExprValue + workingDir: workingDirValue + nodeName: nodeNameValue + nodeSelector: + nodeSelectorKey: nodeSelectorValue + os: + name: nameValue + overhead: + overheadKey: "0" + preemptionPolicy: preemptionPolicyValue + priority: 25 + priorityClassName: priorityClassNameValue + readinessGates: + - conditionType: conditionTypeValue + resourceClaims: + - name: nameValue + source: + resourceClaimName: resourceClaimNameValue + resourceClaimTemplateName: resourceClaimTemplateNameValue + restartPolicy: restartPolicyValue + runtimeClassName: runtimeClassNameValue + schedulerName: schedulerNameValue + schedulingGates: + - name: nameValue + securityContext: + fsGroup: 5 + fsGroupChangePolicy: fsGroupChangePolicyValue + runAsGroup: 6 + runAsNonRoot: true + runAsUser: 2 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + supplementalGroups: + - 4 + sysctls: + - name: nameValue + value: valueValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + serviceAccount: serviceAccountValue + serviceAccountName: serviceAccountNameValue + setHostnameAsFQDN: true + shareProcessNamespace: true + subdomain: subdomainValue + terminationGracePeriodSeconds: 4 + tolerations: + - effect: effectValue + key: keyValue + operator: operatorValue + tolerationSeconds: 5 + value: valueValue + topologySpreadConstraints: + - labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + matchLabelKeys: + - matchLabelKeysValue + maxSkew: 1 + minDomains: 5 + nodeAffinityPolicy: nodeAffinityPolicyValue + nodeTaintsPolicy: nodeTaintsPolicyValue + topologyKey: topologyKeyValue + whenUnsatisfiable: whenUnsatisfiableValue + volumes: + - awsElasticBlockStore: + fsType: fsTypeValue + partition: 3 + readOnly: true + volumeID: volumeIDValue + azureDisk: + cachingMode: cachingModeValue + diskName: diskNameValue + diskURI: diskURIValue + fsType: fsTypeValue + kind: kindValue + readOnly: true + azureFile: + readOnly: true + secretName: secretNameValue + shareName: shareNameValue + cephfs: + monitors: + - monitorsValue + path: pathValue + readOnly: true + secretFile: secretFileValue + secretRef: + name: nameValue + user: userValue + cinder: + fsType: fsTypeValue + readOnly: true + secretRef: + name: nameValue + volumeID: volumeIDValue + configMap: + defaultMode: 3 + items: + - key: keyValue + mode: 3 + path: pathValue + name: nameValue + optional: true + csi: + driver: driverValue + fsType: fsTypeValue + nodePublishSecretRef: + name: nameValue + readOnly: true + volumeAttributes: + volumeAttributesKey: volumeAttributesValue + downwardAPI: + defaultMode: 2 + items: + - fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + mode: 4 + path: pathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + emptyDir: + medium: mediumValue + sizeLimit: "0" + ephemeral: + volumeClaimTemplate: + metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue + spec: + accessModes: + - accessModesValue + dataSource: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + dataSourceRef: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resources: + claims: + - name: nameValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + storageClassName: storageClassNameValue + volumeMode: volumeModeValue + volumeName: volumeNameValue + fc: + fsType: fsTypeValue + lun: 2 + readOnly: true + targetWWNs: + - targetWWNsValue + wwids: + - wwidsValue + flexVolume: + driver: driverValue + fsType: fsTypeValue + options: + optionsKey: optionsValue + readOnly: true + secretRef: + name: nameValue + flocker: + datasetName: datasetNameValue + datasetUUID: datasetUUIDValue + gcePersistentDisk: + fsType: fsTypeValue + partition: 3 + pdName: pdNameValue + readOnly: true + gitRepo: + directory: directoryValue + repository: repositoryValue + revision: revisionValue + glusterfs: + endpoints: endpointsValue + path: pathValue + readOnly: true + hostPath: + path: pathValue + type: typeValue + iscsi: + chapAuthDiscovery: true + chapAuthSession: true + fsType: fsTypeValue + initiatorName: initiatorNameValue + iqn: iqnValue + iscsiInterface: iscsiInterfaceValue + lun: 3 + portals: + - portalsValue + readOnly: true + secretRef: + name: nameValue + targetPortal: targetPortalValue + name: nameValue + nfs: + path: pathValue + readOnly: true + server: serverValue + persistentVolumeClaim: + claimName: claimNameValue + readOnly: true + photonPersistentDisk: + fsType: fsTypeValue + pdID: pdIDValue + portworxVolume: + fsType: fsTypeValue + readOnly: true + volumeID: volumeIDValue + projected: + defaultMode: 2 + sources: + - configMap: + items: + - key: keyValue + mode: 3 + path: pathValue + name: nameValue + optional: true + downwardAPI: + items: + - fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + mode: 4 + path: pathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secret: + items: + - key: keyValue + mode: 3 + path: pathValue + name: nameValue + optional: true + serviceAccountToken: + audience: audienceValue + expirationSeconds: 2 + path: pathValue + quobyte: + group: groupValue + readOnly: true + registry: registryValue + tenant: tenantValue + user: userValue + volume: volumeValue + rbd: + fsType: fsTypeValue + image: imageValue + keyring: keyringValue + monitors: + - monitorsValue + pool: poolValue + readOnly: true + secretRef: + name: nameValue + user: userValue + scaleIO: + fsType: fsTypeValue + gateway: gatewayValue + protectionDomain: protectionDomainValue + readOnly: true + secretRef: + name: nameValue + sslEnabled: true + storageMode: storageModeValue + storagePool: storagePoolValue + system: systemValue + volumeName: volumeNameValue + secret: + defaultMode: 3 + items: + - key: keyValue + mode: 3 + path: pathValue + optional: true + secretName: secretNameValue + storageos: + fsType: fsTypeValue + readOnly: true + secretRef: + name: nameValue + volumeName: volumeNameValue + volumeNamespace: volumeNamespaceValue + vsphereVolume: + fsType: fsTypeValue + storagePolicyID: storagePolicyIDValue + storagePolicyName: storagePolicyNameValue + volumePath: volumePathValue + ttlSecondsAfterFinished: 8 + schedule: scheduleValue + startingDeadlineSeconds: 2 + successfulJobsHistoryLimit: 6 + suspend: true + timeZone: timeZoneValue +status: + active: + - apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue + lastScheduleTime: "2004-01-01T01:01:01Z" + lastSuccessfulTime: "2005-01-01T01:01:01Z" diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1.Job.json b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1.Job.json new file mode 100644 index 00000000000..d35c8a28b51 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1.Job.json @@ -0,0 +1,1723 @@ +{ + "kind": "Job", + "apiVersion": "batch/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": { + "parallelism": 1, + "completions": 2, + "activeDeadlineSeconds": 3, + "podFailurePolicy": { + "rules": [ + { + "action": "actionValue", + "onExitCodes": { + "containerName": "containerNameValue", + "operator": "operatorValue", + "values": [ + 3 + ] + }, + "onPodConditions": [ + { + "type": "typeValue", + "status": "statusValue" + } + ] + } + ] + }, + "backoffLimit": 7, + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "manualSelector": true, + "template": { + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "volumes": [ + { + "name": "nameValue", + "hostPath": { + "path": "pathValue", + "type": "typeValue" + }, + "emptyDir": { + "medium": "mediumValue", + "sizeLimit": "0" + }, + "gcePersistentDisk": { + "pdName": "pdNameValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "awsElasticBlockStore": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "gitRepo": { + "repository": "repositoryValue", + "revision": "revisionValue", + "directory": "directoryValue" + }, + "secret": { + "secretName": "secretNameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "defaultMode": 3, + "optional": true + }, + "nfs": { + "server": "serverValue", + "path": "pathValue", + "readOnly": true + }, + "iscsi": { + "targetPortal": "targetPortalValue", + "iqn": "iqnValue", + "lun": 3, + "iscsiInterface": "iscsiInterfaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "portals": [ + "portalsValue" + ], + "chapAuthDiscovery": true, + "chapAuthSession": true, + "secretRef": { + "name": "nameValue" + }, + "initiatorName": "initiatorNameValue" + }, + "glusterfs": { + "endpoints": "endpointsValue", + "path": "pathValue", + "readOnly": true + }, + "persistentVolumeClaim": { + "claimName": "claimNameValue", + "readOnly": true + }, + "rbd": { + "monitors": [ + "monitorsValue" + ], + "image": "imageValue", + "fsType": "fsTypeValue", + "pool": "poolValue", + "user": "userValue", + "keyring": "keyringValue", + "secretRef": { + "name": "nameValue" + }, + "readOnly": true + }, + "flexVolume": { + "driver": "driverValue", + "fsType": "fsTypeValue", + "secretRef": { + "name": "nameValue" + }, + "readOnly": true, + "options": { + "optionsKey": "optionsValue" + } + }, + "cinder": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "name": "nameValue" + } + }, + "cephfs": { + "monitors": [ + "monitorsValue" + ], + "path": "pathValue", + "user": "userValue", + "secretFile": "secretFileValue", + "secretRef": { + "name": "nameValue" + }, + "readOnly": true + }, + "flocker": { + "datasetName": "datasetNameValue", + "datasetUUID": "datasetUUIDValue" + }, + "downwardAPI": { + "items": [ + { + "path": "pathValue", + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "mode": 4 + } + ], + "defaultMode": 2 + }, + "fc": { + "targetWWNs": [ + "targetWWNsValue" + ], + "lun": 2, + "fsType": "fsTypeValue", + "readOnly": true, + "wwids": [ + "wwidsValue" + ] + }, + "azureFile": { + "secretName": "secretNameValue", + "shareName": "shareNameValue", + "readOnly": true + }, + "configMap": { + "name": "nameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "defaultMode": 3, + "optional": true + }, + "vsphereVolume": { + "volumePath": "volumePathValue", + "fsType": "fsTypeValue", + "storagePolicyName": "storagePolicyNameValue", + "storagePolicyID": "storagePolicyIDValue" + }, + "quobyte": { + "registry": "registryValue", + "volume": "volumeValue", + "readOnly": true, + "user": "userValue", + "group": "groupValue", + "tenant": "tenantValue" + }, + "azureDisk": { + "diskName": "diskNameValue", + "diskURI": "diskURIValue", + "cachingMode": "cachingModeValue", + "fsType": "fsTypeValue", + "readOnly": true, + "kind": "kindValue" + }, + "photonPersistentDisk": { + "pdID": "pdIDValue", + "fsType": "fsTypeValue" + }, + "projected": { + "sources": [ + { + "secret": { + "name": "nameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "optional": true + }, + "downwardAPI": { + "items": [ + { + "path": "pathValue", + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "mode": 4 + } + ] + }, + "configMap": { + "name": "nameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "optional": true + }, + "serviceAccountToken": { + "audience": "audienceValue", + "expirationSeconds": 2, + "path": "pathValue" + } + } + ], + "defaultMode": 2 + }, + "portworxVolume": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "scaleIO": { + "gateway": "gatewayValue", + "system": "systemValue", + "secretRef": { + "name": "nameValue" + }, + "sslEnabled": true, + "protectionDomain": "protectionDomainValue", + "storagePool": "storagePoolValue", + "storageMode": "storageModeValue", + "volumeName": "volumeNameValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "storageos": { + "volumeName": "volumeNameValue", + "volumeNamespace": "volumeNamespaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "name": "nameValue" + } + }, + "csi": { + "driver": "driverValue", + "readOnly": true, + "fsType": "fsTypeValue", + "volumeAttributes": { + "volumeAttributesKey": "volumeAttributesValue" + }, + "nodePublishSecretRef": { + "name": "nameValue" + } + }, + "ephemeral": { + "volumeClaimTemplate": { + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "accessModes": [ + "accessModesValue" + ], + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue" + } + ] + }, + "volumeName": "volumeNameValue", + "storageClassName": "storageClassNameValue", + "volumeMode": "volumeModeValue", + "dataSource": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + }, + "dataSourceRef": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue", + "namespace": "namespaceValue" + } + } + } + } + } + ], + "initContainers": [ + { + "name": "nameValue", + "image": "imageValue", + "command": [ + "commandValue" + ], + "args": [ + "argsValue" + ], + "workingDir": "workingDirValue", + "ports": [ + { + "name": "nameValue", + "hostPort": 2, + "containerPort": 3, + "protocol": "protocolValue", + "hostIP": "hostIPValue" + } + ], + "envFrom": [ + { + "prefix": "prefixValue", + "configMapRef": { + "name": "nameValue", + "optional": true + }, + "secretRef": { + "name": "nameValue", + "optional": true + } + } + ], + "env": [ + { + "name": "nameValue", + "value": "valueValue", + "valueFrom": { + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "configMapKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "secretKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + } + } + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "readOnly": true, + "mountPath": "mountPathValue", + "subPath": "subPathValue", + "mountPropagation": "mountPropagationValue", + "subPathExpr": "subPathExprValue" + } + ], + "volumeDevices": [ + { + "name": "nameValue", + "devicePath": "devicePathValue" + } + ], + "livenessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "readinessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "startupProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "lifecycle": { + "postStart": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + }, + "preStop": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + } + }, + "terminationMessagePath": "terminationMessagePathValue", + "terminationMessagePolicy": "terminationMessagePolicyValue", + "imagePullPolicy": "imagePullPolicyValue", + "securityContext": { + "capabilities": { + "add": [ + "addValue" + ], + "drop": [ + "dropValue" + ] + }, + "privileged": true, + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 4, + "runAsGroup": 8, + "runAsNonRoot": true, + "readOnlyRootFilesystem": true, + "allowPrivilegeEscalation": true, + "procMount": "procMountValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "stdin": true, + "stdinOnce": true, + "tty": true + } + ], + "containers": [ + { + "name": "nameValue", + "image": "imageValue", + "command": [ + "commandValue" + ], + "args": [ + "argsValue" + ], + "workingDir": "workingDirValue", + "ports": [ + { + "name": "nameValue", + "hostPort": 2, + "containerPort": 3, + "protocol": "protocolValue", + "hostIP": "hostIPValue" + } + ], + "envFrom": [ + { + "prefix": "prefixValue", + "configMapRef": { + "name": "nameValue", + "optional": true + }, + "secretRef": { + "name": "nameValue", + "optional": true + } + } + ], + "env": [ + { + "name": "nameValue", + "value": "valueValue", + "valueFrom": { + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "configMapKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "secretKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + } + } + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "readOnly": true, + "mountPath": "mountPathValue", + "subPath": "subPathValue", + "mountPropagation": "mountPropagationValue", + "subPathExpr": "subPathExprValue" + } + ], + "volumeDevices": [ + { + "name": "nameValue", + "devicePath": "devicePathValue" + } + ], + "livenessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "readinessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "startupProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "lifecycle": { + "postStart": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + }, + "preStop": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + } + }, + "terminationMessagePath": "terminationMessagePathValue", + "terminationMessagePolicy": "terminationMessagePolicyValue", + "imagePullPolicy": "imagePullPolicyValue", + "securityContext": { + "capabilities": { + "add": [ + "addValue" + ], + "drop": [ + "dropValue" + ] + }, + "privileged": true, + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 4, + "runAsGroup": 8, + "runAsNonRoot": true, + "readOnlyRootFilesystem": true, + "allowPrivilegeEscalation": true, + "procMount": "procMountValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "stdin": true, + "stdinOnce": true, + "tty": true + } + ], + "ephemeralContainers": [ + { + "name": "nameValue", + "image": "imageValue", + "command": [ + "commandValue" + ], + "args": [ + "argsValue" + ], + "workingDir": "workingDirValue", + "ports": [ + { + "name": "nameValue", + "hostPort": 2, + "containerPort": 3, + "protocol": "protocolValue", + "hostIP": "hostIPValue" + } + ], + "envFrom": [ + { + "prefix": "prefixValue", + "configMapRef": { + "name": "nameValue", + "optional": true + }, + "secretRef": { + "name": "nameValue", + "optional": true + } + } + ], + "env": [ + { + "name": "nameValue", + "value": "valueValue", + "valueFrom": { + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "configMapKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "secretKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + } + } + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "readOnly": true, + "mountPath": "mountPathValue", + "subPath": "subPathValue", + "mountPropagation": "mountPropagationValue", + "subPathExpr": "subPathExprValue" + } + ], + "volumeDevices": [ + { + "name": "nameValue", + "devicePath": "devicePathValue" + } + ], + "livenessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "readinessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "startupProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "lifecycle": { + "postStart": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + }, + "preStop": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + } + }, + "terminationMessagePath": "terminationMessagePathValue", + "terminationMessagePolicy": "terminationMessagePolicyValue", + "imagePullPolicy": "imagePullPolicyValue", + "securityContext": { + "capabilities": { + "add": [ + "addValue" + ], + "drop": [ + "dropValue" + ] + }, + "privileged": true, + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 4, + "runAsGroup": 8, + "runAsNonRoot": true, + "readOnlyRootFilesystem": true, + "allowPrivilegeEscalation": true, + "procMount": "procMountValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "stdin": true, + "stdinOnce": true, + "tty": true, + "targetContainerName": "targetContainerNameValue" + } + ], + "restartPolicy": "restartPolicyValue", + "terminationGracePeriodSeconds": 4, + "activeDeadlineSeconds": 5, + "dnsPolicy": "dnsPolicyValue", + "nodeSelector": { + "nodeSelectorKey": "nodeSelectorValue" + }, + "serviceAccountName": "serviceAccountNameValue", + "serviceAccount": "serviceAccountValue", + "automountServiceAccountToken": true, + "nodeName": "nodeNameValue", + "hostNetwork": true, + "hostPID": true, + "hostIPC": true, + "shareProcessNamespace": true, + "securityContext": { + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 2, + "runAsGroup": 6, + "runAsNonRoot": true, + "supplementalGroups": [ + 4 + ], + "fsGroup": 5, + "sysctls": [ + { + "name": "nameValue", + "value": "valueValue" + } + ], + "fsGroupChangePolicy": "fsGroupChangePolicyValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "imagePullSecrets": [ + { + "name": "nameValue" + } + ], + "hostname": "hostnameValue", + "subdomain": "subdomainValue", + "affinity": { + "nodeAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "nodeSelectorTerms": [ + { + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ], + "matchFields": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + ] + }, + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "weight": 1, + "preference": { + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ], + "matchFields": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + ] + }, + "podAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": [ + { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + ], + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "weight": 1, + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + } + ] + }, + "podAntiAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": [ + { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + ], + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "weight": 1, + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + } + ] + } + }, + "schedulerName": "schedulerNameValue", + "tolerations": [ + { + "key": "keyValue", + "operator": "operatorValue", + "value": "valueValue", + "effect": "effectValue", + "tolerationSeconds": 5 + } + ], + "hostAliases": [ + { + "ip": "ipValue", + "hostnames": [ + "hostnamesValue" + ] + } + ], + "priorityClassName": "priorityClassNameValue", + "priority": 25, + "dnsConfig": { + "nameservers": [ + "nameserversValue" + ], + "searches": [ + "searchesValue" + ], + "options": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "readinessGates": [ + { + "conditionType": "conditionTypeValue" + } + ], + "runtimeClassName": "runtimeClassNameValue", + "enableServiceLinks": true, + "preemptionPolicy": "preemptionPolicyValue", + "overhead": { + "overheadKey": "0" + }, + "topologySpreadConstraints": [ + { + "maxSkew": 1, + "topologyKey": "topologyKeyValue", + "whenUnsatisfiable": "whenUnsatisfiableValue", + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "minDomains": 5, + "nodeAffinityPolicy": "nodeAffinityPolicyValue", + "nodeTaintsPolicy": "nodeTaintsPolicyValue", + "matchLabelKeys": [ + "matchLabelKeysValue" + ] + } + ], + "setHostnameAsFQDN": true, + "os": { + "name": "nameValue" + }, + "hostUsers": true, + "schedulingGates": [ + { + "name": "nameValue" + } + ], + "resourceClaims": [ + { + "name": "nameValue", + "source": { + "resourceClaimName": "resourceClaimNameValue", + "resourceClaimTemplateName": "resourceClaimTemplateNameValue" + } + } + ] + } + }, + "ttlSecondsAfterFinished": 8, + "completionMode": "completionModeValue", + "suspend": true + }, + "status": { + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastProbeTime": "2003-01-01T01:01:01Z", + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ], + "startTime": "2002-01-01T01:01:01Z", + "completionTime": "2003-01-01T01:01:01Z", + "active": 4, + "succeeded": 5, + "failed": 6, + "completedIndexes": "completedIndexesValue", + "uncountedTerminatedPods": { + "succeeded": [ + "succeededValue" + ], + "failed": [ + "failedValue" + ] + }, + "ready": 9 + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1.Job.pb b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1.Job.pb new file mode 100644 index 00000000000..5d932c3ae30 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1.Job.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1.Job.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1.Job.yaml new file mode 100644 index 00000000000..67ffd1e2149 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1.Job.yaml @@ -0,0 +1,1180 @@ +apiVersion: batch/v1 +kind: Job +metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue +spec: + activeDeadlineSeconds: 3 + backoffLimit: 7 + completionMode: completionModeValue + completions: 2 + manualSelector: true + parallelism: 1 + podFailurePolicy: + rules: + - action: actionValue + onExitCodes: + containerName: containerNameValue + operator: operatorValue + values: + - 3 + onPodConditions: + - status: statusValue + type: typeValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + suspend: true + template: + metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue + spec: + activeDeadlineSeconds: 5 + affinity: + nodeAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - preference: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchFields: + - key: keyValue + operator: operatorValue + values: + - valuesValue + weight: 1 + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchFields: + - key: keyValue + operator: operatorValue + values: + - valuesValue + podAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + weight: 1 + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + weight: 1 + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + automountServiceAccountToken: true + containers: + - args: + - argsValue + command: + - commandValue + env: + - name: nameValue + value: valueValue + valueFrom: + configMapKeyRef: + key: keyValue + name: nameValue + optional: true + fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secretKeyRef: + key: keyValue + name: nameValue + optional: true + envFrom: + - configMapRef: + name: nameValue + optional: true + prefix: prefixValue + secretRef: + name: nameValue + optional: true + image: imageValue + imagePullPolicy: imagePullPolicyValue + lifecycle: + postStart: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + preStop: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + livenessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + name: nameValue + ports: + - containerPort: 3 + hostIP: hostIPValue + hostPort: 2 + name: nameValue + protocol: protocolValue + readinessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + resources: + claims: + - name: nameValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + securityContext: + allowPrivilegeEscalation: true + capabilities: + add: + - addValue + drop: + - dropValue + privileged: true + procMount: procMountValue + readOnlyRootFilesystem: true + runAsGroup: 8 + runAsNonRoot: true + runAsUser: 4 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + startupProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + stdin: true + stdinOnce: true + terminationMessagePath: terminationMessagePathValue + terminationMessagePolicy: terminationMessagePolicyValue + tty: true + volumeDevices: + - devicePath: devicePathValue + name: nameValue + volumeMounts: + - mountPath: mountPathValue + mountPropagation: mountPropagationValue + name: nameValue + readOnly: true + subPath: subPathValue + subPathExpr: subPathExprValue + workingDir: workingDirValue + dnsConfig: + nameservers: + - nameserversValue + options: + - name: nameValue + value: valueValue + searches: + - searchesValue + dnsPolicy: dnsPolicyValue + enableServiceLinks: true + ephemeralContainers: + - args: + - argsValue + command: + - commandValue + env: + - name: nameValue + value: valueValue + valueFrom: + configMapKeyRef: + key: keyValue + name: nameValue + optional: true + fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secretKeyRef: + key: keyValue + name: nameValue + optional: true + envFrom: + - configMapRef: + name: nameValue + optional: true + prefix: prefixValue + secretRef: + name: nameValue + optional: true + image: imageValue + imagePullPolicy: imagePullPolicyValue + lifecycle: + postStart: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + preStop: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + livenessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + name: nameValue + ports: + - containerPort: 3 + hostIP: hostIPValue + hostPort: 2 + name: nameValue + protocol: protocolValue + readinessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + resources: + claims: + - name: nameValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + securityContext: + allowPrivilegeEscalation: true + capabilities: + add: + - addValue + drop: + - dropValue + privileged: true + procMount: procMountValue + readOnlyRootFilesystem: true + runAsGroup: 8 + runAsNonRoot: true + runAsUser: 4 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + startupProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + stdin: true + stdinOnce: true + targetContainerName: targetContainerNameValue + terminationMessagePath: terminationMessagePathValue + terminationMessagePolicy: terminationMessagePolicyValue + tty: true + volumeDevices: + - devicePath: devicePathValue + name: nameValue + volumeMounts: + - mountPath: mountPathValue + mountPropagation: mountPropagationValue + name: nameValue + readOnly: true + subPath: subPathValue + subPathExpr: subPathExprValue + workingDir: workingDirValue + hostAliases: + - hostnames: + - hostnamesValue + ip: ipValue + hostIPC: true + hostNetwork: true + hostPID: true + hostUsers: true + hostname: hostnameValue + imagePullSecrets: + - name: nameValue + initContainers: + - args: + - argsValue + command: + - commandValue + env: + - name: nameValue + value: valueValue + valueFrom: + configMapKeyRef: + key: keyValue + name: nameValue + optional: true + fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secretKeyRef: + key: keyValue + name: nameValue + optional: true + envFrom: + - configMapRef: + name: nameValue + optional: true + prefix: prefixValue + secretRef: + name: nameValue + optional: true + image: imageValue + imagePullPolicy: imagePullPolicyValue + lifecycle: + postStart: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + preStop: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + livenessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + name: nameValue + ports: + - containerPort: 3 + hostIP: hostIPValue + hostPort: 2 + name: nameValue + protocol: protocolValue + readinessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + resources: + claims: + - name: nameValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + securityContext: + allowPrivilegeEscalation: true + capabilities: + add: + - addValue + drop: + - dropValue + privileged: true + procMount: procMountValue + readOnlyRootFilesystem: true + runAsGroup: 8 + runAsNonRoot: true + runAsUser: 4 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + startupProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + stdin: true + stdinOnce: true + terminationMessagePath: terminationMessagePathValue + terminationMessagePolicy: terminationMessagePolicyValue + tty: true + volumeDevices: + - devicePath: devicePathValue + name: nameValue + volumeMounts: + - mountPath: mountPathValue + mountPropagation: mountPropagationValue + name: nameValue + readOnly: true + subPath: subPathValue + subPathExpr: subPathExprValue + workingDir: workingDirValue + nodeName: nodeNameValue + nodeSelector: + nodeSelectorKey: nodeSelectorValue + os: + name: nameValue + overhead: + overheadKey: "0" + preemptionPolicy: preemptionPolicyValue + priority: 25 + priorityClassName: priorityClassNameValue + readinessGates: + - conditionType: conditionTypeValue + resourceClaims: + - name: nameValue + source: + resourceClaimName: resourceClaimNameValue + resourceClaimTemplateName: resourceClaimTemplateNameValue + restartPolicy: restartPolicyValue + runtimeClassName: runtimeClassNameValue + schedulerName: schedulerNameValue + schedulingGates: + - name: nameValue + securityContext: + fsGroup: 5 + fsGroupChangePolicy: fsGroupChangePolicyValue + runAsGroup: 6 + runAsNonRoot: true + runAsUser: 2 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + supplementalGroups: + - 4 + sysctls: + - name: nameValue + value: valueValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + serviceAccount: serviceAccountValue + serviceAccountName: serviceAccountNameValue + setHostnameAsFQDN: true + shareProcessNamespace: true + subdomain: subdomainValue + terminationGracePeriodSeconds: 4 + tolerations: + - effect: effectValue + key: keyValue + operator: operatorValue + tolerationSeconds: 5 + value: valueValue + topologySpreadConstraints: + - labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + matchLabelKeys: + - matchLabelKeysValue + maxSkew: 1 + minDomains: 5 + nodeAffinityPolicy: nodeAffinityPolicyValue + nodeTaintsPolicy: nodeTaintsPolicyValue + topologyKey: topologyKeyValue + whenUnsatisfiable: whenUnsatisfiableValue + volumes: + - awsElasticBlockStore: + fsType: fsTypeValue + partition: 3 + readOnly: true + volumeID: volumeIDValue + azureDisk: + cachingMode: cachingModeValue + diskName: diskNameValue + diskURI: diskURIValue + fsType: fsTypeValue + kind: kindValue + readOnly: true + azureFile: + readOnly: true + secretName: secretNameValue + shareName: shareNameValue + cephfs: + monitors: + - monitorsValue + path: pathValue + readOnly: true + secretFile: secretFileValue + secretRef: + name: nameValue + user: userValue + cinder: + fsType: fsTypeValue + readOnly: true + secretRef: + name: nameValue + volumeID: volumeIDValue + configMap: + defaultMode: 3 + items: + - key: keyValue + mode: 3 + path: pathValue + name: nameValue + optional: true + csi: + driver: driverValue + fsType: fsTypeValue + nodePublishSecretRef: + name: nameValue + readOnly: true + volumeAttributes: + volumeAttributesKey: volumeAttributesValue + downwardAPI: + defaultMode: 2 + items: + - fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + mode: 4 + path: pathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + emptyDir: + medium: mediumValue + sizeLimit: "0" + ephemeral: + volumeClaimTemplate: + metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue + spec: + accessModes: + - accessModesValue + dataSource: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + dataSourceRef: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resources: + claims: + - name: nameValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + storageClassName: storageClassNameValue + volumeMode: volumeModeValue + volumeName: volumeNameValue + fc: + fsType: fsTypeValue + lun: 2 + readOnly: true + targetWWNs: + - targetWWNsValue + wwids: + - wwidsValue + flexVolume: + driver: driverValue + fsType: fsTypeValue + options: + optionsKey: optionsValue + readOnly: true + secretRef: + name: nameValue + flocker: + datasetName: datasetNameValue + datasetUUID: datasetUUIDValue + gcePersistentDisk: + fsType: fsTypeValue + partition: 3 + pdName: pdNameValue + readOnly: true + gitRepo: + directory: directoryValue + repository: repositoryValue + revision: revisionValue + glusterfs: + endpoints: endpointsValue + path: pathValue + readOnly: true + hostPath: + path: pathValue + type: typeValue + iscsi: + chapAuthDiscovery: true + chapAuthSession: true + fsType: fsTypeValue + initiatorName: initiatorNameValue + iqn: iqnValue + iscsiInterface: iscsiInterfaceValue + lun: 3 + portals: + - portalsValue + readOnly: true + secretRef: + name: nameValue + targetPortal: targetPortalValue + name: nameValue + nfs: + path: pathValue + readOnly: true + server: serverValue + persistentVolumeClaim: + claimName: claimNameValue + readOnly: true + photonPersistentDisk: + fsType: fsTypeValue + pdID: pdIDValue + portworxVolume: + fsType: fsTypeValue + readOnly: true + volumeID: volumeIDValue + projected: + defaultMode: 2 + sources: + - configMap: + items: + - key: keyValue + mode: 3 + path: pathValue + name: nameValue + optional: true + downwardAPI: + items: + - fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + mode: 4 + path: pathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secret: + items: + - key: keyValue + mode: 3 + path: pathValue + name: nameValue + optional: true + serviceAccountToken: + audience: audienceValue + expirationSeconds: 2 + path: pathValue + quobyte: + group: groupValue + readOnly: true + registry: registryValue + tenant: tenantValue + user: userValue + volume: volumeValue + rbd: + fsType: fsTypeValue + image: imageValue + keyring: keyringValue + monitors: + - monitorsValue + pool: poolValue + readOnly: true + secretRef: + name: nameValue + user: userValue + scaleIO: + fsType: fsTypeValue + gateway: gatewayValue + protectionDomain: protectionDomainValue + readOnly: true + secretRef: + name: nameValue + sslEnabled: true + storageMode: storageModeValue + storagePool: storagePoolValue + system: systemValue + volumeName: volumeNameValue + secret: + defaultMode: 3 + items: + - key: keyValue + mode: 3 + path: pathValue + optional: true + secretName: secretNameValue + storageos: + fsType: fsTypeValue + readOnly: true + secretRef: + name: nameValue + volumeName: volumeNameValue + volumeNamespace: volumeNamespaceValue + vsphereVolume: + fsType: fsTypeValue + storagePolicyID: storagePolicyIDValue + storagePolicyName: storagePolicyNameValue + volumePath: volumePathValue + ttlSecondsAfterFinished: 8 +status: + active: 4 + completedIndexes: completedIndexesValue + completionTime: "2003-01-01T01:01:01Z" + conditions: + - lastProbeTime: "2003-01-01T01:01:01Z" + lastTransitionTime: "2004-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + failed: 6 + ready: 9 + startTime: "2002-01-01T01:01:01Z" + succeeded: 5 + uncountedTerminatedPods: + failed: + - failedValue + succeeded: + - succeededValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.CronJob.json b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.CronJob.json new file mode 100644 index 00000000000..e9340df2366 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.CronJob.json @@ -0,0 +1,1764 @@ +{ + "kind": "CronJob", + "apiVersion": "batch/v1beta1", + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "schedule": "scheduleValue", + "timeZone": "timeZoneValue", + "startingDeadlineSeconds": 2, + "concurrencyPolicy": "concurrencyPolicyValue", + "suspend": true, + "jobTemplate": { + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "parallelism": 1, + "completions": 2, + "activeDeadlineSeconds": 3, + "podFailurePolicy": { + "rules": [ + { + "action": "actionValue", + "onExitCodes": { + "containerName": "containerNameValue", + "operator": "operatorValue", + "values": [ + 3 + ] + }, + "onPodConditions": [ + { + "type": "typeValue", + "status": "statusValue" + } + ] + } + ] + }, + "backoffLimit": 7, + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "manualSelector": true, + "template": { + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "volumes": [ + { + "name": "nameValue", + "hostPath": { + "path": "pathValue", + "type": "typeValue" + }, + "emptyDir": { + "medium": "mediumValue", + "sizeLimit": "0" + }, + "gcePersistentDisk": { + "pdName": "pdNameValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "awsElasticBlockStore": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "gitRepo": { + "repository": "repositoryValue", + "revision": "revisionValue", + "directory": "directoryValue" + }, + "secret": { + "secretName": "secretNameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "defaultMode": 3, + "optional": true + }, + "nfs": { + "server": "serverValue", + "path": "pathValue", + "readOnly": true + }, + "iscsi": { + "targetPortal": "targetPortalValue", + "iqn": "iqnValue", + "lun": 3, + "iscsiInterface": "iscsiInterfaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "portals": [ + "portalsValue" + ], + "chapAuthDiscovery": true, + "chapAuthSession": true, + "secretRef": { + "name": "nameValue" + }, + "initiatorName": "initiatorNameValue" + }, + "glusterfs": { + "endpoints": "endpointsValue", + "path": "pathValue", + "readOnly": true + }, + "persistentVolumeClaim": { + "claimName": "claimNameValue", + "readOnly": true + }, + "rbd": { + "monitors": [ + "monitorsValue" + ], + "image": "imageValue", + "fsType": "fsTypeValue", + "pool": "poolValue", + "user": "userValue", + "keyring": "keyringValue", + "secretRef": { + "name": "nameValue" + }, + "readOnly": true + }, + "flexVolume": { + "driver": "driverValue", + "fsType": "fsTypeValue", + "secretRef": { + "name": "nameValue" + }, + "readOnly": true, + "options": { + "optionsKey": "optionsValue" + } + }, + "cinder": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "name": "nameValue" + } + }, + "cephfs": { + "monitors": [ + "monitorsValue" + ], + "path": "pathValue", + "user": "userValue", + "secretFile": "secretFileValue", + "secretRef": { + "name": "nameValue" + }, + "readOnly": true + }, + "flocker": { + "datasetName": "datasetNameValue", + "datasetUUID": "datasetUUIDValue" + }, + "downwardAPI": { + "items": [ + { + "path": "pathValue", + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "mode": 4 + } + ], + "defaultMode": 2 + }, + "fc": { + "targetWWNs": [ + "targetWWNsValue" + ], + "lun": 2, + "fsType": "fsTypeValue", + "readOnly": true, + "wwids": [ + "wwidsValue" + ] + }, + "azureFile": { + "secretName": "secretNameValue", + "shareName": "shareNameValue", + "readOnly": true + }, + "configMap": { + "name": "nameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "defaultMode": 3, + "optional": true + }, + "vsphereVolume": { + "volumePath": "volumePathValue", + "fsType": "fsTypeValue", + "storagePolicyName": "storagePolicyNameValue", + "storagePolicyID": "storagePolicyIDValue" + }, + "quobyte": { + "registry": "registryValue", + "volume": "volumeValue", + "readOnly": true, + "user": "userValue", + "group": "groupValue", + "tenant": "tenantValue" + }, + "azureDisk": { + "diskName": "diskNameValue", + "diskURI": "diskURIValue", + "cachingMode": "cachingModeValue", + "fsType": "fsTypeValue", + "readOnly": true, + "kind": "kindValue" + }, + "photonPersistentDisk": { + "pdID": "pdIDValue", + "fsType": "fsTypeValue" + }, + "projected": { + "sources": [ + { + "secret": { + "name": "nameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "optional": true + }, + "downwardAPI": { + "items": [ + { + "path": "pathValue", + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "mode": 4 + } + ] + }, + "configMap": { + "name": "nameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "optional": true + }, + "serviceAccountToken": { + "audience": "audienceValue", + "expirationSeconds": 2, + "path": "pathValue" + } + } + ], + "defaultMode": 2 + }, + "portworxVolume": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "scaleIO": { + "gateway": "gatewayValue", + "system": "systemValue", + "secretRef": { + "name": "nameValue" + }, + "sslEnabled": true, + "protectionDomain": "protectionDomainValue", + "storagePool": "storagePoolValue", + "storageMode": "storageModeValue", + "volumeName": "volumeNameValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "storageos": { + "volumeName": "volumeNameValue", + "volumeNamespace": "volumeNamespaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "name": "nameValue" + } + }, + "csi": { + "driver": "driverValue", + "readOnly": true, + "fsType": "fsTypeValue", + "volumeAttributes": { + "volumeAttributesKey": "volumeAttributesValue" + }, + "nodePublishSecretRef": { + "name": "nameValue" + } + }, + "ephemeral": { + "volumeClaimTemplate": { + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "accessModes": [ + "accessModesValue" + ], + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue" + } + ] + }, + "volumeName": "volumeNameValue", + "storageClassName": "storageClassNameValue", + "volumeMode": "volumeModeValue", + "dataSource": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + }, + "dataSourceRef": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue", + "namespace": "namespaceValue" + } + } + } + } + } + ], + "initContainers": [ + { + "name": "nameValue", + "image": "imageValue", + "command": [ + "commandValue" + ], + "args": [ + "argsValue" + ], + "workingDir": "workingDirValue", + "ports": [ + { + "name": "nameValue", + "hostPort": 2, + "containerPort": 3, + "protocol": "protocolValue", + "hostIP": "hostIPValue" + } + ], + "envFrom": [ + { + "prefix": "prefixValue", + "configMapRef": { + "name": "nameValue", + "optional": true + }, + "secretRef": { + "name": "nameValue", + "optional": true + } + } + ], + "env": [ + { + "name": "nameValue", + "value": "valueValue", + "valueFrom": { + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "configMapKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "secretKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + } + } + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "readOnly": true, + "mountPath": "mountPathValue", + "subPath": "subPathValue", + "mountPropagation": "mountPropagationValue", + "subPathExpr": "subPathExprValue" + } + ], + "volumeDevices": [ + { + "name": "nameValue", + "devicePath": "devicePathValue" + } + ], + "livenessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "readinessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "startupProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "lifecycle": { + "postStart": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + }, + "preStop": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + } + }, + "terminationMessagePath": "terminationMessagePathValue", + "terminationMessagePolicy": "terminationMessagePolicyValue", + "imagePullPolicy": "imagePullPolicyValue", + "securityContext": { + "capabilities": { + "add": [ + "addValue" + ], + "drop": [ + "dropValue" + ] + }, + "privileged": true, + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 4, + "runAsGroup": 8, + "runAsNonRoot": true, + "readOnlyRootFilesystem": true, + "allowPrivilegeEscalation": true, + "procMount": "procMountValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "stdin": true, + "stdinOnce": true, + "tty": true + } + ], + "containers": [ + { + "name": "nameValue", + "image": "imageValue", + "command": [ + "commandValue" + ], + "args": [ + "argsValue" + ], + "workingDir": "workingDirValue", + "ports": [ + { + "name": "nameValue", + "hostPort": 2, + "containerPort": 3, + "protocol": "protocolValue", + "hostIP": "hostIPValue" + } + ], + "envFrom": [ + { + "prefix": "prefixValue", + "configMapRef": { + "name": "nameValue", + "optional": true + }, + "secretRef": { + "name": "nameValue", + "optional": true + } + } + ], + "env": [ + { + "name": "nameValue", + "value": "valueValue", + "valueFrom": { + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "configMapKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "secretKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + } + } + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "readOnly": true, + "mountPath": "mountPathValue", + "subPath": "subPathValue", + "mountPropagation": "mountPropagationValue", + "subPathExpr": "subPathExprValue" + } + ], + "volumeDevices": [ + { + "name": "nameValue", + "devicePath": "devicePathValue" + } + ], + "livenessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "readinessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "startupProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "lifecycle": { + "postStart": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + }, + "preStop": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + } + }, + "terminationMessagePath": "terminationMessagePathValue", + "terminationMessagePolicy": "terminationMessagePolicyValue", + "imagePullPolicy": "imagePullPolicyValue", + "securityContext": { + "capabilities": { + "add": [ + "addValue" + ], + "drop": [ + "dropValue" + ] + }, + "privileged": true, + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 4, + "runAsGroup": 8, + "runAsNonRoot": true, + "readOnlyRootFilesystem": true, + "allowPrivilegeEscalation": true, + "procMount": "procMountValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "stdin": true, + "stdinOnce": true, + "tty": true + } + ], + "ephemeralContainers": [ + { + "name": "nameValue", + "image": "imageValue", + "command": [ + "commandValue" + ], + "args": [ + "argsValue" + ], + "workingDir": "workingDirValue", + "ports": [ + { + "name": "nameValue", + "hostPort": 2, + "containerPort": 3, + "protocol": "protocolValue", + "hostIP": "hostIPValue" + } + ], + "envFrom": [ + { + "prefix": "prefixValue", + "configMapRef": { + "name": "nameValue", + "optional": true + }, + "secretRef": { + "name": "nameValue", + "optional": true + } + } + ], + "env": [ + { + "name": "nameValue", + "value": "valueValue", + "valueFrom": { + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "configMapKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "secretKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + } + } + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "readOnly": true, + "mountPath": "mountPathValue", + "subPath": "subPathValue", + "mountPropagation": "mountPropagationValue", + "subPathExpr": "subPathExprValue" + } + ], + "volumeDevices": [ + { + "name": "nameValue", + "devicePath": "devicePathValue" + } + ], + "livenessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "readinessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "startupProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "lifecycle": { + "postStart": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + }, + "preStop": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + } + }, + "terminationMessagePath": "terminationMessagePathValue", + "terminationMessagePolicy": "terminationMessagePolicyValue", + "imagePullPolicy": "imagePullPolicyValue", + "securityContext": { + "capabilities": { + "add": [ + "addValue" + ], + "drop": [ + "dropValue" + ] + }, + "privileged": true, + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 4, + "runAsGroup": 8, + "runAsNonRoot": true, + "readOnlyRootFilesystem": true, + "allowPrivilegeEscalation": true, + "procMount": "procMountValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "stdin": true, + "stdinOnce": true, + "tty": true, + "targetContainerName": "targetContainerNameValue" + } + ], + "restartPolicy": "restartPolicyValue", + "terminationGracePeriodSeconds": 4, + "activeDeadlineSeconds": 5, + "dnsPolicy": "dnsPolicyValue", + "nodeSelector": { + "nodeSelectorKey": "nodeSelectorValue" + }, + "serviceAccountName": "serviceAccountNameValue", + "serviceAccount": "serviceAccountValue", + "automountServiceAccountToken": true, + "nodeName": "nodeNameValue", + "hostNetwork": true, + "hostPID": true, + "hostIPC": true, + "shareProcessNamespace": true, + "securityContext": { + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 2, + "runAsGroup": 6, + "runAsNonRoot": true, + "supplementalGroups": [ + 4 + ], + "fsGroup": 5, + "sysctls": [ + { + "name": "nameValue", + "value": "valueValue" + } + ], + "fsGroupChangePolicy": "fsGroupChangePolicyValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "imagePullSecrets": [ + { + "name": "nameValue" + } + ], + "hostname": "hostnameValue", + "subdomain": "subdomainValue", + "affinity": { + "nodeAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "nodeSelectorTerms": [ + { + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ], + "matchFields": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + ] + }, + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "weight": 1, + "preference": { + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ], + "matchFields": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + ] + }, + "podAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": [ + { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + ], + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "weight": 1, + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + } + ] + }, + "podAntiAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": [ + { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + ], + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "weight": 1, + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + } + ] + } + }, + "schedulerName": "schedulerNameValue", + "tolerations": [ + { + "key": "keyValue", + "operator": "operatorValue", + "value": "valueValue", + "effect": "effectValue", + "tolerationSeconds": 5 + } + ], + "hostAliases": [ + { + "ip": "ipValue", + "hostnames": [ + "hostnamesValue" + ] + } + ], + "priorityClassName": "priorityClassNameValue", + "priority": 25, + "dnsConfig": { + "nameservers": [ + "nameserversValue" + ], + "searches": [ + "searchesValue" + ], + "options": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "readinessGates": [ + { + "conditionType": "conditionTypeValue" + } + ], + "runtimeClassName": "runtimeClassNameValue", + "enableServiceLinks": true, + "preemptionPolicy": "preemptionPolicyValue", + "overhead": { + "overheadKey": "0" + }, + "topologySpreadConstraints": [ + { + "maxSkew": 1, + "topologyKey": "topologyKeyValue", + "whenUnsatisfiable": "whenUnsatisfiableValue", + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "minDomains": 5, + "nodeAffinityPolicy": "nodeAffinityPolicyValue", + "nodeTaintsPolicy": "nodeTaintsPolicyValue", + "matchLabelKeys": [ + "matchLabelKeysValue" + ] + } + ], + "setHostnameAsFQDN": true, + "os": { + "name": "nameValue" + }, + "hostUsers": true, + "schedulingGates": [ + { + "name": "nameValue" + } + ], + "resourceClaims": [ + { + "name": "nameValue", + "source": { + "resourceClaimName": "resourceClaimNameValue", + "resourceClaimTemplateName": "resourceClaimTemplateNameValue" + } + } + ] + } + }, + "ttlSecondsAfterFinished": 8, + "completionMode": "completionModeValue", + "suspend": true + } + }, + "successfulJobsHistoryLimit": 6, + "failedJobsHistoryLimit": 7 + }, + "status": { + "active": [ + { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + } + ], + "lastScheduleTime": "2004-01-01T01:01:01Z", + "lastSuccessfulTime": "2005-01-01T01:01:01Z" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.CronJob.pb b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.CronJob.pb new file mode 100644 index 00000000000..1b0b676c3ec Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.CronJob.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.CronJob.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.CronJob.yaml new file mode 100644 index 00000000000..01448a84f6d --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.CronJob.yaml @@ -0,0 +1,1212 @@ +apiVersion: batch/v1beta1 +kind: CronJob +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: + concurrencyPolicy: concurrencyPolicyValue + failedJobsHistoryLimit: 7 + jobTemplate: + metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue + spec: + activeDeadlineSeconds: 3 + backoffLimit: 7 + completionMode: completionModeValue + completions: 2 + manualSelector: true + parallelism: 1 + podFailurePolicy: + rules: + - action: actionValue + onExitCodes: + containerName: containerNameValue + operator: operatorValue + values: + - 3 + onPodConditions: + - status: statusValue + type: typeValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + suspend: true + template: + metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue + spec: + activeDeadlineSeconds: 5 + affinity: + nodeAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - preference: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchFields: + - key: keyValue + operator: operatorValue + values: + - valuesValue + weight: 1 + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchFields: + - key: keyValue + operator: operatorValue + values: + - valuesValue + podAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + weight: 1 + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + weight: 1 + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + automountServiceAccountToken: true + containers: + - args: + - argsValue + command: + - commandValue + env: + - name: nameValue + value: valueValue + valueFrom: + configMapKeyRef: + key: keyValue + name: nameValue + optional: true + fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secretKeyRef: + key: keyValue + name: nameValue + optional: true + envFrom: + - configMapRef: + name: nameValue + optional: true + prefix: prefixValue + secretRef: + name: nameValue + optional: true + image: imageValue + imagePullPolicy: imagePullPolicyValue + lifecycle: + postStart: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + preStop: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + livenessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + name: nameValue + ports: + - containerPort: 3 + hostIP: hostIPValue + hostPort: 2 + name: nameValue + protocol: protocolValue + readinessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + resources: + claims: + - name: nameValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + securityContext: + allowPrivilegeEscalation: true + capabilities: + add: + - addValue + drop: + - dropValue + privileged: true + procMount: procMountValue + readOnlyRootFilesystem: true + runAsGroup: 8 + runAsNonRoot: true + runAsUser: 4 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + startupProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + stdin: true + stdinOnce: true + terminationMessagePath: terminationMessagePathValue + terminationMessagePolicy: terminationMessagePolicyValue + tty: true + volumeDevices: + - devicePath: devicePathValue + name: nameValue + volumeMounts: + - mountPath: mountPathValue + mountPropagation: mountPropagationValue + name: nameValue + readOnly: true + subPath: subPathValue + subPathExpr: subPathExprValue + workingDir: workingDirValue + dnsConfig: + nameservers: + - nameserversValue + options: + - name: nameValue + value: valueValue + searches: + - searchesValue + dnsPolicy: dnsPolicyValue + enableServiceLinks: true + ephemeralContainers: + - args: + - argsValue + command: + - commandValue + env: + - name: nameValue + value: valueValue + valueFrom: + configMapKeyRef: + key: keyValue + name: nameValue + optional: true + fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secretKeyRef: + key: keyValue + name: nameValue + optional: true + envFrom: + - configMapRef: + name: nameValue + optional: true + prefix: prefixValue + secretRef: + name: nameValue + optional: true + image: imageValue + imagePullPolicy: imagePullPolicyValue + lifecycle: + postStart: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + preStop: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + livenessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + name: nameValue + ports: + - containerPort: 3 + hostIP: hostIPValue + hostPort: 2 + name: nameValue + protocol: protocolValue + readinessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + resources: + claims: + - name: nameValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + securityContext: + allowPrivilegeEscalation: true + capabilities: + add: + - addValue + drop: + - dropValue + privileged: true + procMount: procMountValue + readOnlyRootFilesystem: true + runAsGroup: 8 + runAsNonRoot: true + runAsUser: 4 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + startupProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + stdin: true + stdinOnce: true + targetContainerName: targetContainerNameValue + terminationMessagePath: terminationMessagePathValue + terminationMessagePolicy: terminationMessagePolicyValue + tty: true + volumeDevices: + - devicePath: devicePathValue + name: nameValue + volumeMounts: + - mountPath: mountPathValue + mountPropagation: mountPropagationValue + name: nameValue + readOnly: true + subPath: subPathValue + subPathExpr: subPathExprValue + workingDir: workingDirValue + hostAliases: + - hostnames: + - hostnamesValue + ip: ipValue + hostIPC: true + hostNetwork: true + hostPID: true + hostUsers: true + hostname: hostnameValue + imagePullSecrets: + - name: nameValue + initContainers: + - args: + - argsValue + command: + - commandValue + env: + - name: nameValue + value: valueValue + valueFrom: + configMapKeyRef: + key: keyValue + name: nameValue + optional: true + fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secretKeyRef: + key: keyValue + name: nameValue + optional: true + envFrom: + - configMapRef: + name: nameValue + optional: true + prefix: prefixValue + secretRef: + name: nameValue + optional: true + image: imageValue + imagePullPolicy: imagePullPolicyValue + lifecycle: + postStart: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + preStop: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + livenessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + name: nameValue + ports: + - containerPort: 3 + hostIP: hostIPValue + hostPort: 2 + name: nameValue + protocol: protocolValue + readinessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + resources: + claims: + - name: nameValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + securityContext: + allowPrivilegeEscalation: true + capabilities: + add: + - addValue + drop: + - dropValue + privileged: true + procMount: procMountValue + readOnlyRootFilesystem: true + runAsGroup: 8 + runAsNonRoot: true + runAsUser: 4 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + startupProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + stdin: true + stdinOnce: true + terminationMessagePath: terminationMessagePathValue + terminationMessagePolicy: terminationMessagePolicyValue + tty: true + volumeDevices: + - devicePath: devicePathValue + name: nameValue + volumeMounts: + - mountPath: mountPathValue + mountPropagation: mountPropagationValue + name: nameValue + readOnly: true + subPath: subPathValue + subPathExpr: subPathExprValue + workingDir: workingDirValue + nodeName: nodeNameValue + nodeSelector: + nodeSelectorKey: nodeSelectorValue + os: + name: nameValue + overhead: + overheadKey: "0" + preemptionPolicy: preemptionPolicyValue + priority: 25 + priorityClassName: priorityClassNameValue + readinessGates: + - conditionType: conditionTypeValue + resourceClaims: + - name: nameValue + source: + resourceClaimName: resourceClaimNameValue + resourceClaimTemplateName: resourceClaimTemplateNameValue + restartPolicy: restartPolicyValue + runtimeClassName: runtimeClassNameValue + schedulerName: schedulerNameValue + schedulingGates: + - name: nameValue + securityContext: + fsGroup: 5 + fsGroupChangePolicy: fsGroupChangePolicyValue + runAsGroup: 6 + runAsNonRoot: true + runAsUser: 2 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + supplementalGroups: + - 4 + sysctls: + - name: nameValue + value: valueValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + serviceAccount: serviceAccountValue + serviceAccountName: serviceAccountNameValue + setHostnameAsFQDN: true + shareProcessNamespace: true + subdomain: subdomainValue + terminationGracePeriodSeconds: 4 + tolerations: + - effect: effectValue + key: keyValue + operator: operatorValue + tolerationSeconds: 5 + value: valueValue + topologySpreadConstraints: + - labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + matchLabelKeys: + - matchLabelKeysValue + maxSkew: 1 + minDomains: 5 + nodeAffinityPolicy: nodeAffinityPolicyValue + nodeTaintsPolicy: nodeTaintsPolicyValue + topologyKey: topologyKeyValue + whenUnsatisfiable: whenUnsatisfiableValue + volumes: + - awsElasticBlockStore: + fsType: fsTypeValue + partition: 3 + readOnly: true + volumeID: volumeIDValue + azureDisk: + cachingMode: cachingModeValue + diskName: diskNameValue + diskURI: diskURIValue + fsType: fsTypeValue + kind: kindValue + readOnly: true + azureFile: + readOnly: true + secretName: secretNameValue + shareName: shareNameValue + cephfs: + monitors: + - monitorsValue + path: pathValue + readOnly: true + secretFile: secretFileValue + secretRef: + name: nameValue + user: userValue + cinder: + fsType: fsTypeValue + readOnly: true + secretRef: + name: nameValue + volumeID: volumeIDValue + configMap: + defaultMode: 3 + items: + - key: keyValue + mode: 3 + path: pathValue + name: nameValue + optional: true + csi: + driver: driverValue + fsType: fsTypeValue + nodePublishSecretRef: + name: nameValue + readOnly: true + volumeAttributes: + volumeAttributesKey: volumeAttributesValue + downwardAPI: + defaultMode: 2 + items: + - fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + mode: 4 + path: pathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + emptyDir: + medium: mediumValue + sizeLimit: "0" + ephemeral: + volumeClaimTemplate: + metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue + spec: + accessModes: + - accessModesValue + dataSource: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + dataSourceRef: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resources: + claims: + - name: nameValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + storageClassName: storageClassNameValue + volumeMode: volumeModeValue + volumeName: volumeNameValue + fc: + fsType: fsTypeValue + lun: 2 + readOnly: true + targetWWNs: + - targetWWNsValue + wwids: + - wwidsValue + flexVolume: + driver: driverValue + fsType: fsTypeValue + options: + optionsKey: optionsValue + readOnly: true + secretRef: + name: nameValue + flocker: + datasetName: datasetNameValue + datasetUUID: datasetUUIDValue + gcePersistentDisk: + fsType: fsTypeValue + partition: 3 + pdName: pdNameValue + readOnly: true + gitRepo: + directory: directoryValue + repository: repositoryValue + revision: revisionValue + glusterfs: + endpoints: endpointsValue + path: pathValue + readOnly: true + hostPath: + path: pathValue + type: typeValue + iscsi: + chapAuthDiscovery: true + chapAuthSession: true + fsType: fsTypeValue + initiatorName: initiatorNameValue + iqn: iqnValue + iscsiInterface: iscsiInterfaceValue + lun: 3 + portals: + - portalsValue + readOnly: true + secretRef: + name: nameValue + targetPortal: targetPortalValue + name: nameValue + nfs: + path: pathValue + readOnly: true + server: serverValue + persistentVolumeClaim: + claimName: claimNameValue + readOnly: true + photonPersistentDisk: + fsType: fsTypeValue + pdID: pdIDValue + portworxVolume: + fsType: fsTypeValue + readOnly: true + volumeID: volumeIDValue + projected: + defaultMode: 2 + sources: + - configMap: + items: + - key: keyValue + mode: 3 + path: pathValue + name: nameValue + optional: true + downwardAPI: + items: + - fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + mode: 4 + path: pathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secret: + items: + - key: keyValue + mode: 3 + path: pathValue + name: nameValue + optional: true + serviceAccountToken: + audience: audienceValue + expirationSeconds: 2 + path: pathValue + quobyte: + group: groupValue + readOnly: true + registry: registryValue + tenant: tenantValue + user: userValue + volume: volumeValue + rbd: + fsType: fsTypeValue + image: imageValue + keyring: keyringValue + monitors: + - monitorsValue + pool: poolValue + readOnly: true + secretRef: + name: nameValue + user: userValue + scaleIO: + fsType: fsTypeValue + gateway: gatewayValue + protectionDomain: protectionDomainValue + readOnly: true + secretRef: + name: nameValue + sslEnabled: true + storageMode: storageModeValue + storagePool: storagePoolValue + system: systemValue + volumeName: volumeNameValue + secret: + defaultMode: 3 + items: + - key: keyValue + mode: 3 + path: pathValue + optional: true + secretName: secretNameValue + storageos: + fsType: fsTypeValue + readOnly: true + secretRef: + name: nameValue + volumeName: volumeNameValue + volumeNamespace: volumeNamespaceValue + vsphereVolume: + fsType: fsTypeValue + storagePolicyID: storagePolicyIDValue + storagePolicyName: storagePolicyNameValue + volumePath: volumePathValue + ttlSecondsAfterFinished: 8 + schedule: scheduleValue + startingDeadlineSeconds: 2 + successfulJobsHistoryLimit: 6 + suspend: true + timeZone: timeZoneValue +status: + active: + - apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue + lastScheduleTime: "2004-01-01T01:01:01Z" + lastSuccessfulTime: "2005-01-01T01:01:01Z" diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.JobTemplate.json b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.JobTemplate.json new file mode 100644 index 00000000000..00fe2b0f133 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.JobTemplate.json @@ -0,0 +1,1740 @@ +{ + "kind": "JobTemplate", + "apiVersion": "batch/v1beta1", + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "template": { + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "parallelism": 1, + "completions": 2, + "activeDeadlineSeconds": 3, + "podFailurePolicy": { + "rules": [ + { + "action": "actionValue", + "onExitCodes": { + "containerName": "containerNameValue", + "operator": "operatorValue", + "values": [ + 3 + ] + }, + "onPodConditions": [ + { + "type": "typeValue", + "status": "statusValue" + } + ] + } + ] + }, + "backoffLimit": 7, + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "manualSelector": true, + "template": { + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "volumes": [ + { + "name": "nameValue", + "hostPath": { + "path": "pathValue", + "type": "typeValue" + }, + "emptyDir": { + "medium": "mediumValue", + "sizeLimit": "0" + }, + "gcePersistentDisk": { + "pdName": "pdNameValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "awsElasticBlockStore": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "gitRepo": { + "repository": "repositoryValue", + "revision": "revisionValue", + "directory": "directoryValue" + }, + "secret": { + "secretName": "secretNameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "defaultMode": 3, + "optional": true + }, + "nfs": { + "server": "serverValue", + "path": "pathValue", + "readOnly": true + }, + "iscsi": { + "targetPortal": "targetPortalValue", + "iqn": "iqnValue", + "lun": 3, + "iscsiInterface": "iscsiInterfaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "portals": [ + "portalsValue" + ], + "chapAuthDiscovery": true, + "chapAuthSession": true, + "secretRef": { + "name": "nameValue" + }, + "initiatorName": "initiatorNameValue" + }, + "glusterfs": { + "endpoints": "endpointsValue", + "path": "pathValue", + "readOnly": true + }, + "persistentVolumeClaim": { + "claimName": "claimNameValue", + "readOnly": true + }, + "rbd": { + "monitors": [ + "monitorsValue" + ], + "image": "imageValue", + "fsType": "fsTypeValue", + "pool": "poolValue", + "user": "userValue", + "keyring": "keyringValue", + "secretRef": { + "name": "nameValue" + }, + "readOnly": true + }, + "flexVolume": { + "driver": "driverValue", + "fsType": "fsTypeValue", + "secretRef": { + "name": "nameValue" + }, + "readOnly": true, + "options": { + "optionsKey": "optionsValue" + } + }, + "cinder": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "name": "nameValue" + } + }, + "cephfs": { + "monitors": [ + "monitorsValue" + ], + "path": "pathValue", + "user": "userValue", + "secretFile": "secretFileValue", + "secretRef": { + "name": "nameValue" + }, + "readOnly": true + }, + "flocker": { + "datasetName": "datasetNameValue", + "datasetUUID": "datasetUUIDValue" + }, + "downwardAPI": { + "items": [ + { + "path": "pathValue", + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "mode": 4 + } + ], + "defaultMode": 2 + }, + "fc": { + "targetWWNs": [ + "targetWWNsValue" + ], + "lun": 2, + "fsType": "fsTypeValue", + "readOnly": true, + "wwids": [ + "wwidsValue" + ] + }, + "azureFile": { + "secretName": "secretNameValue", + "shareName": "shareNameValue", + "readOnly": true + }, + "configMap": { + "name": "nameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "defaultMode": 3, + "optional": true + }, + "vsphereVolume": { + "volumePath": "volumePathValue", + "fsType": "fsTypeValue", + "storagePolicyName": "storagePolicyNameValue", + "storagePolicyID": "storagePolicyIDValue" + }, + "quobyte": { + "registry": "registryValue", + "volume": "volumeValue", + "readOnly": true, + "user": "userValue", + "group": "groupValue", + "tenant": "tenantValue" + }, + "azureDisk": { + "diskName": "diskNameValue", + "diskURI": "diskURIValue", + "cachingMode": "cachingModeValue", + "fsType": "fsTypeValue", + "readOnly": true, + "kind": "kindValue" + }, + "photonPersistentDisk": { + "pdID": "pdIDValue", + "fsType": "fsTypeValue" + }, + "projected": { + "sources": [ + { + "secret": { + "name": "nameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "optional": true + }, + "downwardAPI": { + "items": [ + { + "path": "pathValue", + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "mode": 4 + } + ] + }, + "configMap": { + "name": "nameValue", + "items": [ + { + "key": "keyValue", + "path": "pathValue", + "mode": 3 + } + ], + "optional": true + }, + "serviceAccountToken": { + "audience": "audienceValue", + "expirationSeconds": 2, + "path": "pathValue" + } + } + ], + "defaultMode": 2 + }, + "portworxVolume": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "scaleIO": { + "gateway": "gatewayValue", + "system": "systemValue", + "secretRef": { + "name": "nameValue" + }, + "sslEnabled": true, + "protectionDomain": "protectionDomainValue", + "storagePool": "storagePoolValue", + "storageMode": "storageModeValue", + "volumeName": "volumeNameValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "storageos": { + "volumeName": "volumeNameValue", + "volumeNamespace": "volumeNamespaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "name": "nameValue" + } + }, + "csi": { + "driver": "driverValue", + "readOnly": true, + "fsType": "fsTypeValue", + "volumeAttributes": { + "volumeAttributesKey": "volumeAttributesValue" + }, + "nodePublishSecretRef": { + "name": "nameValue" + } + }, + "ephemeral": { + "volumeClaimTemplate": { + "metadata": { + "name": "nameValue", + "generateName": "generateNameValue", + "namespace": "namespaceValue", + "selfLink": "selfLinkValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "generation": 7, + "creationTimestamp": "2008-01-01T01:01:01Z", + "deletionTimestamp": "2009-01-01T01:01:01Z", + "deletionGracePeriodSeconds": 10, + "labels": { + "labelsKey": "labelsValue" + }, + "annotations": { + "annotationsKey": "annotationsValue" + }, + "ownerReferences": [ + { + "apiVersion": "apiVersionValue", + "kind": "kindValue", + "name": "nameValue", + "uid": "uidValue", + "controller": true, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "finalizersValue" + ], + "managedFields": [ + { + "manager": "managerValue", + "operation": "operationValue", + "apiVersion": "apiVersionValue", + "time": "2004-01-01T01:01:01Z", + "fieldsType": "fieldsTypeValue", + "fieldsV1": {}, + "subresource": "subresourceValue" + } + ] + }, + "spec": { + "accessModes": [ + "accessModesValue" + ], + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue" + } + ] + }, + "volumeName": "volumeNameValue", + "storageClassName": "storageClassNameValue", + "volumeMode": "volumeModeValue", + "dataSource": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + }, + "dataSourceRef": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue", + "namespace": "namespaceValue" + } + } + } + } + } + ], + "initContainers": [ + { + "name": "nameValue", + "image": "imageValue", + "command": [ + "commandValue" + ], + "args": [ + "argsValue" + ], + "workingDir": "workingDirValue", + "ports": [ + { + "name": "nameValue", + "hostPort": 2, + "containerPort": 3, + "protocol": "protocolValue", + "hostIP": "hostIPValue" + } + ], + "envFrom": [ + { + "prefix": "prefixValue", + "configMapRef": { + "name": "nameValue", + "optional": true + }, + "secretRef": { + "name": "nameValue", + "optional": true + } + } + ], + "env": [ + { + "name": "nameValue", + "value": "valueValue", + "valueFrom": { + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "configMapKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "secretKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + } + } + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "readOnly": true, + "mountPath": "mountPathValue", + "subPath": "subPathValue", + "mountPropagation": "mountPropagationValue", + "subPathExpr": "subPathExprValue" + } + ], + "volumeDevices": [ + { + "name": "nameValue", + "devicePath": "devicePathValue" + } + ], + "livenessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "readinessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "startupProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "lifecycle": { + "postStart": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + }, + "preStop": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + } + }, + "terminationMessagePath": "terminationMessagePathValue", + "terminationMessagePolicy": "terminationMessagePolicyValue", + "imagePullPolicy": "imagePullPolicyValue", + "securityContext": { + "capabilities": { + "add": [ + "addValue" + ], + "drop": [ + "dropValue" + ] + }, + "privileged": true, + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 4, + "runAsGroup": 8, + "runAsNonRoot": true, + "readOnlyRootFilesystem": true, + "allowPrivilegeEscalation": true, + "procMount": "procMountValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "stdin": true, + "stdinOnce": true, + "tty": true + } + ], + "containers": [ + { + "name": "nameValue", + "image": "imageValue", + "command": [ + "commandValue" + ], + "args": [ + "argsValue" + ], + "workingDir": "workingDirValue", + "ports": [ + { + "name": "nameValue", + "hostPort": 2, + "containerPort": 3, + "protocol": "protocolValue", + "hostIP": "hostIPValue" + } + ], + "envFrom": [ + { + "prefix": "prefixValue", + "configMapRef": { + "name": "nameValue", + "optional": true + }, + "secretRef": { + "name": "nameValue", + "optional": true + } + } + ], + "env": [ + { + "name": "nameValue", + "value": "valueValue", + "valueFrom": { + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "configMapKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "secretKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + } + } + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "readOnly": true, + "mountPath": "mountPathValue", + "subPath": "subPathValue", + "mountPropagation": "mountPropagationValue", + "subPathExpr": "subPathExprValue" + } + ], + "volumeDevices": [ + { + "name": "nameValue", + "devicePath": "devicePathValue" + } + ], + "livenessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "readinessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "startupProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "lifecycle": { + "postStart": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + }, + "preStop": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + } + }, + "terminationMessagePath": "terminationMessagePathValue", + "terminationMessagePolicy": "terminationMessagePolicyValue", + "imagePullPolicy": "imagePullPolicyValue", + "securityContext": { + "capabilities": { + "add": [ + "addValue" + ], + "drop": [ + "dropValue" + ] + }, + "privileged": true, + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 4, + "runAsGroup": 8, + "runAsNonRoot": true, + "readOnlyRootFilesystem": true, + "allowPrivilegeEscalation": true, + "procMount": "procMountValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "stdin": true, + "stdinOnce": true, + "tty": true + } + ], + "ephemeralContainers": [ + { + "name": "nameValue", + "image": "imageValue", + "command": [ + "commandValue" + ], + "args": [ + "argsValue" + ], + "workingDir": "workingDirValue", + "ports": [ + { + "name": "nameValue", + "hostPort": 2, + "containerPort": 3, + "protocol": "protocolValue", + "hostIP": "hostIPValue" + } + ], + "envFrom": [ + { + "prefix": "prefixValue", + "configMapRef": { + "name": "nameValue", + "optional": true + }, + "secretRef": { + "name": "nameValue", + "optional": true + } + } + ], + "env": [ + { + "name": "nameValue", + "value": "valueValue", + "valueFrom": { + "fieldRef": { + "apiVersion": "apiVersionValue", + "fieldPath": "fieldPathValue" + }, + "resourceFieldRef": { + "containerName": "containerNameValue", + "resource": "resourceValue", + "divisor": "0" + }, + "configMapKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + }, + "secretKeyRef": { + "name": "nameValue", + "key": "keyValue", + "optional": true + } + } + } + ], + "resources": { + "limits": { + "limitsKey": "0" + }, + "requests": { + "requestsKey": "0" + }, + "claims": [ + { + "name": "nameValue" + } + ] + }, + "volumeMounts": [ + { + "name": "nameValue", + "readOnly": true, + "mountPath": "mountPathValue", + "subPath": "subPathValue", + "mountPropagation": "mountPropagationValue", + "subPathExpr": "subPathExprValue" + } + ], + "volumeDevices": [ + { + "name": "nameValue", + "devicePath": "devicePathValue" + } + ], + "livenessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "readinessProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "startupProbe": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + }, + "grpc": { + "port": 1, + "service": "serviceValue" + }, + "initialDelaySeconds": 2, + "timeoutSeconds": 3, + "periodSeconds": 4, + "successThreshold": 5, + "failureThreshold": 6, + "terminationGracePeriodSeconds": 7 + }, + "lifecycle": { + "postStart": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + }, + "preStop": { + "exec": { + "command": [ + "commandValue" + ] + }, + "httpGet": { + "path": "pathValue", + "port": "portValue", + "host": "hostValue", + "scheme": "schemeValue", + "httpHeaders": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "tcpSocket": { + "port": "portValue", + "host": "hostValue" + } + } + }, + "terminationMessagePath": "terminationMessagePathValue", + "terminationMessagePolicy": "terminationMessagePolicyValue", + "imagePullPolicy": "imagePullPolicyValue", + "securityContext": { + "capabilities": { + "add": [ + "addValue" + ], + "drop": [ + "dropValue" + ] + }, + "privileged": true, + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 4, + "runAsGroup": 8, + "runAsNonRoot": true, + "readOnlyRootFilesystem": true, + "allowPrivilegeEscalation": true, + "procMount": "procMountValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "stdin": true, + "stdinOnce": true, + "tty": true, + "targetContainerName": "targetContainerNameValue" + } + ], + "restartPolicy": "restartPolicyValue", + "terminationGracePeriodSeconds": 4, + "activeDeadlineSeconds": 5, + "dnsPolicy": "dnsPolicyValue", + "nodeSelector": { + "nodeSelectorKey": "nodeSelectorValue" + }, + "serviceAccountName": "serviceAccountNameValue", + "serviceAccount": "serviceAccountValue", + "automountServiceAccountToken": true, + "nodeName": "nodeNameValue", + "hostNetwork": true, + "hostPID": true, + "hostIPC": true, + "shareProcessNamespace": true, + "securityContext": { + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + }, + "windowsOptions": { + "gmsaCredentialSpecName": "gmsaCredentialSpecNameValue", + "gmsaCredentialSpec": "gmsaCredentialSpecValue", + "runAsUserName": "runAsUserNameValue", + "hostProcess": true + }, + "runAsUser": 2, + "runAsGroup": 6, + "runAsNonRoot": true, + "supplementalGroups": [ + 4 + ], + "fsGroup": 5, + "sysctls": [ + { + "name": "nameValue", + "value": "valueValue" + } + ], + "fsGroupChangePolicy": "fsGroupChangePolicyValue", + "seccompProfile": { + "type": "typeValue", + "localhostProfile": "localhostProfileValue" + } + }, + "imagePullSecrets": [ + { + "name": "nameValue" + } + ], + "hostname": "hostnameValue", + "subdomain": "subdomainValue", + "affinity": { + "nodeAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "nodeSelectorTerms": [ + { + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ], + "matchFields": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + ] + }, + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "weight": 1, + "preference": { + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ], + "matchFields": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + ] + }, + "podAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": [ + { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + ], + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "weight": 1, + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + } + ] + }, + "podAntiAffinity": { + "requiredDuringSchedulingIgnoredDuringExecution": [ + { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + ], + "preferredDuringSchedulingIgnoredDuringExecution": [ + { + "weight": 1, + "podAffinityTerm": { + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaces": [ + "namespacesValue" + ], + "topologyKey": "topologyKeyValue", + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + } + } + ] + } + }, + "schedulerName": "schedulerNameValue", + "tolerations": [ + { + "key": "keyValue", + "operator": "operatorValue", + "value": "valueValue", + "effect": "effectValue", + "tolerationSeconds": 5 + } + ], + "hostAliases": [ + { + "ip": "ipValue", + "hostnames": [ + "hostnamesValue" + ] + } + ], + "priorityClassName": "priorityClassNameValue", + "priority": 25, + "dnsConfig": { + "nameservers": [ + "nameserversValue" + ], + "searches": [ + "searchesValue" + ], + "options": [ + { + "name": "nameValue", + "value": "valueValue" + } + ] + }, + "readinessGates": [ + { + "conditionType": "conditionTypeValue" + } + ], + "runtimeClassName": "runtimeClassNameValue", + "enableServiceLinks": true, + "preemptionPolicy": "preemptionPolicyValue", + "overhead": { + "overheadKey": "0" + }, + "topologySpreadConstraints": [ + { + "maxSkew": 1, + "topologyKey": "topologyKeyValue", + "whenUnsatisfiable": "whenUnsatisfiableValue", + "labelSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "minDomains": 5, + "nodeAffinityPolicy": "nodeAffinityPolicyValue", + "nodeTaintsPolicy": "nodeTaintsPolicyValue", + "matchLabelKeys": [ + "matchLabelKeysValue" + ] + } + ], + "setHostnameAsFQDN": true, + "os": { + "name": "nameValue" + }, + "hostUsers": true, + "schedulingGates": [ + { + "name": "nameValue" + } + ], + "resourceClaims": [ + { + "name": "nameValue", + "source": { + "resourceClaimName": "resourceClaimNameValue", + "resourceClaimTemplateName": "resourceClaimTemplateNameValue" + } + } + ] + } + }, + "ttlSecondsAfterFinished": 8, + "completionMode": "completionModeValue", + "suspend": true + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.JobTemplate.pb b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.JobTemplate.pb new file mode 100644 index 00000000000..253ea811f21 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.JobTemplate.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.JobTemplate.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.JobTemplate.yaml new file mode 100644 index 00000000000..a9d88bfa293 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/batch.v1beta1.JobTemplate.yaml @@ -0,0 +1,1193 @@ +apiVersion: batch/v1beta1 +kind: JobTemplate +metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue +template: + metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue + spec: + activeDeadlineSeconds: 3 + backoffLimit: 7 + completionMode: completionModeValue + completions: 2 + manualSelector: true + parallelism: 1 + podFailurePolicy: + rules: + - action: actionValue + onExitCodes: + containerName: containerNameValue + operator: operatorValue + values: + - 3 + onPodConditions: + - status: statusValue + type: typeValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + suspend: true + template: + metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue + spec: + activeDeadlineSeconds: 5 + affinity: + nodeAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - preference: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchFields: + - key: keyValue + operator: operatorValue + values: + - valuesValue + weight: 1 + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchFields: + - key: keyValue + operator: operatorValue + values: + - valuesValue + podAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + weight: 1 + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + weight: 1 + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + namespaces: + - namespacesValue + topologyKey: topologyKeyValue + automountServiceAccountToken: true + containers: + - args: + - argsValue + command: + - commandValue + env: + - name: nameValue + value: valueValue + valueFrom: + configMapKeyRef: + key: keyValue + name: nameValue + optional: true + fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secretKeyRef: + key: keyValue + name: nameValue + optional: true + envFrom: + - configMapRef: + name: nameValue + optional: true + prefix: prefixValue + secretRef: + name: nameValue + optional: true + image: imageValue + imagePullPolicy: imagePullPolicyValue + lifecycle: + postStart: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + preStop: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + livenessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + name: nameValue + ports: + - containerPort: 3 + hostIP: hostIPValue + hostPort: 2 + name: nameValue + protocol: protocolValue + readinessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + resources: + claims: + - name: nameValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + securityContext: + allowPrivilegeEscalation: true + capabilities: + add: + - addValue + drop: + - dropValue + privileged: true + procMount: procMountValue + readOnlyRootFilesystem: true + runAsGroup: 8 + runAsNonRoot: true + runAsUser: 4 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + startupProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + stdin: true + stdinOnce: true + terminationMessagePath: terminationMessagePathValue + terminationMessagePolicy: terminationMessagePolicyValue + tty: true + volumeDevices: + - devicePath: devicePathValue + name: nameValue + volumeMounts: + - mountPath: mountPathValue + mountPropagation: mountPropagationValue + name: nameValue + readOnly: true + subPath: subPathValue + subPathExpr: subPathExprValue + workingDir: workingDirValue + dnsConfig: + nameservers: + - nameserversValue + options: + - name: nameValue + value: valueValue + searches: + - searchesValue + dnsPolicy: dnsPolicyValue + enableServiceLinks: true + ephemeralContainers: + - args: + - argsValue + command: + - commandValue + env: + - name: nameValue + value: valueValue + valueFrom: + configMapKeyRef: + key: keyValue + name: nameValue + optional: true + fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secretKeyRef: + key: keyValue + name: nameValue + optional: true + envFrom: + - configMapRef: + name: nameValue + optional: true + prefix: prefixValue + secretRef: + name: nameValue + optional: true + image: imageValue + imagePullPolicy: imagePullPolicyValue + lifecycle: + postStart: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + preStop: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + livenessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + name: nameValue + ports: + - containerPort: 3 + hostIP: hostIPValue + hostPort: 2 + name: nameValue + protocol: protocolValue + readinessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + resources: + claims: + - name: nameValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + securityContext: + allowPrivilegeEscalation: true + capabilities: + add: + - addValue + drop: + - dropValue + privileged: true + procMount: procMountValue + readOnlyRootFilesystem: true + runAsGroup: 8 + runAsNonRoot: true + runAsUser: 4 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + startupProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + stdin: true + stdinOnce: true + targetContainerName: targetContainerNameValue + terminationMessagePath: terminationMessagePathValue + terminationMessagePolicy: terminationMessagePolicyValue + tty: true + volumeDevices: + - devicePath: devicePathValue + name: nameValue + volumeMounts: + - mountPath: mountPathValue + mountPropagation: mountPropagationValue + name: nameValue + readOnly: true + subPath: subPathValue + subPathExpr: subPathExprValue + workingDir: workingDirValue + hostAliases: + - hostnames: + - hostnamesValue + ip: ipValue + hostIPC: true + hostNetwork: true + hostPID: true + hostUsers: true + hostname: hostnameValue + imagePullSecrets: + - name: nameValue + initContainers: + - args: + - argsValue + command: + - commandValue + env: + - name: nameValue + value: valueValue + valueFrom: + configMapKeyRef: + key: keyValue + name: nameValue + optional: true + fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secretKeyRef: + key: keyValue + name: nameValue + optional: true + envFrom: + - configMapRef: + name: nameValue + optional: true + prefix: prefixValue + secretRef: + name: nameValue + optional: true + image: imageValue + imagePullPolicy: imagePullPolicyValue + lifecycle: + postStart: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + preStop: + exec: + command: + - commandValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + tcpSocket: + host: hostValue + port: portValue + livenessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + name: nameValue + ports: + - containerPort: 3 + hostIP: hostIPValue + hostPort: 2 + name: nameValue + protocol: protocolValue + readinessProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + resources: + claims: + - name: nameValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + securityContext: + allowPrivilegeEscalation: true + capabilities: + add: + - addValue + drop: + - dropValue + privileged: true + procMount: procMountValue + readOnlyRootFilesystem: true + runAsGroup: 8 + runAsNonRoot: true + runAsUser: 4 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + startupProbe: + exec: + command: + - commandValue + failureThreshold: 6 + grpc: + port: 1 + service: serviceValue + httpGet: + host: hostValue + httpHeaders: + - name: nameValue + value: valueValue + path: pathValue + port: portValue + scheme: schemeValue + initialDelaySeconds: 2 + periodSeconds: 4 + successThreshold: 5 + tcpSocket: + host: hostValue + port: portValue + terminationGracePeriodSeconds: 7 + timeoutSeconds: 3 + stdin: true + stdinOnce: true + terminationMessagePath: terminationMessagePathValue + terminationMessagePolicy: terminationMessagePolicyValue + tty: true + volumeDevices: + - devicePath: devicePathValue + name: nameValue + volumeMounts: + - mountPath: mountPathValue + mountPropagation: mountPropagationValue + name: nameValue + readOnly: true + subPath: subPathValue + subPathExpr: subPathExprValue + workingDir: workingDirValue + nodeName: nodeNameValue + nodeSelector: + nodeSelectorKey: nodeSelectorValue + os: + name: nameValue + overhead: + overheadKey: "0" + preemptionPolicy: preemptionPolicyValue + priority: 25 + priorityClassName: priorityClassNameValue + readinessGates: + - conditionType: conditionTypeValue + resourceClaims: + - name: nameValue + source: + resourceClaimName: resourceClaimNameValue + resourceClaimTemplateName: resourceClaimTemplateNameValue + restartPolicy: restartPolicyValue + runtimeClassName: runtimeClassNameValue + schedulerName: schedulerNameValue + schedulingGates: + - name: nameValue + securityContext: + fsGroup: 5 + fsGroupChangePolicy: fsGroupChangePolicyValue + runAsGroup: 6 + runAsNonRoot: true + runAsUser: 2 + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + seccompProfile: + localhostProfile: localhostProfileValue + type: typeValue + supplementalGroups: + - 4 + sysctls: + - name: nameValue + value: valueValue + windowsOptions: + gmsaCredentialSpec: gmsaCredentialSpecValue + gmsaCredentialSpecName: gmsaCredentialSpecNameValue + hostProcess: true + runAsUserName: runAsUserNameValue + serviceAccount: serviceAccountValue + serviceAccountName: serviceAccountNameValue + setHostnameAsFQDN: true + shareProcessNamespace: true + subdomain: subdomainValue + terminationGracePeriodSeconds: 4 + tolerations: + - effect: effectValue + key: keyValue + operator: operatorValue + tolerationSeconds: 5 + value: valueValue + topologySpreadConstraints: + - labelSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + matchLabelKeys: + - matchLabelKeysValue + maxSkew: 1 + minDomains: 5 + nodeAffinityPolicy: nodeAffinityPolicyValue + nodeTaintsPolicy: nodeTaintsPolicyValue + topologyKey: topologyKeyValue + whenUnsatisfiable: whenUnsatisfiableValue + volumes: + - awsElasticBlockStore: + fsType: fsTypeValue + partition: 3 + readOnly: true + volumeID: volumeIDValue + azureDisk: + cachingMode: cachingModeValue + diskName: diskNameValue + diskURI: diskURIValue + fsType: fsTypeValue + kind: kindValue + readOnly: true + azureFile: + readOnly: true + secretName: secretNameValue + shareName: shareNameValue + cephfs: + monitors: + - monitorsValue + path: pathValue + readOnly: true + secretFile: secretFileValue + secretRef: + name: nameValue + user: userValue + cinder: + fsType: fsTypeValue + readOnly: true + secretRef: + name: nameValue + volumeID: volumeIDValue + configMap: + defaultMode: 3 + items: + - key: keyValue + mode: 3 + path: pathValue + name: nameValue + optional: true + csi: + driver: driverValue + fsType: fsTypeValue + nodePublishSecretRef: + name: nameValue + readOnly: true + volumeAttributes: + volumeAttributesKey: volumeAttributesValue + downwardAPI: + defaultMode: 2 + items: + - fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + mode: 4 + path: pathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + emptyDir: + medium: mediumValue + sizeLimit: "0" + ephemeral: + volumeClaimTemplate: + metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue + spec: + accessModes: + - accessModesValue + dataSource: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + dataSourceRef: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resources: + claims: + - name: nameValue + limits: + limitsKey: "0" + requests: + requestsKey: "0" + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + storageClassName: storageClassNameValue + volumeMode: volumeModeValue + volumeName: volumeNameValue + fc: + fsType: fsTypeValue + lun: 2 + readOnly: true + targetWWNs: + - targetWWNsValue + wwids: + - wwidsValue + flexVolume: + driver: driverValue + fsType: fsTypeValue + options: + optionsKey: optionsValue + readOnly: true + secretRef: + name: nameValue + flocker: + datasetName: datasetNameValue + datasetUUID: datasetUUIDValue + gcePersistentDisk: + fsType: fsTypeValue + partition: 3 + pdName: pdNameValue + readOnly: true + gitRepo: + directory: directoryValue + repository: repositoryValue + revision: revisionValue + glusterfs: + endpoints: endpointsValue + path: pathValue + readOnly: true + hostPath: + path: pathValue + type: typeValue + iscsi: + chapAuthDiscovery: true + chapAuthSession: true + fsType: fsTypeValue + initiatorName: initiatorNameValue + iqn: iqnValue + iscsiInterface: iscsiInterfaceValue + lun: 3 + portals: + - portalsValue + readOnly: true + secretRef: + name: nameValue + targetPortal: targetPortalValue + name: nameValue + nfs: + path: pathValue + readOnly: true + server: serverValue + persistentVolumeClaim: + claimName: claimNameValue + readOnly: true + photonPersistentDisk: + fsType: fsTypeValue + pdID: pdIDValue + portworxVolume: + fsType: fsTypeValue + readOnly: true + volumeID: volumeIDValue + projected: + defaultMode: 2 + sources: + - configMap: + items: + - key: keyValue + mode: 3 + path: pathValue + name: nameValue + optional: true + downwardAPI: + items: + - fieldRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + mode: 4 + path: pathValue + resourceFieldRef: + containerName: containerNameValue + divisor: "0" + resource: resourceValue + secret: + items: + - key: keyValue + mode: 3 + path: pathValue + name: nameValue + optional: true + serviceAccountToken: + audience: audienceValue + expirationSeconds: 2 + path: pathValue + quobyte: + group: groupValue + readOnly: true + registry: registryValue + tenant: tenantValue + user: userValue + volume: volumeValue + rbd: + fsType: fsTypeValue + image: imageValue + keyring: keyringValue + monitors: + - monitorsValue + pool: poolValue + readOnly: true + secretRef: + name: nameValue + user: userValue + scaleIO: + fsType: fsTypeValue + gateway: gatewayValue + protectionDomain: protectionDomainValue + readOnly: true + secretRef: + name: nameValue + sslEnabled: true + storageMode: storageModeValue + storagePool: storagePoolValue + system: systemValue + volumeName: volumeNameValue + secret: + defaultMode: 3 + items: + - key: keyValue + mode: 3 + path: pathValue + optional: true + secretName: secretNameValue + storageos: + fsType: fsTypeValue + readOnly: true + secretRef: + name: nameValue + volumeName: volumeNameValue + volumeNamespace: volumeNamespaceValue + vsphereVolume: + fsType: fsTypeValue + storagePolicyID: storagePolicyIDValue + storagePolicyName: storagePolicyNameValue + volumePath: volumePathValue + ttlSecondsAfterFinished: 8 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/certificates.k8s.io.v1.CertificateSigningRequest.json b/staging/src/k8s.io/api/testdata/v1.26.0/certificates.k8s.io.v1.CertificateSigningRequest.json new file mode 100644 index 00000000000..6c7f5be0a6b --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/certificates.k8s.io.v1.CertificateSigningRequest.json @@ -0,0 +1,77 @@ +{ + "kind": "CertificateSigningRequest", + "apiVersion": "certificates.k8s.io/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": { + "request": "AQ==", + "signerName": "signerNameValue", + "expirationSeconds": 8, + "usages": [ + "usagesValue" + ], + "username": "usernameValue", + "uid": "uidValue", + "groups": [ + "groupsValue" + ], + "extra": { + "extraKey": [ + "extraValue" + ] + } + }, + "status": { + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "reason": "reasonValue", + "message": "messageValue", + "lastUpdateTime": "2004-01-01T01:01:01Z", + "lastTransitionTime": "2005-01-01T01:01:01Z" + } + ], + "certificate": "Ag==" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/certificates.k8s.io.v1.CertificateSigningRequest.pb b/staging/src/k8s.io/api/testdata/v1.26.0/certificates.k8s.io.v1.CertificateSigningRequest.pb new file mode 100644 index 00000000000..65b963f5c09 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/certificates.k8s.io.v1.CertificateSigningRequest.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/certificates.k8s.io.v1.CertificateSigningRequest.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/certificates.k8s.io.v1.CertificateSigningRequest.yaml new file mode 100644 index 00000000000..c66e9ad6612 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/certificates.k8s.io.v1.CertificateSigningRequest.yaml @@ -0,0 +1,56 @@ +apiVersion: certificates.k8s.io/v1 +kind: CertificateSigningRequest +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: + expirationSeconds: 8 + extra: + extraKey: + - extraValue + groups: + - groupsValue + request: AQ== + signerName: signerNameValue + uid: uidValue + usages: + - usagesValue + username: usernameValue +status: + certificate: Ag== + conditions: + - lastTransitionTime: "2005-01-01T01:01:01Z" + lastUpdateTime: "2004-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/certificates.k8s.io.v1beta1.CertificateSigningRequest.json b/staging/src/k8s.io/api/testdata/v1.26.0/certificates.k8s.io.v1beta1.CertificateSigningRequest.json new file mode 100644 index 00000000000..7307d013e8f --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/certificates.k8s.io.v1beta1.CertificateSigningRequest.json @@ -0,0 +1,77 @@ +{ + "kind": "CertificateSigningRequest", + "apiVersion": "certificates.k8s.io/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": { + "request": "AQ==", + "signerName": "signerNameValue", + "expirationSeconds": 8, + "usages": [ + "usagesValue" + ], + "username": "usernameValue", + "uid": "uidValue", + "groups": [ + "groupsValue" + ], + "extra": { + "extraKey": [ + "extraValue" + ] + } + }, + "status": { + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "reason": "reasonValue", + "message": "messageValue", + "lastUpdateTime": "2004-01-01T01:01:01Z", + "lastTransitionTime": "2005-01-01T01:01:01Z" + } + ], + "certificate": "Ag==" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/certificates.k8s.io.v1beta1.CertificateSigningRequest.pb b/staging/src/k8s.io/api/testdata/v1.26.0/certificates.k8s.io.v1beta1.CertificateSigningRequest.pb new file mode 100644 index 00000000000..224d8838bb7 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/certificates.k8s.io.v1beta1.CertificateSigningRequest.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/certificates.k8s.io.v1beta1.CertificateSigningRequest.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/certificates.k8s.io.v1beta1.CertificateSigningRequest.yaml new file mode 100644 index 00000000000..9cb463c635f --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/certificates.k8s.io.v1beta1.CertificateSigningRequest.yaml @@ -0,0 +1,56 @@ +apiVersion: certificates.k8s.io/v1beta1 +kind: CertificateSigningRequest +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: + expirationSeconds: 8 + extra: + extraKey: + - extraValue + groups: + - groupsValue + request: AQ== + signerName: signerNameValue + uid: uidValue + usages: + - usagesValue + username: usernameValue +status: + certificate: Ag== + conditions: + - lastTransitionTime: "2005-01-01T01:01:01Z" + lastUpdateTime: "2004-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/coordination.k8s.io.v1.Lease.json b/staging/src/k8s.io/api/testdata/v1.26.0/coordination.k8s.io.v1.Lease.json new file mode 100644 index 00000000000..bcc46b2f11b --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/coordination.k8s.io.v1.Lease.json @@ -0,0 +1,53 @@ +{ + "kind": "Lease", + "apiVersion": "coordination.k8s.io/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": { + "holderIdentity": "holderIdentityValue", + "leaseDurationSeconds": 2, + "acquireTime": "2003-01-01T01:01:01.000003Z", + "renewTime": "2004-01-01T01:01:01.000004Z", + "leaseTransitions": 5 + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/coordination.k8s.io.v1.Lease.pb b/staging/src/k8s.io/api/testdata/v1.26.0/coordination.k8s.io.v1.Lease.pb new file mode 100644 index 00000000000..a80b730e7db Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/coordination.k8s.io.v1.Lease.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/coordination.k8s.io.v1.Lease.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/coordination.k8s.io.v1.Lease.yaml new file mode 100644 index 00000000000..32fc6d9c651 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/coordination.k8s.io.v1.Lease.yaml @@ -0,0 +1,40 @@ +apiVersion: coordination.k8s.io/v1 +kind: Lease +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: + acquireTime: "2003-01-01T01:01:01.000003Z" + holderIdentity: holderIdentityValue + leaseDurationSeconds: 2 + leaseTransitions: 5 + renewTime: "2004-01-01T01:01:01.000004Z" diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/coordination.k8s.io.v1beta1.Lease.json b/staging/src/k8s.io/api/testdata/v1.26.0/coordination.k8s.io.v1beta1.Lease.json new file mode 100644 index 00000000000..f0df6272238 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/coordination.k8s.io.v1beta1.Lease.json @@ -0,0 +1,53 @@ +{ + "kind": "Lease", + "apiVersion": "coordination.k8s.io/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": { + "holderIdentity": "holderIdentityValue", + "leaseDurationSeconds": 2, + "acquireTime": "2003-01-01T01:01:01.000003Z", + "renewTime": "2004-01-01T01:01:01.000004Z", + "leaseTransitions": 5 + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/coordination.k8s.io.v1beta1.Lease.pb b/staging/src/k8s.io/api/testdata/v1.26.0/coordination.k8s.io.v1beta1.Lease.pb new file mode 100644 index 00000000000..c46f00ee058 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/coordination.k8s.io.v1beta1.Lease.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/coordination.k8s.io.v1beta1.Lease.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/coordination.k8s.io.v1beta1.Lease.yaml new file mode 100644 index 00000000000..0882a3a7025 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/coordination.k8s.io.v1beta1.Lease.yaml @@ -0,0 +1,40 @@ +apiVersion: coordination.k8s.io/v1beta1 +kind: Lease +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: + acquireTime: "2003-01-01T01:01:01.000003Z" + holderIdentity: holderIdentityValue + leaseDurationSeconds: 2 + leaseTransitions: 5 + renewTime: "2004-01-01T01:01:01.000004Z" diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.APIGroup.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.APIGroup.json new file mode 100644 index 00000000000..d65e20c0fed --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.APIGroup.json @@ -0,0 +1,21 @@ +{ + "kind": "APIGroup", + "apiVersion": "v1", + "name": "nameValue", + "versions": [ + { + "groupVersion": "groupVersionValue", + "version": "versionValue" + } + ], + "preferredVersion": { + "groupVersion": "groupVersionValue", + "version": "versionValue" + }, + "serverAddressByClientCIDRs": [ + { + "clientCIDR": "clientCIDRValue", + "serverAddress": "serverAddressValue" + } + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.APIGroup.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.APIGroup.pb new file mode 100644 index 00000000000..dc4fc4b3815 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.APIGroup.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.APIGroup.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.APIGroup.yaml new file mode 100644 index 00000000000..9c82b82ba40 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.APIGroup.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: APIGroup +name: nameValue +preferredVersion: + groupVersion: groupVersionValue + version: versionValue +serverAddressByClientCIDRs: +- clientCIDR: clientCIDRValue + serverAddress: serverAddressValue +versions: +- groupVersion: groupVersionValue + version: versionValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.APIVersions.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.APIVersions.json new file mode 100644 index 00000000000..df5a16a0aca --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.APIVersions.json @@ -0,0 +1,13 @@ +{ + "kind": "APIVersions", + "apiVersion": "v1", + "versions": [ + "versionsValue" + ], + "serverAddressByClientCIDRs": [ + { + "clientCIDR": "clientCIDRValue", + "serverAddress": "serverAddressValue" + } + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.APIVersions.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.APIVersions.pb new file mode 100644 index 00000000000..7704c9bc02e Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.APIVersions.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.APIVersions.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.APIVersions.yaml new file mode 100644 index 00000000000..68a0670803f --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.APIVersions.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: APIVersions +serverAddressByClientCIDRs: +- clientCIDR: clientCIDRValue + serverAddress: serverAddressValue +versions: +- versionsValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Binding.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Binding.json new file mode 100644 index 00000000000..4741bab4663 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Binding.json @@ -0,0 +1,55 @@ +{ + "kind": "Binding", + "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" + } + ] + }, + "target": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Binding.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Binding.pb new file mode 100644 index 00000000000..5f44fe6deda Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Binding.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Binding.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Binding.yaml new file mode 100644 index 00000000000..8246c2ce3ea --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Binding.yaml @@ -0,0 +1,42 @@ +apiVersion: v1 +kind: Binding +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 +target: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ComponentStatus.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ComponentStatus.json new file mode 100644 index 00000000000..dfef6b13877 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ComponentStatus.json @@ -0,0 +1,54 @@ +{ + "kind": "ComponentStatus", + "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" + } + ] + }, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "message": "messageValue", + "error": "errorValue" + } + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ComponentStatus.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ComponentStatus.pb new file mode 100644 index 00000000000..1c6f1fe2e92 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ComponentStatus.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ComponentStatus.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ComponentStatus.yaml new file mode 100644 index 00000000000..1e75b6f6209 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ComponentStatus.yaml @@ -0,0 +1,39 @@ +apiVersion: v1 +conditions: +- error: errorValue + message: messageValue + status: statusValue + type: typeValue +kind: ComponentStatus +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 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ConfigMap.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ConfigMap.json new file mode 100644 index 00000000000..4362bb277cc --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ConfigMap.json @@ -0,0 +1,53 @@ +{ + "kind": "ConfigMap", + "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" + } + ] + }, + "immutable": true, + "data": { + "dataKey": "dataValue" + }, + "binaryData": { + "binaryDataKey": "Aw==" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ConfigMap.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ConfigMap.pb new file mode 100644 index 00000000000..10e9c13b6c8 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ConfigMap.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ConfigMap.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ConfigMap.yaml new file mode 100644 index 00000000000..ecb3a3f7d53 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ConfigMap.yaml @@ -0,0 +1,39 @@ +apiVersion: v1 +binaryData: + binaryDataKey: Aw== +data: + dataKey: dataValue +immutable: true +kind: ConfigMap +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 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.CreateOptions.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.CreateOptions.json new file mode 100644 index 00000000000..afcbef2f665 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.CreateOptions.json @@ -0,0 +1,9 @@ +{ + "kind": "CreateOptions", + "apiVersion": "v1", + "dryRun": [ + "dryRunValue" + ], + "fieldManager": "fieldManagerValue", + "fieldValidation": "fieldValidationValue" +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.CreateOptions.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.CreateOptions.pb new file mode 100644 index 00000000000..32fe071eac6 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.CreateOptions.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.CreateOptions.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.CreateOptions.yaml new file mode 100644 index 00000000000..a696c6407ef --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.CreateOptions.yaml @@ -0,0 +1,6 @@ +apiVersion: v1 +dryRun: +- dryRunValue +fieldManager: fieldManagerValue +fieldValidation: fieldValidationValue +kind: CreateOptions diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.DeleteOptions.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.DeleteOptions.json new file mode 100644 index 00000000000..2e581c55fff --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.DeleteOptions.json @@ -0,0 +1,14 @@ +{ + "kind": "DeleteOptions", + "apiVersion": "v1", + "gracePeriodSeconds": 1, + "preconditions": { + "uid": "uidValue", + "resourceVersion": "resourceVersionValue" + }, + "orphanDependents": true, + "propagationPolicy": "propagationPolicyValue", + "dryRun": [ + "dryRunValue" + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.DeleteOptions.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.DeleteOptions.pb new file mode 100644 index 00000000000..73272f6ddbe Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.DeleteOptions.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.DeleteOptions.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.DeleteOptions.yaml new file mode 100644 index 00000000000..1f7c2652a10 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.DeleteOptions.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +dryRun: +- dryRunValue +gracePeriodSeconds: 1 +kind: DeleteOptions +orphanDependents: true +preconditions: + resourceVersion: resourceVersionValue + uid: uidValue +propagationPolicy: propagationPolicyValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Endpoints.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Endpoints.json new file mode 100644 index 00000000000..cf3995cec82 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Endpoints.json @@ -0,0 +1,90 @@ +{ + "kind": "Endpoints", + "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" + } + ] + }, + "subsets": [ + { + "addresses": [ + { + "ip": "ipValue", + "hostname": "hostnameValue", + "nodeName": "nodeNameValue", + "targetRef": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + } + } + ], + "notReadyAddresses": [ + { + "ip": "ipValue", + "hostname": "hostnameValue", + "nodeName": "nodeNameValue", + "targetRef": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + } + } + ], + "ports": [ + { + "name": "nameValue", + "port": 2, + "protocol": "protocolValue", + "appProtocol": "appProtocolValue" + } + ] + } + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Endpoints.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Endpoints.pb new file mode 100644 index 00000000000..41551b7ff1d Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Endpoints.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Endpoints.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Endpoints.yaml new file mode 100644 index 00000000000..e41c4099951 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Endpoints.yaml @@ -0,0 +1,64 @@ +apiVersion: v1 +kind: Endpoints +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 +subsets: +- addresses: + - hostname: hostnameValue + ip: ipValue + nodeName: nodeNameValue + targetRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue + notReadyAddresses: + - hostname: hostnameValue + ip: ipValue + nodeName: nodeNameValue + targetRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue + ports: + - appProtocol: appProtocolValue + name: nameValue + port: 2 + protocol: protocolValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Event.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Event.json new file mode 100644 index 00000000000..84f731fc0a3 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Event.json @@ -0,0 +1,82 @@ +{ + "kind": "Event", + "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" + } + ] + }, + "involvedObject": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + }, + "reason": "reasonValue", + "message": "messageValue", + "source": { + "component": "componentValue", + "host": "hostValue" + }, + "firstTimestamp": "2006-01-01T01:01:01Z", + "lastTimestamp": "2007-01-01T01:01:01Z", + "count": 8, + "type": "typeValue", + "eventTime": "2010-01-01T01:01:01.000010Z", + "series": { + "count": 1, + "lastObservedTime": "2002-01-01T01:01:01.000002Z" + }, + "action": "actionValue", + "related": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + }, + "reportingComponent": "reportingComponentValue", + "reportingInstance": "reportingInstanceValue" +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Event.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Event.pb new file mode 100644 index 00000000000..2c034a995ee Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Event.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Event.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Event.yaml new file mode 100644 index 00000000000..79851ea30a0 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Event.yaml @@ -0,0 +1,66 @@ +action: actionValue +apiVersion: v1 +count: 8 +eventTime: "2010-01-01T01:01:01.000010Z" +firstTimestamp: "2006-01-01T01:01:01Z" +involvedObject: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue +kind: Event +lastTimestamp: "2007-01-01T01:01:01Z" +message: messageValue +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 +reason: reasonValue +related: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue +reportingComponent: reportingComponentValue +reportingInstance: reportingInstanceValue +series: + count: 1 + lastObservedTime: "2002-01-01T01:01:01.000002Z" +source: + component: componentValue + host: hostValue +type: typeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.GetOptions.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.GetOptions.json new file mode 100644 index 00000000000..1cb1f261caf --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.GetOptions.json @@ -0,0 +1,5 @@ +{ + "kind": "GetOptions", + "apiVersion": "v1", + "resourceVersion": "resourceVersionValue" +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.GetOptions.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.GetOptions.pb new file mode 100644 index 00000000000..5588495db35 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.GetOptions.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.GetOptions.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.GetOptions.yaml new file mode 100644 index 00000000000..e84bdbdc49d --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.GetOptions.yaml @@ -0,0 +1,3 @@ +apiVersion: v1 +kind: GetOptions +resourceVersion: resourceVersionValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.LimitRange.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.LimitRange.json new file mode 100644 index 00000000000..36f5267df93 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.LimitRange.json @@ -0,0 +1,68 @@ +{ + "kind": "LimitRange", + "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": { + "limits": [ + { + "type": "typeValue", + "max": { + "maxKey": "0" + }, + "min": { + "minKey": "0" + }, + "default": { + "defaultKey": "0" + }, + "defaultRequest": { + "defaultRequestKey": "0" + }, + "maxLimitRequestRatio": { + "maxLimitRequestRatioKey": "0" + } + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.LimitRange.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.LimitRange.pb new file mode 100644 index 00000000000..f0d7e9badb6 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.LimitRange.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.LimitRange.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.LimitRange.yaml new file mode 100644 index 00000000000..982a09ecb65 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.LimitRange.yaml @@ -0,0 +1,47 @@ +apiVersion: v1 +kind: LimitRange +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: + limits: + - default: + defaultKey: "0" + defaultRequest: + defaultRequestKey: "0" + max: + maxKey: "0" + maxLimitRequestRatio: + maxLimitRequestRatioKey: "0" + min: + minKey: "0" + type: typeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ListOptions.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ListOptions.json new file mode 100644 index 00000000000..e3602cd212f --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ListOptions.json @@ -0,0 +1,13 @@ +{ + "kind": "ListOptions", + "apiVersion": "v1", + "labelSelector": "labelSelectorValue", + "fieldSelector": "fieldSelectorValue", + "watch": true, + "allowWatchBookmarks": true, + "resourceVersion": "resourceVersionValue", + "resourceVersionMatch": "resourceVersionMatchValue", + "timeoutSeconds": 5, + "limit": 7, + "continue": "continueValue" +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ListOptions.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ListOptions.pb new file mode 100644 index 00000000000..87da93272ca Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ListOptions.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ListOptions.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ListOptions.yaml new file mode 100644 index 00000000000..be4dcbfe8dd --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ListOptions.yaml @@ -0,0 +1,11 @@ +allowWatchBookmarks: true +apiVersion: v1 +continue: continueValue +fieldSelector: fieldSelectorValue +kind: ListOptions +labelSelector: labelSelectorValue +limit: 7 +resourceVersion: resourceVersionValue +resourceVersionMatch: resourceVersionMatchValue +timeoutSeconds: 5 +watch: true diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Namespace.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Namespace.json new file mode 100644 index 00000000000..d04cbb9fe98 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Namespace.json @@ -0,0 +1,63 @@ +{ + "kind": "Namespace", + "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": { + "finalizers": [ + "finalizersValue" + ] + }, + "status": { + "phase": "phaseValue", + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Namespace.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Namespace.pb new file mode 100644 index 00000000000..665796b1503 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Namespace.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Namespace.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Namespace.yaml new file mode 100644 index 00000000000..d262f3fae2b --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Namespace.yaml @@ -0,0 +1,45 @@ +apiVersion: v1 +kind: Namespace +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: + finalizers: + - finalizersValue +status: + conditions: + - lastTransitionTime: "2004-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + phase: phaseValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Node.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Node.json new file mode 100644 index 00000000000..dee8d7b8f70 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Node.json @@ -0,0 +1,161 @@ +{ + "kind": "Node", + "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": { + "podCIDR": "podCIDRValue", + "podCIDRs": [ + "podCIDRsValue" + ], + "providerID": "providerIDValue", + "unschedulable": true, + "taints": [ + { + "key": "keyValue", + "value": "valueValue", + "effect": "effectValue", + "timeAdded": "2004-01-01T01:01:01Z" + } + ], + "configSource": { + "configMap": { + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "kubeletConfigKey": "kubeletConfigKeyValue" + } + }, + "externalID": "externalIDValue" + }, + "status": { + "capacity": { + "capacityKey": "0" + }, + "allocatable": { + "allocatableKey": "0" + }, + "phase": "phaseValue", + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastHeartbeatTime": "2003-01-01T01:01:01Z", + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ], + "addresses": [ + { + "type": "typeValue", + "address": "addressValue" + } + ], + "daemonEndpoints": { + "kubeletEndpoint": { + "Port": 1 + } + }, + "nodeInfo": { + "machineID": "machineIDValue", + "systemUUID": "systemUUIDValue", + "bootID": "bootIDValue", + "kernelVersion": "kernelVersionValue", + "osImage": "osImageValue", + "containerRuntimeVersion": "containerRuntimeVersionValue", + "kubeletVersion": "kubeletVersionValue", + "kubeProxyVersion": "kubeProxyVersionValue", + "operatingSystem": "operatingSystemValue", + "architecture": "architectureValue" + }, + "images": [ + { + "names": [ + "namesValue" + ], + "sizeBytes": 2 + } + ], + "volumesInUse": [ + "volumesInUseValue" + ], + "volumesAttached": [ + { + "name": "nameValue", + "devicePath": "devicePathValue" + } + ], + "config": { + "assigned": { + "configMap": { + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "kubeletConfigKey": "kubeletConfigKeyValue" + } + }, + "active": { + "configMap": { + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "kubeletConfigKey": "kubeletConfigKeyValue" + } + }, + "lastKnownGood": { + "configMap": { + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "resourceVersion": "resourceVersionValue", + "kubeletConfigKey": "kubeletConfigKeyValue" + } + }, + "error": "errorValue" + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Node.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Node.pb new file mode 100644 index 00000000000..edfb6e0044b Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Node.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Node.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Node.yaml new file mode 100644 index 00000000000..b645e83401c --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Node.yaml @@ -0,0 +1,115 @@ +apiVersion: v1 +kind: Node +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: + configSource: + configMap: + kubeletConfigKey: kubeletConfigKeyValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue + externalID: externalIDValue + podCIDR: podCIDRValue + podCIDRs: + - podCIDRsValue + providerID: providerIDValue + taints: + - effect: effectValue + key: keyValue + timeAdded: "2004-01-01T01:01:01Z" + value: valueValue + unschedulable: true +status: + addresses: + - address: addressValue + type: typeValue + allocatable: + allocatableKey: "0" + capacity: + capacityKey: "0" + conditions: + - lastHeartbeatTime: "2003-01-01T01:01:01Z" + lastTransitionTime: "2004-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + config: + active: + configMap: + kubeletConfigKey: kubeletConfigKeyValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue + assigned: + configMap: + kubeletConfigKey: kubeletConfigKeyValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue + error: errorValue + lastKnownGood: + configMap: + kubeletConfigKey: kubeletConfigKeyValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue + daemonEndpoints: + kubeletEndpoint: + Port: 1 + images: + - names: + - namesValue + sizeBytes: 2 + nodeInfo: + architecture: architectureValue + bootID: bootIDValue + containerRuntimeVersion: containerRuntimeVersionValue + kernelVersion: kernelVersionValue + kubeProxyVersion: kubeProxyVersionValue + kubeletVersion: kubeletVersionValue + machineID: machineIDValue + operatingSystem: operatingSystemValue + osImage: osImageValue + systemUUID: systemUUIDValue + phase: phaseValue + volumesAttached: + - devicePath: devicePathValue + name: nameValue + volumesInUse: + - volumesInUseValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.NodeProxyOptions.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.NodeProxyOptions.json new file mode 100644 index 00000000000..c6449453146 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.NodeProxyOptions.json @@ -0,0 +1,5 @@ +{ + "kind": "NodeProxyOptions", + "apiVersion": "v1", + "path": "pathValue" +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.NodeProxyOptions.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.NodeProxyOptions.pb new file mode 100644 index 00000000000..25eb5071a42 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.NodeProxyOptions.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.NodeProxyOptions.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.NodeProxyOptions.yaml new file mode 100644 index 00000000000..cb9c68d849c --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.NodeProxyOptions.yaml @@ -0,0 +1,3 @@ +apiVersion: v1 +kind: NodeProxyOptions +path: pathValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PatchOptions.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PatchOptions.json new file mode 100644 index 00000000000..32bdd8369b6 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PatchOptions.json @@ -0,0 +1,10 @@ +{ + "kind": "PatchOptions", + "apiVersion": "v1", + "dryRun": [ + "dryRunValue" + ], + "force": true, + "fieldManager": "fieldManagerValue", + "fieldValidation": "fieldValidationValue" +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PatchOptions.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PatchOptions.pb new file mode 100644 index 00000000000..e2dc7f3d2c4 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PatchOptions.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PatchOptions.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PatchOptions.yaml new file mode 100644 index 00000000000..cc7ae8afcf0 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PatchOptions.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +dryRun: +- dryRunValue +fieldManager: fieldManagerValue +fieldValidation: fieldValidationValue +force: true +kind: PatchOptions diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolume.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolume.json new file mode 100644 index 00000000000..aa8a7377925 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolume.json @@ -0,0 +1,309 @@ +{ + "kind": "PersistentVolume", + "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": { + "capacity": { + "capacityKey": "0" + }, + "gcePersistentDisk": { + "pdName": "pdNameValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "awsElasticBlockStore": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "hostPath": { + "path": "pathValue", + "type": "typeValue" + }, + "glusterfs": { + "endpoints": "endpointsValue", + "path": "pathValue", + "readOnly": true, + "endpointsNamespace": "endpointsNamespaceValue" + }, + "nfs": { + "server": "serverValue", + "path": "pathValue", + "readOnly": true + }, + "rbd": { + "monitors": [ + "monitorsValue" + ], + "image": "imageValue", + "fsType": "fsTypeValue", + "pool": "poolValue", + "user": "userValue", + "keyring": "keyringValue", + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "readOnly": true + }, + "iscsi": { + "targetPortal": "targetPortalValue", + "iqn": "iqnValue", + "lun": 3, + "iscsiInterface": "iscsiInterfaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "portals": [ + "portalsValue" + ], + "chapAuthDiscovery": true, + "chapAuthSession": true, + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "initiatorName": "initiatorNameValue" + }, + "cinder": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + } + }, + "cephfs": { + "monitors": [ + "monitorsValue" + ], + "path": "pathValue", + "user": "userValue", + "secretFile": "secretFileValue", + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "readOnly": true + }, + "fc": { + "targetWWNs": [ + "targetWWNsValue" + ], + "lun": 2, + "fsType": "fsTypeValue", + "readOnly": true, + "wwids": [ + "wwidsValue" + ] + }, + "flocker": { + "datasetName": "datasetNameValue", + "datasetUUID": "datasetUUIDValue" + }, + "flexVolume": { + "driver": "driverValue", + "fsType": "fsTypeValue", + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "readOnly": true, + "options": { + "optionsKey": "optionsValue" + } + }, + "azureFile": { + "secretName": "secretNameValue", + "shareName": "shareNameValue", + "readOnly": true, + "secretNamespace": "secretNamespaceValue" + }, + "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" + }, + "portworxVolume": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "scaleIO": { + "gateway": "gatewayValue", + "system": "systemValue", + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "sslEnabled": true, + "protectionDomain": "protectionDomainValue", + "storagePool": "storagePoolValue", + "storageMode": "storageModeValue", + "volumeName": "volumeNameValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "local": { + "path": "pathValue", + "fsType": "fsTypeValue" + }, + "storageos": { + "volumeName": "volumeNameValue", + "volumeNamespace": "volumeNamespaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + } + }, + "csi": { + "driver": "driverValue", + "volumeHandle": "volumeHandleValue", + "readOnly": true, + "fsType": "fsTypeValue", + "volumeAttributes": { + "volumeAttributesKey": "volumeAttributesValue" + }, + "controllerPublishSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "nodeStageSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "nodePublishSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "controllerExpandSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "nodeExpandSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + } + }, + "accessModes": [ + "accessModesValue" + ], + "claimRef": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + }, + "persistentVolumeReclaimPolicy": "persistentVolumeReclaimPolicyValue", + "storageClassName": "storageClassNameValue", + "mountOptions": [ + "mountOptionsValue" + ], + "volumeMode": "volumeModeValue", + "nodeAffinity": { + "required": { + "nodeSelectorTerms": [ + { + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ], + "matchFields": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + ] + } + } + }, + "status": { + "phase": "phaseValue", + "message": "messageValue", + "reason": "reasonValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolume.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolume.pb new file mode 100644 index 00000000000..beb968cd012 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolume.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolume.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolume.yaml new file mode 100644 index 00000000000..2868c29fe52 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolume.yaml @@ -0,0 +1,237 @@ +apiVersion: v1 +kind: PersistentVolume +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 + 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 + secretNamespace: secretNamespaceValue + shareName: shareNameValue + capacity: + capacityKey: "0" + cephfs: + monitors: + - monitorsValue + path: pathValue + readOnly: true + secretFile: secretFileValue + secretRef: + name: nameValue + namespace: namespaceValue + user: userValue + cinder: + fsType: fsTypeValue + readOnly: true + secretRef: + name: nameValue + namespace: namespaceValue + volumeID: volumeIDValue + claimRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue + csi: + controllerExpandSecretRef: + name: nameValue + namespace: namespaceValue + controllerPublishSecretRef: + name: nameValue + namespace: namespaceValue + driver: driverValue + fsType: fsTypeValue + nodeExpandSecretRef: + name: nameValue + namespace: namespaceValue + nodePublishSecretRef: + name: nameValue + namespace: namespaceValue + nodeStageSecretRef: + name: nameValue + namespace: namespaceValue + readOnly: true + volumeAttributes: + volumeAttributesKey: volumeAttributesValue + volumeHandle: volumeHandleValue + fc: + fsType: fsTypeValue + lun: 2 + readOnly: true + targetWWNs: + - targetWWNsValue + wwids: + - wwidsValue + flexVolume: + driver: driverValue + fsType: fsTypeValue + options: + optionsKey: optionsValue + readOnly: true + secretRef: + name: nameValue + namespace: namespaceValue + flocker: + datasetName: datasetNameValue + datasetUUID: datasetUUIDValue + gcePersistentDisk: + fsType: fsTypeValue + partition: 3 + pdName: pdNameValue + readOnly: true + glusterfs: + endpoints: endpointsValue + endpointsNamespace: endpointsNamespaceValue + 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 + namespace: namespaceValue + targetPortal: targetPortalValue + local: + fsType: fsTypeValue + path: pathValue + mountOptions: + - mountOptionsValue + nfs: + path: pathValue + readOnly: true + server: serverValue + nodeAffinity: + required: + nodeSelectorTerms: + - matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchFields: + - key: keyValue + operator: operatorValue + values: + - valuesValue + persistentVolumeReclaimPolicy: persistentVolumeReclaimPolicyValue + photonPersistentDisk: + fsType: fsTypeValue + pdID: pdIDValue + portworxVolume: + fsType: fsTypeValue + readOnly: true + volumeID: volumeIDValue + 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 + namespace: namespaceValue + user: userValue + scaleIO: + fsType: fsTypeValue + gateway: gatewayValue + protectionDomain: protectionDomainValue + readOnly: true + secretRef: + name: nameValue + namespace: namespaceValue + sslEnabled: true + storageMode: storageModeValue + storagePool: storagePoolValue + system: systemValue + volumeName: volumeNameValue + storageClassName: storageClassNameValue + storageos: + fsType: fsTypeValue + readOnly: true + secretRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue + volumeName: volumeNameValue + volumeNamespace: volumeNamespaceValue + volumeMode: volumeModeValue + vsphereVolume: + fsType: fsTypeValue + storagePolicyID: storagePolicyIDValue + storagePolicyName: storagePolicyNameValue + volumePath: volumePathValue +status: + message: messageValue + phase: phaseValue + reason: reasonValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolumeClaim.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolumeClaim.json new file mode 100644 index 00000000000..4f0eb722fb6 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolumeClaim.json @@ -0,0 +1,115 @@ +{ + "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" + }, + "resizeStatus": "resizeStatusValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolumeClaim.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolumeClaim.pb new file mode 100644 index 00000000000..5504385eb00 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolumeClaim.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolumeClaim.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolumeClaim.yaml new file mode 100644 index 00000000000..d758ebdb8fd --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PersistentVolumeClaim.yaml @@ -0,0 +1,80 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +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 + resizeStatus: resizeStatusValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Pod.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Pod.json new file mode 100644 index 00000000000..c8318d4d009 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Pod.json @@ -0,0 +1,1774 @@ +{ + "kind": "Pod", + "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": { + "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" + } + } + ] + }, + "status": { + "phase": "phaseValue", + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastProbeTime": "2003-01-01T01:01:01Z", + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ], + "message": "messageValue", + "reason": "reasonValue", + "nominatedNodeName": "nominatedNodeNameValue", + "hostIP": "hostIPValue", + "podIP": "podIPValue", + "podIPs": [ + { + "ip": "ipValue" + } + ], + "startTime": "2007-01-01T01:01:01Z", + "initContainerStatuses": [ + { + "name": "nameValue", + "state": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "lastState": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "ready": true, + "restartCount": 5, + "image": "imageValue", + "imageID": "imageIDValue", + "containerID": "containerIDValue", + "started": true + } + ], + "containerStatuses": [ + { + "name": "nameValue", + "state": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "lastState": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "ready": true, + "restartCount": 5, + "image": "imageValue", + "imageID": "imageIDValue", + "containerID": "containerIDValue", + "started": true + } + ], + "qosClass": "qosClassValue", + "ephemeralContainerStatuses": [ + { + "name": "nameValue", + "state": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "lastState": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "ready": true, + "restartCount": 5, + "image": "imageValue", + "imageID": "imageIDValue", + "containerID": "containerIDValue", + "started": true + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Pod.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Pod.pb new file mode 100644 index 00000000000..8b18232560d Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Pod.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Pod.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Pod.yaml new file mode 100644 index 00000000000..ddf86d6da45 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Pod.yaml @@ -0,0 +1,1225 @@ +apiVersion: v1 +kind: Pod +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 +status: + conditions: + - lastProbeTime: "2003-01-01T01:01:01Z" + lastTransitionTime: "2004-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + containerStatuses: + - containerID: containerIDValue + image: imageValue + imageID: imageIDValue + lastState: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + name: nameValue + ready: true + restartCount: 5 + started: true + state: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + ephemeralContainerStatuses: + - containerID: containerIDValue + image: imageValue + imageID: imageIDValue + lastState: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + name: nameValue + ready: true + restartCount: 5 + started: true + state: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + hostIP: hostIPValue + initContainerStatuses: + - containerID: containerIDValue + image: imageValue + imageID: imageIDValue + lastState: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + name: nameValue + ready: true + restartCount: 5 + started: true + state: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + message: messageValue + nominatedNodeName: nominatedNodeNameValue + phase: phaseValue + podIP: podIPValue + podIPs: + - ip: ipValue + qosClass: qosClassValue + reason: reasonValue + startTime: "2007-01-01T01:01:01Z" diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodAttachOptions.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodAttachOptions.json new file mode 100644 index 00000000000..836e03d1c16 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodAttachOptions.json @@ -0,0 +1,9 @@ +{ + "kind": "PodAttachOptions", + "apiVersion": "v1", + "stdin": true, + "stdout": true, + "stderr": true, + "tty": true, + "container": "containerValue" +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodAttachOptions.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodAttachOptions.pb new file mode 100644 index 00000000000..c1a2cba6071 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodAttachOptions.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodAttachOptions.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodAttachOptions.yaml new file mode 100644 index 00000000000..04c9804b84e --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodAttachOptions.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +container: containerValue +kind: PodAttachOptions +stderr: true +stdin: true +stdout: true +tty: true diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodExecOptions.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodExecOptions.json new file mode 100644 index 00000000000..1db7b818716 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodExecOptions.json @@ -0,0 +1,12 @@ +{ + "kind": "PodExecOptions", + "apiVersion": "v1", + "stdin": true, + "stdout": true, + "stderr": true, + "tty": true, + "container": "containerValue", + "command": [ + "commandValue" + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodExecOptions.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodExecOptions.pb new file mode 100644 index 00000000000..7fe7509a415 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodExecOptions.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodExecOptions.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodExecOptions.yaml new file mode 100644 index 00000000000..70e003dc992 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodExecOptions.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +command: +- commandValue +container: containerValue +kind: PodExecOptions +stderr: true +stdin: true +stdout: true +tty: true diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodLogOptions.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodLogOptions.json new file mode 100644 index 00000000000..0146b7d08ef --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodLogOptions.json @@ -0,0 +1,13 @@ +{ + "kind": "PodLogOptions", + "apiVersion": "v1", + "container": "containerValue", + "follow": true, + "previous": true, + "sinceSeconds": 4, + "sinceTime": "2005-01-01T01:01:01Z", + "timestamps": true, + "tailLines": 7, + "limitBytes": 8, + "insecureSkipTLSVerifyBackend": true +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodLogOptions.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodLogOptions.pb new file mode 100644 index 00000000000..afaec0a5e18 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodLogOptions.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodLogOptions.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodLogOptions.yaml new file mode 100644 index 00000000000..4730b6c1786 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodLogOptions.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +container: containerValue +follow: true +insecureSkipTLSVerifyBackend: true +kind: PodLogOptions +limitBytes: 8 +previous: true +sinceSeconds: 4 +sinceTime: "2005-01-01T01:01:01Z" +tailLines: 7 +timestamps: true diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodPortForwardOptions.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodPortForwardOptions.json new file mode 100644 index 00000000000..e977fc0dfcd --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodPortForwardOptions.json @@ -0,0 +1,7 @@ +{ + "kind": "PodPortForwardOptions", + "apiVersion": "v1", + "ports": [ + 1 + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodPortForwardOptions.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodPortForwardOptions.pb new file mode 100644 index 00000000000..25eceb4a1b1 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodPortForwardOptions.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodPortForwardOptions.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodPortForwardOptions.yaml new file mode 100644 index 00000000000..326dfd43f1c --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodPortForwardOptions.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: PodPortForwardOptions +ports: +- 1 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodProxyOptions.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodProxyOptions.json new file mode 100644 index 00000000000..5a195a6b5d0 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodProxyOptions.json @@ -0,0 +1,5 @@ +{ + "kind": "PodProxyOptions", + "apiVersion": "v1", + "path": "pathValue" +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodProxyOptions.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodProxyOptions.pb new file mode 100644 index 00000000000..c17c1cd559c Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodProxyOptions.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodProxyOptions.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodProxyOptions.yaml new file mode 100644 index 00000000000..bc3db8ce4d5 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodProxyOptions.yaml @@ -0,0 +1,3 @@ +apiVersion: v1 +kind: PodProxyOptions +path: pathValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodStatusResult.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodStatusResult.json new file mode 100644 index 00000000000..5851a3f7e19 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodStatusResult.json @@ -0,0 +1,212 @@ +{ + "kind": "PodStatusResult", + "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" + } + ] + }, + "status": { + "phase": "phaseValue", + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastProbeTime": "2003-01-01T01:01:01Z", + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ], + "message": "messageValue", + "reason": "reasonValue", + "nominatedNodeName": "nominatedNodeNameValue", + "hostIP": "hostIPValue", + "podIP": "podIPValue", + "podIPs": [ + { + "ip": "ipValue" + } + ], + "startTime": "2007-01-01T01:01:01Z", + "initContainerStatuses": [ + { + "name": "nameValue", + "state": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "lastState": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "ready": true, + "restartCount": 5, + "image": "imageValue", + "imageID": "imageIDValue", + "containerID": "containerIDValue", + "started": true + } + ], + "containerStatuses": [ + { + "name": "nameValue", + "state": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "lastState": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "ready": true, + "restartCount": 5, + "image": "imageValue", + "imageID": "imageIDValue", + "containerID": "containerIDValue", + "started": true + } + ], + "qosClass": "qosClassValue", + "ephemeralContainerStatuses": [ + { + "name": "nameValue", + "state": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "lastState": { + "waiting": { + "reason": "reasonValue", + "message": "messageValue" + }, + "running": { + "startedAt": "2001-01-01T01:01:01Z" + }, + "terminated": { + "exitCode": 1, + "signal": 2, + "reason": "reasonValue", + "message": "messageValue", + "startedAt": "2005-01-01T01:01:01Z", + "finishedAt": "2006-01-01T01:01:01Z", + "containerID": "containerIDValue" + } + }, + "ready": true, + "restartCount": 5, + "image": "imageValue", + "imageID": "imageIDValue", + "containerID": "containerIDValue", + "started": true + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodStatusResult.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodStatusResult.pb new file mode 100644 index 00000000000..30478ebd713 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodStatusResult.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodStatusResult.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodStatusResult.yaml new file mode 100644 index 00000000000..9af59c3ccfa --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodStatusResult.yaml @@ -0,0 +1,160 @@ +apiVersion: v1 +kind: PodStatusResult +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 +status: + conditions: + - lastProbeTime: "2003-01-01T01:01:01Z" + lastTransitionTime: "2004-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + containerStatuses: + - containerID: containerIDValue + image: imageValue + imageID: imageIDValue + lastState: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + name: nameValue + ready: true + restartCount: 5 + started: true + state: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + ephemeralContainerStatuses: + - containerID: containerIDValue + image: imageValue + imageID: imageIDValue + lastState: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + name: nameValue + ready: true + restartCount: 5 + started: true + state: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + hostIP: hostIPValue + initContainerStatuses: + - containerID: containerIDValue + image: imageValue + imageID: imageIDValue + lastState: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + name: nameValue + ready: true + restartCount: 5 + started: true + state: + running: + startedAt: "2001-01-01T01:01:01Z" + terminated: + containerID: containerIDValue + exitCode: 1 + finishedAt: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + signal: 2 + startedAt: "2005-01-01T01:01:01Z" + waiting: + message: messageValue + reason: reasonValue + message: messageValue + nominatedNodeName: nominatedNodeNameValue + phase: phaseValue + podIP: podIPValue + podIPs: + - ip: ipValue + qosClass: qosClassValue + reason: reasonValue + startTime: "2007-01-01T01:01:01Z" diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodTemplate.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodTemplate.json new file mode 100644 index 00000000000..4ec4455dd57 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodTemplate.json @@ -0,0 +1,1652 @@ +{ + "kind": "PodTemplate", + "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" + } + ] + }, + "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" + } + } + ] + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodTemplate.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodTemplate.pb new file mode 100644 index 00000000000..bb4ed25ca81 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodTemplate.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodTemplate.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodTemplate.yaml new file mode 100644 index 00000000000..b867c9b6e44 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.PodTemplate.yaml @@ -0,0 +1,1132 @@ +apiVersion: v1 +kind: PodTemplate +metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue +template: + metadata: + annotations: + annotationsKey: annotationsValue + creationTimestamp: "2008-01-01T01:01:01Z" + deletionGracePeriodSeconds: 10 + deletionTimestamp: "2009-01-01T01:01:01Z" + finalizers: + - finalizersValue + generateName: generateNameValue + generation: 7 + labels: + labelsKey: labelsValue + managedFields: + - apiVersion: apiVersionValue + fieldsType: fieldsTypeValue + fieldsV1: {} + manager: managerValue + operation: operationValue + subresource: subresourceValue + time: "2004-01-01T01:01:01Z" + name: nameValue + namespace: namespaceValue + ownerReferences: + - apiVersion: apiVersionValue + blockOwnerDeletion: true + controller: true + kind: kindValue + name: nameValue + uid: uidValue + resourceVersion: resourceVersionValue + selfLink: selfLinkValue + uid: uidValue + spec: + activeDeadlineSeconds: 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 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.RangeAllocation.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.RangeAllocation.json new file mode 100644 index 00000000000..da56554374f --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.RangeAllocation.json @@ -0,0 +1,48 @@ +{ + "kind": "RangeAllocation", + "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" + } + ] + }, + "range": "rangeValue", + "data": "Aw==" +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.RangeAllocation.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.RangeAllocation.pb new file mode 100644 index 00000000000..ebcaef091a9 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.RangeAllocation.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.RangeAllocation.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.RangeAllocation.yaml new file mode 100644 index 00000000000..845df3e0d0d --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.RangeAllocation.yaml @@ -0,0 +1,36 @@ +apiVersion: v1 +data: Aw== +kind: RangeAllocation +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 +range: rangeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ReplicationController.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ReplicationController.json new file mode 100644 index 00000000000..88d8649defd --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ReplicationController.json @@ -0,0 +1,1675 @@ +{ + "kind": "ReplicationController", + "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": { + "replicas": 1, + "minReadySeconds": 4, + "selector": { + "selectorKey": "selectorValue" + }, + "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" + } + } + ] + } + } + }, + "status": { + "replicas": 1, + "fullyLabeledReplicas": 2, + "readyReplicas": 4, + "availableReplicas": 5, + "observedGeneration": 3, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ReplicationController.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ReplicationController.pb new file mode 100644 index 00000000000..2084b4b469a Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ReplicationController.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ReplicationController.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ReplicationController.yaml new file mode 100644 index 00000000000..3c2e609d533 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ReplicationController.yaml @@ -0,0 +1,1149 @@ +apiVersion: v1 +kind: ReplicationController +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: 4 + replicas: 1 + selector: + selectorKey: selectorValue + 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 +status: + availableReplicas: 5 + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + fullyLabeledReplicas: 2 + observedGeneration: 3 + readyReplicas: 4 + replicas: 1 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ResourceQuota.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ResourceQuota.json new file mode 100644 index 00000000000..7dca13cebc3 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ResourceQuota.json @@ -0,0 +1,73 @@ +{ + "kind": "ResourceQuota", + "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": { + "hard": { + "hardKey": "0" + }, + "scopes": [ + "scopesValue" + ], + "scopeSelector": { + "matchExpressions": [ + { + "scopeName": "scopeNameValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + }, + "status": { + "hard": { + "hardKey": "0" + }, + "used": { + "usedKey": "0" + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ResourceQuota.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ResourceQuota.pb new file mode 100644 index 00000000000..200c4e27d65 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ResourceQuota.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ResourceQuota.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ResourceQuota.yaml new file mode 100644 index 00000000000..d7400f08476 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ResourceQuota.yaml @@ -0,0 +1,50 @@ +apiVersion: v1 +kind: ResourceQuota +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: + hard: + hardKey: "0" + scopeSelector: + matchExpressions: + - operator: operatorValue + scopeName: scopeNameValue + values: + - valuesValue + scopes: + - scopesValue +status: + hard: + hardKey: "0" + used: + usedKey: "0" diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Secret.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Secret.json new file mode 100644 index 00000000000..3370980c79b --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Secret.json @@ -0,0 +1,54 @@ +{ + "kind": "Secret", + "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" + } + ] + }, + "immutable": true, + "data": { + "dataKey": "Ag==" + }, + "stringData": { + "stringDataKey": "stringDataValue" + }, + "type": "typeValue" +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Secret.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Secret.pb new file mode 100644 index 00000000000..ca841c63ff5 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Secret.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Secret.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Secret.yaml new file mode 100644 index 00000000000..71e1f3f80b0 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Secret.yaml @@ -0,0 +1,40 @@ +apiVersion: v1 +data: + dataKey: Ag== +immutable: true +kind: Secret +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 +stringData: + stringDataKey: stringDataValue +type: typeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.SerializedReference.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.SerializedReference.json new file mode 100644 index 00000000000..2113db689a0 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.SerializedReference.json @@ -0,0 +1,13 @@ +{ + "kind": "SerializedReference", + "apiVersion": "v1", + "reference": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.SerializedReference.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.SerializedReference.pb new file mode 100644 index 00000000000..a6155965e95 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.SerializedReference.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.SerializedReference.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.SerializedReference.yaml new file mode 100644 index 00000000000..9b2d0c07d4e --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.SerializedReference.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: SerializedReference +reference: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Service.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Service.json new file mode 100644 index 00000000000..3f652246db1 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Service.json @@ -0,0 +1,117 @@ +{ + "kind": "Service", + "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": { + "ports": [ + { + "name": "nameValue", + "protocol": "protocolValue", + "appProtocol": "appProtocolValue", + "port": 3, + "targetPort": "targetPortValue", + "nodePort": 5 + } + ], + "selector": { + "selectorKey": "selectorValue" + }, + "clusterIP": "clusterIPValue", + "clusterIPs": [ + "clusterIPsValue" + ], + "type": "typeValue", + "externalIPs": [ + "externalIPsValue" + ], + "sessionAffinity": "sessionAffinityValue", + "loadBalancerIP": "loadBalancerIPValue", + "loadBalancerSourceRanges": [ + "loadBalancerSourceRangesValue" + ], + "externalName": "externalNameValue", + "externalTrafficPolicy": "externalTrafficPolicyValue", + "healthCheckNodePort": 12, + "publishNotReadyAddresses": true, + "sessionAffinityConfig": { + "clientIP": { + "timeoutSeconds": 1 + } + }, + "ipFamilies": [ + "ipFamiliesValue" + ], + "ipFamilyPolicy": "ipFamilyPolicyValue", + "allocateLoadBalancerNodePorts": true, + "loadBalancerClass": "loadBalancerClassValue", + "internalTrafficPolicy": "internalTrafficPolicyValue" + }, + "status": { + "loadBalancer": { + "ingress": [ + { + "ip": "ipValue", + "hostname": "hostnameValue", + "ports": [ + { + "port": 1, + "protocol": "protocolValue", + "error": "errorValue" + } + ] + } + ] + }, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "observedGeneration": 3, + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Service.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Service.pb new file mode 100644 index 00000000000..0e3faf5b72a Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Service.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Service.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Service.yaml new file mode 100644 index 00000000000..7d56a170cd0 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Service.yaml @@ -0,0 +1,83 @@ +apiVersion: v1 +kind: Service +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: + allocateLoadBalancerNodePorts: true + clusterIP: clusterIPValue + clusterIPs: + - clusterIPsValue + externalIPs: + - externalIPsValue + externalName: externalNameValue + externalTrafficPolicy: externalTrafficPolicyValue + healthCheckNodePort: 12 + internalTrafficPolicy: internalTrafficPolicyValue + ipFamilies: + - ipFamiliesValue + ipFamilyPolicy: ipFamilyPolicyValue + loadBalancerClass: loadBalancerClassValue + loadBalancerIP: loadBalancerIPValue + loadBalancerSourceRanges: + - loadBalancerSourceRangesValue + ports: + - appProtocol: appProtocolValue + name: nameValue + nodePort: 5 + port: 3 + protocol: protocolValue + targetPort: targetPortValue + publishNotReadyAddresses: true + selector: + selectorKey: selectorValue + sessionAffinity: sessionAffinityValue + sessionAffinityConfig: + clientIP: + timeoutSeconds: 1 + type: typeValue +status: + conditions: + - lastTransitionTime: "2004-01-01T01:01:01Z" + message: messageValue + observedGeneration: 3 + reason: reasonValue + status: statusValue + type: typeValue + loadBalancer: + ingress: + - hostname: hostnameValue + ip: ipValue + ports: + - error: errorValue + port: 1 + protocol: protocolValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ServiceAccount.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ServiceAccount.json new file mode 100644 index 00000000000..540385147c0 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ServiceAccount.json @@ -0,0 +1,63 @@ +{ + "kind": "ServiceAccount", + "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" + } + ] + }, + "secrets": [ + { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + } + ], + "imagePullSecrets": [ + { + "name": "nameValue" + } + ], + "automountServiceAccountToken": true +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ServiceAccount.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ServiceAccount.pb new file mode 100644 index 00000000000..9e3d69cf63a Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ServiceAccount.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ServiceAccount.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ServiceAccount.yaml new file mode 100644 index 00000000000..876293f9d68 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ServiceAccount.yaml @@ -0,0 +1,45 @@ +apiVersion: v1 +automountServiceAccountToken: true +imagePullSecrets: +- name: nameValue +kind: ServiceAccount +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 +secrets: +- apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ServiceProxyOptions.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ServiceProxyOptions.json new file mode 100644 index 00000000000..358429d4429 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ServiceProxyOptions.json @@ -0,0 +1,5 @@ +{ + "kind": "ServiceProxyOptions", + "apiVersion": "v1", + "path": "pathValue" +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ServiceProxyOptions.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ServiceProxyOptions.pb new file mode 100644 index 00000000000..26b157fb32d Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ServiceProxyOptions.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ServiceProxyOptions.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ServiceProxyOptions.yaml new file mode 100644 index 00000000000..fadf55212e6 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.ServiceProxyOptions.yaml @@ -0,0 +1,3 @@ +apiVersion: v1 +kind: ServiceProxyOptions +path: pathValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Status.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Status.json new file mode 100644 index 00000000000..075b2b50704 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Status.json @@ -0,0 +1,28 @@ +{ + "kind": "Status", + "apiVersion": "v1", + "metadata": { + "selfLink": "selfLinkValue", + "resourceVersion": "resourceVersionValue", + "continue": "continueValue", + "remainingItemCount": 4 + }, + "status": "statusValue", + "message": "messageValue", + "reason": "reasonValue", + "details": { + "name": "nameValue", + "group": "groupValue", + "kind": "kindValue", + "uid": "uidValue", + "causes": [ + { + "reason": "reasonValue", + "message": "messageValue", + "field": "fieldValue" + } + ], + "retryAfterSeconds": 5 + }, + "code": 6 +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Status.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Status.pb new file mode 100644 index 00000000000..a9e1126abcb Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Status.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Status.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Status.yaml new file mode 100644 index 00000000000..6fa05d9a6d3 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.Status.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +code: 6 +details: + causes: + - field: fieldValue + message: messageValue + reason: reasonValue + group: groupValue + kind: kindValue + name: nameValue + retryAfterSeconds: 5 + uid: uidValue +kind: Status +message: messageValue +metadata: + continue: continueValue + remainingItemCount: 4 + resourceVersion: resourceVersionValue + selfLink: selfLinkValue +reason: reasonValue +status: statusValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.UpdateOptions.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.UpdateOptions.json new file mode 100644 index 00000000000..3cf86270714 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.UpdateOptions.json @@ -0,0 +1,9 @@ +{ + "kind": "UpdateOptions", + "apiVersion": "v1", + "dryRun": [ + "dryRunValue" + ], + "fieldManager": "fieldManagerValue", + "fieldValidation": "fieldValidationValue" +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.UpdateOptions.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.UpdateOptions.pb new file mode 100644 index 00000000000..0534a05eeec Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.UpdateOptions.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.UpdateOptions.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.UpdateOptions.yaml new file mode 100644 index 00000000000..1d2d9943eff --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.UpdateOptions.yaml @@ -0,0 +1,6 @@ +apiVersion: v1 +dryRun: +- dryRunValue +fieldManager: fieldManagerValue +fieldValidation: fieldValidationValue +kind: UpdateOptions diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.WatchEvent.json b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.WatchEvent.json new file mode 100644 index 00000000000..64a45ac66b3 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.WatchEvent.json @@ -0,0 +1,13 @@ +{ + "type": "typeValue", + "object": { + "apiVersion": "example.com/v1", + "kind": "CustomType", + "spec": { + "replicas": 1 + }, + "status": { + "available": 1 + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.WatchEvent.pb b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.WatchEvent.pb new file mode 100644 index 00000000000..6d7c78307c4 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.WatchEvent.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.WatchEvent.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.WatchEvent.yaml new file mode 100644 index 00000000000..6b24f40117a --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/core.v1.WatchEvent.yaml @@ -0,0 +1,8 @@ +object: + apiVersion: example.com/v1 + kind: CustomType + spec: + replicas: 1 + status: + available: 1 +type: typeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/discovery.k8s.io.v1.EndpointSlice.json b/staging/src/k8s.io/api/testdata/v1.26.0/discovery.k8s.io.v1.EndpointSlice.json new file mode 100644 index 00000000000..37944092e18 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/discovery.k8s.io.v1.EndpointSlice.json @@ -0,0 +1,89 @@ +{ + "kind": "EndpointSlice", + "apiVersion": "discovery.k8s.io/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" + } + ] + }, + "addressType": "addressTypeValue", + "endpoints": [ + { + "addresses": [ + "addressesValue" + ], + "conditions": { + "ready": true, + "serving": true, + "terminating": true + }, + "hostname": "hostnameValue", + "targetRef": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + }, + "deprecatedTopology": { + "deprecatedTopologyKey": "deprecatedTopologyValue" + }, + "nodeName": "nodeNameValue", + "zone": "zoneValue", + "hints": { + "forZones": [ + { + "name": "nameValue" + } + ] + } + } + ], + "ports": [ + { + "name": "nameValue", + "protocol": "protocolValue", + "port": 3, + "appProtocol": "appProtocolValue" + } + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/discovery.k8s.io.v1.EndpointSlice.pb b/staging/src/k8s.io/api/testdata/v1.26.0/discovery.k8s.io.v1.EndpointSlice.pb new file mode 100644 index 00000000000..6ba3d21b3b5 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/discovery.k8s.io.v1.EndpointSlice.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/discovery.k8s.io.v1.EndpointSlice.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/discovery.k8s.io.v1.EndpointSlice.yaml new file mode 100644 index 00000000000..4f396707cd4 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/discovery.k8s.io.v1.EndpointSlice.yaml @@ -0,0 +1,63 @@ +addressType: addressTypeValue +apiVersion: discovery.k8s.io/v1 +endpoints: +- addresses: + - addressesValue + conditions: + ready: true + serving: true + terminating: true + deprecatedTopology: + deprecatedTopologyKey: deprecatedTopologyValue + hints: + forZones: + - name: nameValue + hostname: hostnameValue + nodeName: nodeNameValue + targetRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue + zone: zoneValue +kind: EndpointSlice +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 +ports: +- appProtocol: appProtocolValue + name: nameValue + port: 3 + protocol: protocolValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/discovery.k8s.io.v1beta1.EndpointSlice.json b/staging/src/k8s.io/api/testdata/v1.26.0/discovery.k8s.io.v1beta1.EndpointSlice.json new file mode 100644 index 00000000000..50d012652ca --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/discovery.k8s.io.v1beta1.EndpointSlice.json @@ -0,0 +1,88 @@ +{ + "kind": "EndpointSlice", + "apiVersion": "discovery.k8s.io/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" + } + ] + }, + "addressType": "addressTypeValue", + "endpoints": [ + { + "addresses": [ + "addressesValue" + ], + "conditions": { + "ready": true, + "serving": true, + "terminating": true + }, + "hostname": "hostnameValue", + "targetRef": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + }, + "topology": { + "topologyKey": "topologyValue" + }, + "nodeName": "nodeNameValue", + "hints": { + "forZones": [ + { + "name": "nameValue" + } + ] + } + } + ], + "ports": [ + { + "name": "nameValue", + "protocol": "protocolValue", + "port": 3, + "appProtocol": "appProtocolValue" + } + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/discovery.k8s.io.v1beta1.EndpointSlice.pb b/staging/src/k8s.io/api/testdata/v1.26.0/discovery.k8s.io.v1beta1.EndpointSlice.pb new file mode 100644 index 00000000000..0dc5eec8758 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/discovery.k8s.io.v1beta1.EndpointSlice.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/discovery.k8s.io.v1beta1.EndpointSlice.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/discovery.k8s.io.v1beta1.EndpointSlice.yaml new file mode 100644 index 00000000000..c9d67a57fea --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/discovery.k8s.io.v1beta1.EndpointSlice.yaml @@ -0,0 +1,62 @@ +addressType: addressTypeValue +apiVersion: discovery.k8s.io/v1beta1 +endpoints: +- addresses: + - addressesValue + conditions: + ready: true + serving: true + terminating: true + hints: + forZones: + - name: nameValue + hostname: hostnameValue + nodeName: nodeNameValue + targetRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue + topology: + topologyKey: topologyValue +kind: EndpointSlice +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 +ports: +- appProtocol: appProtocolValue + name: nameValue + port: 3 + protocol: protocolValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/events.k8s.io.v1.Event.json b/staging/src/k8s.io/api/testdata/v1.26.0/events.k8s.io.v1.Event.json new file mode 100644 index 00000000000..e7bb7a4c067 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/events.k8s.io.v1.Event.json @@ -0,0 +1,82 @@ +{ + "kind": "Event", + "apiVersion": "events.k8s.io/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" + } + ] + }, + "eventTime": "2002-01-01T01:01:01.000002Z", + "series": { + "count": 1, + "lastObservedTime": "2002-01-01T01:01:01.000002Z" + }, + "reportingController": "reportingControllerValue", + "reportingInstance": "reportingInstanceValue", + "action": "actionValue", + "reason": "reasonValue", + "regarding": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + }, + "related": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + }, + "note": "noteValue", + "type": "typeValue", + "deprecatedSource": { + "component": "componentValue", + "host": "hostValue" + }, + "deprecatedFirstTimestamp": "2013-01-01T01:01:01Z", + "deprecatedLastTimestamp": "2014-01-01T01:01:01Z", + "deprecatedCount": 15 +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/events.k8s.io.v1.Event.pb b/staging/src/k8s.io/api/testdata/v1.26.0/events.k8s.io.v1.Event.pb new file mode 100644 index 00000000000..9ea014ffe53 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/events.k8s.io.v1.Event.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/events.k8s.io.v1.Event.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/events.k8s.io.v1.Event.yaml new file mode 100644 index 00000000000..a3e4cf56176 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/events.k8s.io.v1.Event.yaml @@ -0,0 +1,66 @@ +action: actionValue +apiVersion: events.k8s.io/v1 +deprecatedCount: 15 +deprecatedFirstTimestamp: "2013-01-01T01:01:01Z" +deprecatedLastTimestamp: "2014-01-01T01:01:01Z" +deprecatedSource: + component: componentValue + host: hostValue +eventTime: "2002-01-01T01:01:01.000002Z" +kind: Event +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 +note: noteValue +reason: reasonValue +regarding: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue +related: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue +reportingController: reportingControllerValue +reportingInstance: reportingInstanceValue +series: + count: 1 + lastObservedTime: "2002-01-01T01:01:01.000002Z" +type: typeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/events.k8s.io.v1beta1.Event.json b/staging/src/k8s.io/api/testdata/v1.26.0/events.k8s.io.v1beta1.Event.json new file mode 100644 index 00000000000..a4659adf84a --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/events.k8s.io.v1beta1.Event.json @@ -0,0 +1,82 @@ +{ + "kind": "Event", + "apiVersion": "events.k8s.io/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" + } + ] + }, + "eventTime": "2002-01-01T01:01:01.000002Z", + "series": { + "count": 1, + "lastObservedTime": "2002-01-01T01:01:01.000002Z" + }, + "reportingController": "reportingControllerValue", + "reportingInstance": "reportingInstanceValue", + "action": "actionValue", + "reason": "reasonValue", + "regarding": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + }, + "related": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + }, + "note": "noteValue", + "type": "typeValue", + "deprecatedSource": { + "component": "componentValue", + "host": "hostValue" + }, + "deprecatedFirstTimestamp": "2013-01-01T01:01:01Z", + "deprecatedLastTimestamp": "2014-01-01T01:01:01Z", + "deprecatedCount": 15 +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/events.k8s.io.v1beta1.Event.pb b/staging/src/k8s.io/api/testdata/v1.26.0/events.k8s.io.v1beta1.Event.pb new file mode 100644 index 00000000000..fa18d6ad275 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/events.k8s.io.v1beta1.Event.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/events.k8s.io.v1beta1.Event.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/events.k8s.io.v1beta1.Event.yaml new file mode 100644 index 00000000000..0ca757e9c6c --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/events.k8s.io.v1beta1.Event.yaml @@ -0,0 +1,66 @@ +action: actionValue +apiVersion: events.k8s.io/v1beta1 +deprecatedCount: 15 +deprecatedFirstTimestamp: "2013-01-01T01:01:01Z" +deprecatedLastTimestamp: "2014-01-01T01:01:01Z" +deprecatedSource: + component: componentValue + host: hostValue +eventTime: "2002-01-01T01:01:01.000002Z" +kind: Event +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 +note: noteValue +reason: reasonValue +regarding: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue +related: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue +reportingController: reportingControllerValue +reportingInstance: reportingInstanceValue +series: + count: 1 + lastObservedTime: "2002-01-01T01:01:01.000002Z" +type: typeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.DaemonSet.json b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.DaemonSet.json new file mode 100644 index 00000000000..c44c130c594 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.DaemonSet.json @@ -0,0 +1,1698 @@ +{ + "kind": "DaemonSet", + "apiVersion": "extensions/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": { + "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" + } + } + ] + } + }, + "updateStrategy": { + "type": "typeValue", + "rollingUpdate": { + "maxUnavailable": "maxUnavailableValue", + "maxSurge": "maxSurgeValue" + } + }, + "minReadySeconds": 4, + "templateGeneration": 5, + "revisionHistoryLimit": 6 + }, + "status": { + "currentNumberScheduled": 1, + "numberMisscheduled": 2, + "desiredNumberScheduled": 3, + "numberReady": 4, + "observedGeneration": 5, + "updatedNumberScheduled": 6, + "numberAvailable": 7, + "numberUnavailable": 8, + "collisionCount": 9, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.DaemonSet.pb b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.DaemonSet.pb new file mode 100644 index 00000000000..68da0e878aa Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.DaemonSet.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.DaemonSet.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.DaemonSet.yaml new file mode 100644 index 00000000000..16b473bd901 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.DaemonSet.yaml @@ -0,0 +1,1165 @@ +apiVersion: extensions/v1beta1 +kind: DaemonSet +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: 4 + revisionHistoryLimit: 6 + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + 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 + templateGeneration: 5 + updateStrategy: + rollingUpdate: + maxSurge: maxSurgeValue + maxUnavailable: maxUnavailableValue + type: typeValue +status: + collisionCount: 9 + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + currentNumberScheduled: 1 + desiredNumberScheduled: 3 + numberAvailable: 7 + numberMisscheduled: 2 + numberReady: 4 + numberUnavailable: 8 + observedGeneration: 5 + updatedNumberScheduled: 6 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Deployment.json b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Deployment.json new file mode 100644 index 00000000000..47755b78ab0 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Deployment.json @@ -0,0 +1,1702 @@ +{ + "kind": "Deployment", + "apiVersion": "extensions/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" + } + } + ] + } + }, + "strategy": { + "type": "typeValue", + "rollingUpdate": { + "maxUnavailable": "maxUnavailableValue", + "maxSurge": "maxSurgeValue" + } + }, + "minReadySeconds": 5, + "revisionHistoryLimit": 6, + "paused": true, + "rollbackTo": { + "revision": 1 + }, + "progressDeadlineSeconds": 9 + }, + "status": { + "observedGeneration": 1, + "replicas": 2, + "updatedReplicas": 3, + "readyReplicas": 7, + "availableReplicas": 4, + "unavailableReplicas": 5, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastUpdateTime": "2006-01-01T01:01:01Z", + "lastTransitionTime": "2007-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ], + "collisionCount": 8 + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Deployment.pb b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Deployment.pb new file mode 100644 index 00000000000..a963e7fa181 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Deployment.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Deployment.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Deployment.yaml new file mode 100644 index 00000000000..64ec8b09f89 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Deployment.yaml @@ -0,0 +1,1168 @@ +apiVersion: extensions/v1beta1 +kind: Deployment +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: 5 + paused: true + progressDeadlineSeconds: 9 + replicas: 1 + revisionHistoryLimit: 6 + rollbackTo: + revision: 1 + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + strategy: + rollingUpdate: + maxSurge: maxSurgeValue + maxUnavailable: maxUnavailableValue + type: typeValue + 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 +status: + availableReplicas: 4 + collisionCount: 8 + conditions: + - lastTransitionTime: "2007-01-01T01:01:01Z" + lastUpdateTime: "2006-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + observedGeneration: 1 + readyReplicas: 7 + replicas: 2 + unavailableReplicas: 5 + updatedReplicas: 3 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.DeploymentRollback.json b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.DeploymentRollback.json new file mode 100644 index 00000000000..c31203a8899 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.DeploymentRollback.json @@ -0,0 +1,11 @@ +{ + "kind": "DeploymentRollback", + "apiVersion": "extensions/v1beta1", + "name": "nameValue", + "updatedAnnotations": { + "updatedAnnotationsKey": "updatedAnnotationsValue" + }, + "rollbackTo": { + "revision": 1 + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.DeploymentRollback.pb b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.DeploymentRollback.pb new file mode 100644 index 00000000000..036b003748e Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.DeploymentRollback.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.DeploymentRollback.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.DeploymentRollback.yaml new file mode 100644 index 00000000000..67ed04692a0 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.DeploymentRollback.yaml @@ -0,0 +1,7 @@ +apiVersion: extensions/v1beta1 +kind: DeploymentRollback +name: nameValue +rollbackTo: + revision: 1 +updatedAnnotations: + updatedAnnotationsKey: updatedAnnotationsValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Ingress.json b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Ingress.json new file mode 100644 index 00000000000..aeb03519515 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Ingress.json @@ -0,0 +1,105 @@ +{ + "kind": "Ingress", + "apiVersion": "extensions/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": { + "ingressClassName": "ingressClassNameValue", + "backend": { + "serviceName": "serviceNameValue", + "servicePort": "servicePortValue", + "resource": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + } + }, + "tls": [ + { + "hosts": [ + "hostsValue" + ], + "secretName": "secretNameValue" + } + ], + "rules": [ + { + "host": "hostValue", + "http": { + "paths": [ + { + "path": "pathValue", + "pathType": "pathTypeValue", + "backend": { + "serviceName": "serviceNameValue", + "servicePort": "servicePortValue", + "resource": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + } + } + } + ] + } + } + ] + }, + "status": { + "loadBalancer": { + "ingress": [ + { + "ip": "ipValue", + "hostname": "hostnameValue", + "ports": [ + { + "port": 1, + "protocol": "protocolValue", + "error": "errorValue" + } + ] + } + ] + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Ingress.pb b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Ingress.pb new file mode 100644 index 00000000000..d1203f1177d Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Ingress.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Ingress.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Ingress.yaml new file mode 100644 index 00000000000..13cedd0d4cc --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Ingress.yaml @@ -0,0 +1,69 @@ +apiVersion: extensions/v1beta1 +kind: Ingress +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: + backend: + resource: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + serviceName: serviceNameValue + servicePort: servicePortValue + ingressClassName: ingressClassNameValue + rules: + - host: hostValue + http: + paths: + - backend: + resource: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + serviceName: serviceNameValue + servicePort: servicePortValue + path: pathValue + pathType: pathTypeValue + tls: + - hosts: + - hostsValue + secretName: secretNameValue +status: + loadBalancer: + ingress: + - hostname: hostnameValue + ip: ipValue + ports: + - error: errorValue + port: 1 + protocol: protocolValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.json b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.json new file mode 100644 index 00000000000..075452de197 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.json @@ -0,0 +1,175 @@ +{ + "kind": "NetworkPolicy", + "apiVersion": "extensions/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": { + "podSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "ingress": [ + { + "ports": [ + { + "protocol": "protocolValue", + "port": "portValue", + "endPort": 3 + } + ], + "from": [ + { + "podSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "ipBlock": { + "cidr": "cidrValue", + "except": [ + "exceptValue" + ] + } + } + ] + } + ], + "egress": [ + { + "ports": [ + { + "protocol": "protocolValue", + "port": "portValue", + "endPort": 3 + } + ], + "to": [ + { + "podSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "ipBlock": { + "cidr": "cidrValue", + "except": [ + "exceptValue" + ] + } + } + ] + } + ], + "policyTypes": [ + "policyTypesValue" + ] + }, + "status": { + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "observedGeneration": 3, + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.pb b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.pb new file mode 100644 index 00000000000..f874509684d Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.yaml new file mode 100644 index 00000000000..77b4c16eb5c --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.NetworkPolicy.yaml @@ -0,0 +1,105 @@ +apiVersion: extensions/v1beta1 +kind: NetworkPolicy +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: + egress: + - ports: + - endPort: 3 + port: portValue + protocol: protocolValue + to: + - ipBlock: + cidr: cidrValue + except: + - exceptValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + podSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + ingress: + - from: + - ipBlock: + cidr: cidrValue + except: + - exceptValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + podSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + ports: + - endPort: 3 + port: portValue + protocol: protocolValue + podSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + policyTypes: + - policyTypesValue +status: + conditions: + - lastTransitionTime: "2004-01-01T01:01:01Z" + message: messageValue + observedGeneration: 3 + reason: reasonValue + status: statusValue + type: typeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.PodSecurityPolicy.json b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.PodSecurityPolicy.json new file mode 100644 index 00000000000..6f8bdc303fa --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.PodSecurityPolicy.json @@ -0,0 +1,149 @@ +{ + "kind": "PodSecurityPolicy", + "apiVersion": "extensions/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": { + "privileged": true, + "defaultAddCapabilities": [ + "defaultAddCapabilitiesValue" + ], + "requiredDropCapabilities": [ + "requiredDropCapabilitiesValue" + ], + "allowedCapabilities": [ + "allowedCapabilitiesValue" + ], + "volumes": [ + "volumesValue" + ], + "hostNetwork": true, + "hostPorts": [ + { + "min": 1, + "max": 2 + } + ], + "hostPID": true, + "hostIPC": true, + "seLinux": { + "rule": "ruleValue", + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + } + }, + "runAsUser": { + "rule": "ruleValue", + "ranges": [ + { + "min": 1, + "max": 2 + } + ] + }, + "runAsGroup": { + "rule": "ruleValue", + "ranges": [ + { + "min": 1, + "max": 2 + } + ] + }, + "supplementalGroups": { + "rule": "ruleValue", + "ranges": [ + { + "min": 1, + "max": 2 + } + ] + }, + "fsGroup": { + "rule": "ruleValue", + "ranges": [ + { + "min": 1, + "max": 2 + } + ] + }, + "readOnlyRootFilesystem": true, + "defaultAllowPrivilegeEscalation": true, + "allowPrivilegeEscalation": true, + "allowedHostPaths": [ + { + "pathPrefix": "pathPrefixValue", + "readOnly": true + } + ], + "allowedFlexVolumes": [ + { + "driver": "driverValue" + } + ], + "allowedCSIDrivers": [ + { + "name": "nameValue" + } + ], + "allowedUnsafeSysctls": [ + "allowedUnsafeSysctlsValue" + ], + "forbiddenSysctls": [ + "forbiddenSysctlsValue" + ], + "allowedProcMountTypes": [ + "allowedProcMountTypesValue" + ], + "runtimeClass": { + "allowedRuntimeClassNames": [ + "allowedRuntimeClassNamesValue" + ], + "defaultRuntimeClassName": "defaultRuntimeClassNameValue" + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.PodSecurityPolicy.pb b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.PodSecurityPolicy.pb new file mode 100644 index 00000000000..cd3b95b53f6 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.PodSecurityPolicy.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.PodSecurityPolicy.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.PodSecurityPolicy.yaml new file mode 100644 index 00000000000..eae96ae6293 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.PodSecurityPolicy.yaml @@ -0,0 +1,97 @@ +apiVersion: extensions/v1beta1 +kind: PodSecurityPolicy +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: + allowPrivilegeEscalation: true + allowedCSIDrivers: + - name: nameValue + allowedCapabilities: + - allowedCapabilitiesValue + allowedFlexVolumes: + - driver: driverValue + allowedHostPaths: + - pathPrefix: pathPrefixValue + readOnly: true + allowedProcMountTypes: + - allowedProcMountTypesValue + allowedUnsafeSysctls: + - allowedUnsafeSysctlsValue + defaultAddCapabilities: + - defaultAddCapabilitiesValue + defaultAllowPrivilegeEscalation: true + forbiddenSysctls: + - forbiddenSysctlsValue + fsGroup: + ranges: + - max: 2 + min: 1 + rule: ruleValue + hostIPC: true + hostNetwork: true + hostPID: true + hostPorts: + - max: 2 + min: 1 + privileged: true + readOnlyRootFilesystem: true + requiredDropCapabilities: + - requiredDropCapabilitiesValue + runAsGroup: + ranges: + - max: 2 + min: 1 + rule: ruleValue + runAsUser: + ranges: + - max: 2 + min: 1 + rule: ruleValue + runtimeClass: + allowedRuntimeClassNames: + - allowedRuntimeClassNamesValue + defaultRuntimeClassName: defaultRuntimeClassNameValue + seLinux: + rule: ruleValue + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + supplementalGroups: + ranges: + - max: 2 + min: 1 + rule: ruleValue + volumes: + - volumesValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.ReplicaSet.json b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.ReplicaSet.json new file mode 100644 index 00000000000..120b8797d01 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.ReplicaSet.json @@ -0,0 +1,1686 @@ +{ + "kind": "ReplicaSet", + "apiVersion": "extensions/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, + "minReadySeconds": 4, + "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" + } + } + ] + } + } + }, + "status": { + "replicas": 1, + "fullyLabeledReplicas": 2, + "readyReplicas": 4, + "availableReplicas": 5, + "observedGeneration": 3, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.ReplicaSet.pb b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.ReplicaSet.pb new file mode 100644 index 00000000000..792be95deae Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.ReplicaSet.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.ReplicaSet.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.ReplicaSet.yaml new file mode 100644 index 00000000000..af52541be1c --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.ReplicaSet.yaml @@ -0,0 +1,1155 @@ +apiVersion: extensions/v1beta1 +kind: ReplicaSet +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: 4 + replicas: 1 + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + 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 +status: + availableReplicas: 5 + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue + fullyLabeledReplicas: 2 + observedGeneration: 3 + readyReplicas: 4 + replicas: 1 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Scale.json b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Scale.json new file mode 100644 index 00000000000..74603e1ccb7 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Scale.json @@ -0,0 +1,56 @@ +{ + "kind": "Scale", + "apiVersion": "extensions/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 + }, + "status": { + "replicas": 1, + "selector": { + "selectorKey": "selectorValue" + }, + "targetSelector": "targetSelectorValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Scale.pb b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Scale.pb new file mode 100644 index 00000000000..394e86eef4d Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Scale.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Scale.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Scale.yaml new file mode 100644 index 00000000000..4d8465601b2 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/extensions.v1beta1.Scale.yaml @@ -0,0 +1,41 @@ +apiVersion: extensions/v1beta1 +kind: Scale +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: + replicas: 1 +status: + replicas: 1 + selector: + selectorKey: selectorValue + targetSelector: targetSelectorValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1alpha1.FlowSchema.json b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1alpha1.FlowSchema.json new file mode 100644 index 00000000000..c854a7e3cd6 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1alpha1.FlowSchema.json @@ -0,0 +1,112 @@ +{ + "kind": "FlowSchema", + "apiVersion": "flowcontrol.apiserver.k8s.io/v1alpha1", + "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": { + "priorityLevelConfiguration": { + "name": "nameValue" + }, + "matchingPrecedence": 2, + "distinguisherMethod": { + "type": "typeValue" + }, + "rules": [ + { + "subjects": [ + { + "kind": "kindValue", + "user": { + "name": "nameValue" + }, + "group": { + "name": "nameValue" + }, + "serviceAccount": { + "namespace": "namespaceValue", + "name": "nameValue" + } + } + ], + "resourceRules": [ + { + "verbs": [ + "verbsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "resources": [ + "resourcesValue" + ], + "clusterScope": true, + "namespaces": [ + "namespacesValue" + ] + } + ], + "nonResourceRules": [ + { + "verbs": [ + "verbsValue" + ], + "nonResourceURLs": [ + "nonResourceURLsValue" + ] + } + ] + } + ] + }, + "status": { + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1alpha1.FlowSchema.pb b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1alpha1.FlowSchema.pb new file mode 100644 index 00000000000..30f4e8e99be Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1alpha1.FlowSchema.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1alpha1.FlowSchema.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1alpha1.FlowSchema.yaml new file mode 100644 index 00000000000..d08f309715c --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1alpha1.FlowSchema.yaml @@ -0,0 +1,72 @@ +apiVersion: flowcontrol.apiserver.k8s.io/v1alpha1 +kind: FlowSchema +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: + distinguisherMethod: + type: typeValue + matchingPrecedence: 2 + priorityLevelConfiguration: + name: nameValue + rules: + - nonResourceRules: + - nonResourceURLs: + - nonResourceURLsValue + verbs: + - verbsValue + resourceRules: + - apiGroups: + - apiGroupsValue + clusterScope: true + namespaces: + - namespacesValue + resources: + - resourcesValue + verbs: + - verbsValue + subjects: + - group: + name: nameValue + kind: kindValue + serviceAccount: + name: nameValue + namespace: namespaceValue + user: + name: nameValue +status: + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1alpha1.PriorityLevelConfiguration.json b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1alpha1.PriorityLevelConfiguration.json new file mode 100644 index 00000000000..577af4bdd5a --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1alpha1.PriorityLevelConfiguration.json @@ -0,0 +1,73 @@ +{ + "kind": "PriorityLevelConfiguration", + "apiVersion": "flowcontrol.apiserver.k8s.io/v1alpha1", + "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": { + "type": "typeValue", + "limited": { + "assuredConcurrencyShares": 1, + "limitResponse": { + "type": "typeValue", + "queuing": { + "queues": 1, + "handSize": 2, + "queueLengthLimit": 3 + } + }, + "lendablePercent": 3, + "borrowingLimitPercent": 4 + } + }, + "status": { + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1alpha1.PriorityLevelConfiguration.pb b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1alpha1.PriorityLevelConfiguration.pb new file mode 100644 index 00000000000..3bb680e90dc Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1alpha1.PriorityLevelConfiguration.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1alpha1.PriorityLevelConfiguration.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1alpha1.PriorityLevelConfiguration.yaml new file mode 100644 index 00000000000..806439421ce --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1alpha1.PriorityLevelConfiguration.yaml @@ -0,0 +1,53 @@ +apiVersion: flowcontrol.apiserver.k8s.io/v1alpha1 +kind: PriorityLevelConfiguration +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: + limited: + assuredConcurrencyShares: 1 + borrowingLimitPercent: 4 + lendablePercent: 3 + limitResponse: + queuing: + handSize: 2 + queueLengthLimit: 3 + queues: 1 + type: typeValue + type: typeValue +status: + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta1.FlowSchema.json b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta1.FlowSchema.json new file mode 100644 index 00000000000..80cd2664594 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta1.FlowSchema.json @@ -0,0 +1,112 @@ +{ + "kind": "FlowSchema", + "apiVersion": "flowcontrol.apiserver.k8s.io/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": { + "priorityLevelConfiguration": { + "name": "nameValue" + }, + "matchingPrecedence": 2, + "distinguisherMethod": { + "type": "typeValue" + }, + "rules": [ + { + "subjects": [ + { + "kind": "kindValue", + "user": { + "name": "nameValue" + }, + "group": { + "name": "nameValue" + }, + "serviceAccount": { + "namespace": "namespaceValue", + "name": "nameValue" + } + } + ], + "resourceRules": [ + { + "verbs": [ + "verbsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "resources": [ + "resourcesValue" + ], + "clusterScope": true, + "namespaces": [ + "namespacesValue" + ] + } + ], + "nonResourceRules": [ + { + "verbs": [ + "verbsValue" + ], + "nonResourceURLs": [ + "nonResourceURLsValue" + ] + } + ] + } + ] + }, + "status": { + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta1.FlowSchema.pb b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta1.FlowSchema.pb new file mode 100644 index 00000000000..961f572d6b4 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta1.FlowSchema.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta1.FlowSchema.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta1.FlowSchema.yaml new file mode 100644 index 00000000000..c8459479732 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta1.FlowSchema.yaml @@ -0,0 +1,72 @@ +apiVersion: flowcontrol.apiserver.k8s.io/v1beta1 +kind: FlowSchema +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: + distinguisherMethod: + type: typeValue + matchingPrecedence: 2 + priorityLevelConfiguration: + name: nameValue + rules: + - nonResourceRules: + - nonResourceURLs: + - nonResourceURLsValue + verbs: + - verbsValue + resourceRules: + - apiGroups: + - apiGroupsValue + clusterScope: true + namespaces: + - namespacesValue + resources: + - resourcesValue + verbs: + - verbsValue + subjects: + - group: + name: nameValue + kind: kindValue + serviceAccount: + name: nameValue + namespace: namespaceValue + user: + name: nameValue +status: + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta1.PriorityLevelConfiguration.json b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta1.PriorityLevelConfiguration.json new file mode 100644 index 00000000000..3033dc3a166 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta1.PriorityLevelConfiguration.json @@ -0,0 +1,73 @@ +{ + "kind": "PriorityLevelConfiguration", + "apiVersion": "flowcontrol.apiserver.k8s.io/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": { + "type": "typeValue", + "limited": { + "assuredConcurrencyShares": 1, + "limitResponse": { + "type": "typeValue", + "queuing": { + "queues": 1, + "handSize": 2, + "queueLengthLimit": 3 + } + }, + "lendablePercent": 3, + "borrowingLimitPercent": 4 + } + }, + "status": { + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta1.PriorityLevelConfiguration.pb b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta1.PriorityLevelConfiguration.pb new file mode 100644 index 00000000000..f73e157e71a Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta1.PriorityLevelConfiguration.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta1.PriorityLevelConfiguration.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta1.PriorityLevelConfiguration.yaml new file mode 100644 index 00000000000..fd22da2f2c3 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta1.PriorityLevelConfiguration.yaml @@ -0,0 +1,53 @@ +apiVersion: flowcontrol.apiserver.k8s.io/v1beta1 +kind: PriorityLevelConfiguration +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: + limited: + assuredConcurrencyShares: 1 + borrowingLimitPercent: 4 + lendablePercent: 3 + limitResponse: + queuing: + handSize: 2 + queueLengthLimit: 3 + queues: 1 + type: typeValue + type: typeValue +status: + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.json b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.json new file mode 100644 index 00000000000..9270c206105 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.json @@ -0,0 +1,112 @@ +{ + "kind": "FlowSchema", + "apiVersion": "flowcontrol.apiserver.k8s.io/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": { + "priorityLevelConfiguration": { + "name": "nameValue" + }, + "matchingPrecedence": 2, + "distinguisherMethod": { + "type": "typeValue" + }, + "rules": [ + { + "subjects": [ + { + "kind": "kindValue", + "user": { + "name": "nameValue" + }, + "group": { + "name": "nameValue" + }, + "serviceAccount": { + "namespace": "namespaceValue", + "name": "nameValue" + } + } + ], + "resourceRules": [ + { + "verbs": [ + "verbsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "resources": [ + "resourcesValue" + ], + "clusterScope": true, + "namespaces": [ + "namespacesValue" + ] + } + ], + "nonResourceRules": [ + { + "verbs": [ + "verbsValue" + ], + "nonResourceURLs": [ + "nonResourceURLsValue" + ] + } + ] + } + ] + }, + "status": { + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.pb b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.pb new file mode 100644 index 00000000000..e62f711aebf Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.yaml new file mode 100644 index 00000000000..de79db8f017 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta2.FlowSchema.yaml @@ -0,0 +1,72 @@ +apiVersion: flowcontrol.apiserver.k8s.io/v1beta2 +kind: FlowSchema +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: + distinguisherMethod: + type: typeValue + matchingPrecedence: 2 + priorityLevelConfiguration: + name: nameValue + rules: + - nonResourceRules: + - nonResourceURLs: + - nonResourceURLsValue + verbs: + - verbsValue + resourceRules: + - apiGroups: + - apiGroupsValue + clusterScope: true + namespaces: + - namespacesValue + resources: + - resourcesValue + verbs: + - verbsValue + subjects: + - group: + name: nameValue + kind: kindValue + serviceAccount: + name: nameValue + namespace: namespaceValue + user: + name: nameValue +status: + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta2.PriorityLevelConfiguration.json b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta2.PriorityLevelConfiguration.json new file mode 100644 index 00000000000..b85e9f87790 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta2.PriorityLevelConfiguration.json @@ -0,0 +1,73 @@ +{ + "kind": "PriorityLevelConfiguration", + "apiVersion": "flowcontrol.apiserver.k8s.io/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": { + "type": "typeValue", + "limited": { + "assuredConcurrencyShares": 1, + "limitResponse": { + "type": "typeValue", + "queuing": { + "queues": 1, + "handSize": 2, + "queueLengthLimit": 3 + } + }, + "lendablePercent": 3, + "borrowingLimitPercent": 4 + } + }, + "status": { + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta2.PriorityLevelConfiguration.pb b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta2.PriorityLevelConfiguration.pb new file mode 100644 index 00000000000..c096167ba84 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta2.PriorityLevelConfiguration.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta2.PriorityLevelConfiguration.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta2.PriorityLevelConfiguration.yaml new file mode 100644 index 00000000000..a3cc5f1b9aa --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta2.PriorityLevelConfiguration.yaml @@ -0,0 +1,53 @@ +apiVersion: flowcontrol.apiserver.k8s.io/v1beta2 +kind: PriorityLevelConfiguration +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: + limited: + assuredConcurrencyShares: 1 + borrowingLimitPercent: 4 + lendablePercent: 3 + limitResponse: + queuing: + handSize: 2 + queueLengthLimit: 3 + queues: 1 + type: typeValue + type: typeValue +status: + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta3.FlowSchema.json b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta3.FlowSchema.json new file mode 100644 index 00000000000..6ccdcb3c722 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta3.FlowSchema.json @@ -0,0 +1,112 @@ +{ + "kind": "FlowSchema", + "apiVersion": "flowcontrol.apiserver.k8s.io/v1beta3", + "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": { + "priorityLevelConfiguration": { + "name": "nameValue" + }, + "matchingPrecedence": 2, + "distinguisherMethod": { + "type": "typeValue" + }, + "rules": [ + { + "subjects": [ + { + "kind": "kindValue", + "user": { + "name": "nameValue" + }, + "group": { + "name": "nameValue" + }, + "serviceAccount": { + "namespace": "namespaceValue", + "name": "nameValue" + } + } + ], + "resourceRules": [ + { + "verbs": [ + "verbsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "resources": [ + "resourcesValue" + ], + "clusterScope": true, + "namespaces": [ + "namespacesValue" + ] + } + ], + "nonResourceRules": [ + { + "verbs": [ + "verbsValue" + ], + "nonResourceURLs": [ + "nonResourceURLsValue" + ] + } + ] + } + ] + }, + "status": { + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta3.FlowSchema.pb b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta3.FlowSchema.pb new file mode 100644 index 00000000000..29d93b140f2 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta3.FlowSchema.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta3.FlowSchema.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta3.FlowSchema.yaml new file mode 100644 index 00000000000..7e5c4329c0f --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta3.FlowSchema.yaml @@ -0,0 +1,72 @@ +apiVersion: flowcontrol.apiserver.k8s.io/v1beta3 +kind: FlowSchema +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: + distinguisherMethod: + type: typeValue + matchingPrecedence: 2 + priorityLevelConfiguration: + name: nameValue + rules: + - nonResourceRules: + - nonResourceURLs: + - nonResourceURLsValue + verbs: + - verbsValue + resourceRules: + - apiGroups: + - apiGroupsValue + clusterScope: true + namespaces: + - namespacesValue + resources: + - resourcesValue + verbs: + - verbsValue + subjects: + - group: + name: nameValue + kind: kindValue + serviceAccount: + name: nameValue + namespace: namespaceValue + user: + name: nameValue +status: + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta3.PriorityLevelConfiguration.json b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta3.PriorityLevelConfiguration.json new file mode 100644 index 00000000000..ce6360c5271 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta3.PriorityLevelConfiguration.json @@ -0,0 +1,73 @@ +{ + "kind": "PriorityLevelConfiguration", + "apiVersion": "flowcontrol.apiserver.k8s.io/v1beta3", + "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": { + "type": "typeValue", + "limited": { + "nominalConcurrencyShares": 1, + "limitResponse": { + "type": "typeValue", + "queuing": { + "queues": 1, + "handSize": 2, + "queueLengthLimit": 3 + } + }, + "lendablePercent": 3, + "borrowingLimitPercent": 4 + } + }, + "status": { + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "lastTransitionTime": "2003-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta3.PriorityLevelConfiguration.pb b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta3.PriorityLevelConfiguration.pb new file mode 100644 index 00000000000..29173d79174 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta3.PriorityLevelConfiguration.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta3.PriorityLevelConfiguration.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta3.PriorityLevelConfiguration.yaml new file mode 100644 index 00000000000..68fff8fde61 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/flowcontrol.apiserver.k8s.io.v1beta3.PriorityLevelConfiguration.yaml @@ -0,0 +1,53 @@ +apiVersion: flowcontrol.apiserver.k8s.io/v1beta3 +kind: PriorityLevelConfiguration +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: + limited: + borrowingLimitPercent: 4 + lendablePercent: 3 + limitResponse: + queuing: + handSize: 2 + queueLengthLimit: 3 + queues: 1 + type: typeValue + nominalConcurrencyShares: 1 + type: typeValue +status: + conditions: + - lastTransitionTime: "2003-01-01T01:01:01Z" + message: messageValue + reason: reasonValue + status: statusValue + type: typeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/imagepolicy.k8s.io.v1alpha1.ImageReview.json b/staging/src/k8s.io/api/testdata/v1.26.0/imagepolicy.k8s.io.v1alpha1.ImageReview.json new file mode 100644 index 00000000000..c05070e5375 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/imagepolicy.k8s.io.v1alpha1.ImageReview.json @@ -0,0 +1,64 @@ +{ + "kind": "ImageReview", + "apiVersion": "imagepolicy.k8s.io/v1alpha1", + "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": { + "containers": [ + { + "image": "imageValue" + } + ], + "annotations": { + "annotationsKey": "annotationsValue" + }, + "namespace": "namespaceValue" + }, + "status": { + "allowed": true, + "reason": "reasonValue", + "auditAnnotations": { + "auditAnnotationsKey": "auditAnnotationsValue" + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/imagepolicy.k8s.io.v1alpha1.ImageReview.pb b/staging/src/k8s.io/api/testdata/v1.26.0/imagepolicy.k8s.io.v1alpha1.ImageReview.pb new file mode 100644 index 00000000000..b71c3c9ceaa Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/imagepolicy.k8s.io.v1alpha1.ImageReview.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/imagepolicy.k8s.io.v1alpha1.ImageReview.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/imagepolicy.k8s.io.v1alpha1.ImageReview.yaml new file mode 100644 index 00000000000..416218ff214 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/imagepolicy.k8s.io.v1alpha1.ImageReview.yaml @@ -0,0 +1,45 @@ +apiVersion: imagepolicy.k8s.io/v1alpha1 +kind: ImageReview +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: + annotations: + annotationsKey: annotationsValue + containers: + - image: imageValue + namespace: namespaceValue +status: + allowed: true + auditAnnotations: + auditAnnotationsKey: auditAnnotationsValue + reason: reasonValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/internal.apiserver.k8s.io.v1alpha1.StorageVersion.json b/staging/src/k8s.io/api/testdata/v1.26.0/internal.apiserver.k8s.io.v1alpha1.StorageVersion.json new file mode 100644 index 00000000000..ec0520e883e --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/internal.apiserver.k8s.io.v1alpha1.StorageVersion.json @@ -0,0 +1,69 @@ +{ + "kind": "StorageVersion", + "apiVersion": "internal.apiserver.k8s.io/v1alpha1", + "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": {}, + "status": { + "storageVersions": [ + { + "apiServerID": "apiServerIDValue", + "encodingVersion": "encodingVersionValue", + "decodableVersions": [ + "decodableVersionsValue" + ] + } + ], + "commonEncodingVersion": "commonEncodingVersionValue", + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "observedGeneration": 3, + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/internal.apiserver.k8s.io.v1alpha1.StorageVersion.pb b/staging/src/k8s.io/api/testdata/v1.26.0/internal.apiserver.k8s.io.v1alpha1.StorageVersion.pb new file mode 100644 index 00000000000..550eae1f64b Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/internal.apiserver.k8s.io.v1alpha1.StorageVersion.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/internal.apiserver.k8s.io.v1alpha1.StorageVersion.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/internal.apiserver.k8s.io.v1alpha1.StorageVersion.yaml new file mode 100644 index 00000000000..648e18c3de0 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/internal.apiserver.k8s.io.v1alpha1.StorageVersion.yaml @@ -0,0 +1,49 @@ +apiVersion: internal.apiserver.k8s.io/v1alpha1 +kind: StorageVersion +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: {} +status: + commonEncodingVersion: commonEncodingVersionValue + conditions: + - lastTransitionTime: "2004-01-01T01:01:01Z" + message: messageValue + observedGeneration: 3 + reason: reasonValue + status: statusValue + type: typeValue + storageVersions: + - apiServerID: apiServerIDValue + decodableVersions: + - decodableVersionsValue + encodingVersion: encodingVersionValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.Ingress.json b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.Ingress.json new file mode 100644 index 00000000000..7f84f0c6c9a --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.Ingress.json @@ -0,0 +1,115 @@ +{ + "kind": "Ingress", + "apiVersion": "networking.k8s.io/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": { + "ingressClassName": "ingressClassNameValue", + "defaultBackend": { + "service": { + "name": "nameValue", + "port": { + "name": "nameValue", + "number": 2 + } + }, + "resource": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + } + }, + "tls": [ + { + "hosts": [ + "hostsValue" + ], + "secretName": "secretNameValue" + } + ], + "rules": [ + { + "host": "hostValue", + "http": { + "paths": [ + { + "path": "pathValue", + "pathType": "pathTypeValue", + "backend": { + "service": { + "name": "nameValue", + "port": { + "name": "nameValue", + "number": 2 + } + }, + "resource": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + } + } + } + ] + } + } + ] + }, + "status": { + "loadBalancer": { + "ingress": [ + { + "ip": "ipValue", + "hostname": "hostnameValue", + "ports": [ + { + "port": 1, + "protocol": "protocolValue", + "error": "errorValue" + } + ] + } + ] + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.Ingress.pb b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.Ingress.pb new file mode 100644 index 00000000000..d7b9a162970 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.Ingress.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.Ingress.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.Ingress.yaml new file mode 100644 index 00000000000..b01d1b3445d --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.Ingress.yaml @@ -0,0 +1,75 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +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: + defaultBackend: + resource: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + service: + name: nameValue + port: + name: nameValue + number: 2 + ingressClassName: ingressClassNameValue + rules: + - host: hostValue + http: + paths: + - backend: + resource: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + service: + name: nameValue + port: + name: nameValue + number: 2 + path: pathValue + pathType: pathTypeValue + tls: + - hosts: + - hostsValue + secretName: secretNameValue +status: + loadBalancer: + ingress: + - hostname: hostnameValue + ip: ipValue + ports: + - error: errorValue + port: 1 + protocol: protocolValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.IngressClass.json b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.IngressClass.json new file mode 100644 index 00000000000..99065b04ece --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.IngressClass.json @@ -0,0 +1,56 @@ +{ + "kind": "IngressClass", + "apiVersion": "networking.k8s.io/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": { + "controller": "controllerValue", + "parameters": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue", + "scope": "scopeValue", + "namespace": "namespaceValue" + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.IngressClass.pb b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.IngressClass.pb new file mode 100644 index 00000000000..1f883673983 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.IngressClass.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.IngressClass.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.IngressClass.yaml new file mode 100644 index 00000000000..229e24aaf39 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.IngressClass.yaml @@ -0,0 +1,42 @@ +apiVersion: networking.k8s.io/v1 +kind: IngressClass +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: + controller: controllerValue + parameters: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + namespace: namespaceValue + scope: scopeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.NetworkPolicy.json b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.NetworkPolicy.json new file mode 100644 index 00000000000..eb8a19b784e --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.NetworkPolicy.json @@ -0,0 +1,175 @@ +{ + "kind": "NetworkPolicy", + "apiVersion": "networking.k8s.io/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": { + "podSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "ingress": [ + { + "ports": [ + { + "protocol": "protocolValue", + "port": "portValue", + "endPort": 3 + } + ], + "from": [ + { + "podSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "ipBlock": { + "cidr": "cidrValue", + "except": [ + "exceptValue" + ] + } + } + ] + } + ], + "egress": [ + { + "ports": [ + { + "protocol": "protocolValue", + "port": "portValue", + "endPort": 3 + } + ], + "to": [ + { + "podSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "namespaceSelector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "ipBlock": { + "cidr": "cidrValue", + "except": [ + "exceptValue" + ] + } + } + ] + } + ], + "policyTypes": [ + "policyTypesValue" + ] + }, + "status": { + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "observedGeneration": 3, + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.NetworkPolicy.pb b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.NetworkPolicy.pb new file mode 100644 index 00000000000..e0818f98e10 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.NetworkPolicy.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.NetworkPolicy.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.NetworkPolicy.yaml new file mode 100644 index 00000000000..1ae11b15422 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1.NetworkPolicy.yaml @@ -0,0 +1,105 @@ +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +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: + egress: + - ports: + - endPort: 3 + port: portValue + protocol: protocolValue + to: + - ipBlock: + cidr: cidrValue + except: + - exceptValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + podSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + ingress: + - from: + - ipBlock: + cidr: cidrValue + except: + - exceptValue + namespaceSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + podSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + ports: + - endPort: 3 + port: portValue + protocol: protocolValue + podSelector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + policyTypes: + - policyTypesValue +status: + conditions: + - lastTransitionTime: "2004-01-01T01:01:01Z" + message: messageValue + observedGeneration: 3 + reason: reasonValue + status: statusValue + type: typeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1alpha1.ClusterCIDR.json b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1alpha1.ClusterCIDR.json new file mode 100644 index 00000000000..59fa006b52c --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1alpha1.ClusterCIDR.json @@ -0,0 +1,75 @@ +{ + "kind": "ClusterCIDR", + "apiVersion": "networking.k8s.io/v1alpha1", + "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": { + "nodeSelector": { + "nodeSelectorTerms": [ + { + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ], + "matchFields": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + ] + }, + "perNodeHostBits": 2, + "ipv4": "ipv4Value", + "ipv6": "ipv6Value" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1alpha1.ClusterCIDR.pb b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1alpha1.ClusterCIDR.pb new file mode 100644 index 00000000000..a4e9113897a Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1alpha1.ClusterCIDR.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1alpha1.ClusterCIDR.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1alpha1.ClusterCIDR.yaml new file mode 100644 index 00000000000..fe7a1341fe1 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1alpha1.ClusterCIDR.yaml @@ -0,0 +1,50 @@ +apiVersion: networking.k8s.io/v1alpha1 +kind: ClusterCIDR +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: + ipv4: ipv4Value + ipv6: ipv6Value + nodeSelector: + nodeSelectorTerms: + - matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchFields: + - key: keyValue + operator: operatorValue + values: + - valuesValue + perNodeHostBits: 2 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1beta1.Ingress.json b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1beta1.Ingress.json new file mode 100644 index 00000000000..7a95be4a58b --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1beta1.Ingress.json @@ -0,0 +1,105 @@ +{ + "kind": "Ingress", + "apiVersion": "networking.k8s.io/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": { + "ingressClassName": "ingressClassNameValue", + "backend": { + "serviceName": "serviceNameValue", + "servicePort": "servicePortValue", + "resource": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + } + }, + "tls": [ + { + "hosts": [ + "hostsValue" + ], + "secretName": "secretNameValue" + } + ], + "rules": [ + { + "host": "hostValue", + "http": { + "paths": [ + { + "path": "pathValue", + "pathType": "pathTypeValue", + "backend": { + "serviceName": "serviceNameValue", + "servicePort": "servicePortValue", + "resource": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + } + } + } + ] + } + } + ] + }, + "status": { + "loadBalancer": { + "ingress": [ + { + "ip": "ipValue", + "hostname": "hostnameValue", + "ports": [ + { + "port": 1, + "protocol": "protocolValue", + "error": "errorValue" + } + ] + } + ] + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1beta1.Ingress.pb b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1beta1.Ingress.pb new file mode 100644 index 00000000000..1c582df7cf5 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1beta1.Ingress.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1beta1.Ingress.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1beta1.Ingress.yaml new file mode 100644 index 00000000000..8a8237b25ad --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1beta1.Ingress.yaml @@ -0,0 +1,69 @@ +apiVersion: networking.k8s.io/v1beta1 +kind: Ingress +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: + backend: + resource: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + serviceName: serviceNameValue + servicePort: servicePortValue + ingressClassName: ingressClassNameValue + rules: + - host: hostValue + http: + paths: + - backend: + resource: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + serviceName: serviceNameValue + servicePort: servicePortValue + path: pathValue + pathType: pathTypeValue + tls: + - hosts: + - hostsValue + secretName: secretNameValue +status: + loadBalancer: + ingress: + - hostname: hostnameValue + ip: ipValue + ports: + - error: errorValue + port: 1 + protocol: protocolValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1beta1.IngressClass.json b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1beta1.IngressClass.json new file mode 100644 index 00000000000..8fd98672b1f --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1beta1.IngressClass.json @@ -0,0 +1,56 @@ +{ + "kind": "IngressClass", + "apiVersion": "networking.k8s.io/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": { + "controller": "controllerValue", + "parameters": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue", + "scope": "scopeValue", + "namespace": "namespaceValue" + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1beta1.IngressClass.pb b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1beta1.IngressClass.pb new file mode 100644 index 00000000000..72f1d490426 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1beta1.IngressClass.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1beta1.IngressClass.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1beta1.IngressClass.yaml new file mode 100644 index 00000000000..a8fd20df752 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/networking.k8s.io.v1beta1.IngressClass.yaml @@ -0,0 +1,42 @@ +apiVersion: networking.k8s.io/v1beta1 +kind: IngressClass +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: + controller: controllerValue + parameters: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + namespace: namespaceValue + scope: scopeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1.RuntimeClass.json b/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1.RuntimeClass.json new file mode 100644 index 00000000000..0612e706352 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1.RuntimeClass.json @@ -0,0 +1,66 @@ +{ + "kind": "RuntimeClass", + "apiVersion": "node.k8s.io/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" + } + ] + }, + "handler": "handlerValue", + "overhead": { + "podFixed": { + "podFixedKey": "0" + } + }, + "scheduling": { + "nodeSelector": { + "nodeSelectorKey": "nodeSelectorValue" + }, + "tolerations": [ + { + "key": "keyValue", + "operator": "operatorValue", + "value": "valueValue", + "effect": "effectValue", + "tolerationSeconds": 5 + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1.RuntimeClass.pb b/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1.RuntimeClass.pb new file mode 100644 index 00000000000..9a0dbadb1b2 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1.RuntimeClass.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1.RuntimeClass.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1.RuntimeClass.yaml new file mode 100644 index 00000000000..0e00081d282 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1.RuntimeClass.yaml @@ -0,0 +1,47 @@ +apiVersion: node.k8s.io/v1 +handler: handlerValue +kind: RuntimeClass +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 +overhead: + podFixed: + podFixedKey: "0" +scheduling: + nodeSelector: + nodeSelectorKey: nodeSelectorValue + tolerations: + - effect: effectValue + key: keyValue + operator: operatorValue + tolerationSeconds: 5 + value: valueValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1alpha1.RuntimeClass.json b/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1alpha1.RuntimeClass.json new file mode 100644 index 00000000000..c83df3574ea --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1alpha1.RuntimeClass.json @@ -0,0 +1,68 @@ +{ + "kind": "RuntimeClass", + "apiVersion": "node.k8s.io/v1alpha1", + "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": { + "runtimeHandler": "runtimeHandlerValue", + "overhead": { + "podFixed": { + "podFixedKey": "0" + } + }, + "scheduling": { + "nodeSelector": { + "nodeSelectorKey": "nodeSelectorValue" + }, + "tolerations": [ + { + "key": "keyValue", + "operator": "operatorValue", + "value": "valueValue", + "effect": "effectValue", + "tolerationSeconds": 5 + } + ] + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1alpha1.RuntimeClass.pb b/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1alpha1.RuntimeClass.pb new file mode 100644 index 00000000000..2f13b3cf6fc Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1alpha1.RuntimeClass.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1alpha1.RuntimeClass.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1alpha1.RuntimeClass.yaml new file mode 100644 index 00000000000..5d760398980 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1alpha1.RuntimeClass.yaml @@ -0,0 +1,48 @@ +apiVersion: node.k8s.io/v1alpha1 +kind: RuntimeClass +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: + overhead: + podFixed: + podFixedKey: "0" + runtimeHandler: runtimeHandlerValue + scheduling: + nodeSelector: + nodeSelectorKey: nodeSelectorValue + tolerations: + - effect: effectValue + key: keyValue + operator: operatorValue + tolerationSeconds: 5 + value: valueValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1beta1.RuntimeClass.json b/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1beta1.RuntimeClass.json new file mode 100644 index 00000000000..720d8c5eb98 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1beta1.RuntimeClass.json @@ -0,0 +1,66 @@ +{ + "kind": "RuntimeClass", + "apiVersion": "node.k8s.io/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" + } + ] + }, + "handler": "handlerValue", + "overhead": { + "podFixed": { + "podFixedKey": "0" + } + }, + "scheduling": { + "nodeSelector": { + "nodeSelectorKey": "nodeSelectorValue" + }, + "tolerations": [ + { + "key": "keyValue", + "operator": "operatorValue", + "value": "valueValue", + "effect": "effectValue", + "tolerationSeconds": 5 + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1beta1.RuntimeClass.pb b/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1beta1.RuntimeClass.pb new file mode 100644 index 00000000000..1233b744b6c Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1beta1.RuntimeClass.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1beta1.RuntimeClass.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1beta1.RuntimeClass.yaml new file mode 100644 index 00000000000..1d7f3b481d0 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/node.k8s.io.v1beta1.RuntimeClass.yaml @@ -0,0 +1,47 @@ +apiVersion: node.k8s.io/v1beta1 +handler: handlerValue +kind: RuntimeClass +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 +overhead: + podFixed: + podFixedKey: "0" +scheduling: + nodeSelector: + nodeSelectorKey: nodeSelectorValue + tolerations: + - effect: effectValue + key: keyValue + operator: operatorValue + tolerationSeconds: 5 + value: valueValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1.Eviction.json b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1.Eviction.json new file mode 100644 index 00000000000..e62982589d4 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1.Eviction.json @@ -0,0 +1,58 @@ +{ + "kind": "Eviction", + "apiVersion": "policy/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" + } + ] + }, + "deleteOptions": { + "gracePeriodSeconds": 1, + "preconditions": { + "uid": "uidValue", + "resourceVersion": "resourceVersionValue" + }, + "orphanDependents": true, + "propagationPolicy": "propagationPolicyValue", + "dryRun": [ + "dryRunValue" + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1.Eviction.pb b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1.Eviction.pb new file mode 100644 index 00000000000..bc507093e49 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1.Eviction.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1.Eviction.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1.Eviction.yaml new file mode 100644 index 00000000000..ac359dbed12 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1.Eviction.yaml @@ -0,0 +1,43 @@ +apiVersion: policy/v1 +deleteOptions: + dryRun: + - dryRunValue + gracePeriodSeconds: 1 + orphanDependents: true + preconditions: + resourceVersion: resourceVersionValue + uid: uidValue + propagationPolicy: propagationPolicyValue +kind: Eviction +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 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1.PodDisruptionBudget.json b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1.PodDisruptionBudget.json new file mode 100644 index 00000000000..0fb410fd8e2 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1.PodDisruptionBudget.json @@ -0,0 +1,85 @@ +{ + "kind": "PodDisruptionBudget", + "apiVersion": "policy/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": { + "minAvailable": "minAvailableValue", + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "maxUnavailable": "maxUnavailableValue", + "unhealthyPodEvictionPolicy": "unhealthyPodEvictionPolicyValue" + }, + "status": { + "observedGeneration": 1, + "disruptedPods": { + "disruptedPodsKey": null + }, + "disruptionsAllowed": 3, + "currentHealthy": 4, + "desiredHealthy": 5, + "expectedPods": 6, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "observedGeneration": 3, + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1.PodDisruptionBudget.pb b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1.PodDisruptionBudget.pb new file mode 100644 index 00000000000..b54b69b3570 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1.PodDisruptionBudget.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1.PodDisruptionBudget.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1.PodDisruptionBudget.yaml new file mode 100644 index 00000000000..e51af35c182 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1.PodDisruptionBudget.yaml @@ -0,0 +1,61 @@ +apiVersion: policy/v1 +kind: PodDisruptionBudget +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: + maxUnavailable: maxUnavailableValue + minAvailable: minAvailableValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + unhealthyPodEvictionPolicy: unhealthyPodEvictionPolicyValue +status: + conditions: + - lastTransitionTime: "2004-01-01T01:01:01Z" + message: messageValue + observedGeneration: 3 + reason: reasonValue + status: statusValue + type: typeValue + currentHealthy: 4 + desiredHealthy: 5 + disruptedPods: + disruptedPodsKey: null + disruptionsAllowed: 3 + expectedPods: 6 + observedGeneration: 1 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.Eviction.json b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.Eviction.json new file mode 100644 index 00000000000..6abf803d6b2 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.Eviction.json @@ -0,0 +1,58 @@ +{ + "kind": "Eviction", + "apiVersion": "policy/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" + } + ] + }, + "deleteOptions": { + "gracePeriodSeconds": 1, + "preconditions": { + "uid": "uidValue", + "resourceVersion": "resourceVersionValue" + }, + "orphanDependents": true, + "propagationPolicy": "propagationPolicyValue", + "dryRun": [ + "dryRunValue" + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.Eviction.pb b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.Eviction.pb new file mode 100644 index 00000000000..df6e8fc884e Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.Eviction.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.Eviction.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.Eviction.yaml new file mode 100644 index 00000000000..2464b402dc8 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.Eviction.yaml @@ -0,0 +1,43 @@ +apiVersion: policy/v1beta1 +deleteOptions: + dryRun: + - dryRunValue + gracePeriodSeconds: 1 + orphanDependents: true + preconditions: + resourceVersion: resourceVersionValue + uid: uidValue + propagationPolicy: propagationPolicyValue +kind: Eviction +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 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.PodDisruptionBudget.json b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.PodDisruptionBudget.json new file mode 100644 index 00000000000..d7ef20e576c --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.PodDisruptionBudget.json @@ -0,0 +1,85 @@ +{ + "kind": "PodDisruptionBudget", + "apiVersion": "policy/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": { + "minAvailable": "minAvailableValue", + "selector": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "maxUnavailable": "maxUnavailableValue", + "unhealthyPodEvictionPolicy": "unhealthyPodEvictionPolicyValue" + }, + "status": { + "observedGeneration": 1, + "disruptedPods": { + "disruptedPodsKey": null + }, + "disruptionsAllowed": 3, + "currentHealthy": 4, + "desiredHealthy": 5, + "expectedPods": 6, + "conditions": [ + { + "type": "typeValue", + "status": "statusValue", + "observedGeneration": 3, + "lastTransitionTime": "2004-01-01T01:01:01Z", + "reason": "reasonValue", + "message": "messageValue" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.PodDisruptionBudget.pb b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.PodDisruptionBudget.pb new file mode 100644 index 00000000000..dadce0b4f02 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.PodDisruptionBudget.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.PodDisruptionBudget.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.PodDisruptionBudget.yaml new file mode 100644 index 00000000000..5cc8d455876 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.PodDisruptionBudget.yaml @@ -0,0 +1,61 @@ +apiVersion: policy/v1beta1 +kind: PodDisruptionBudget +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: + maxUnavailable: maxUnavailableValue + minAvailable: minAvailableValue + selector: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue + unhealthyPodEvictionPolicy: unhealthyPodEvictionPolicyValue +status: + conditions: + - lastTransitionTime: "2004-01-01T01:01:01Z" + message: messageValue + observedGeneration: 3 + reason: reasonValue + status: statusValue + type: typeValue + currentHealthy: 4 + desiredHealthy: 5 + disruptedPods: + disruptedPodsKey: null + disruptionsAllowed: 3 + expectedPods: 6 + observedGeneration: 1 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.PodSecurityPolicy.json b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.PodSecurityPolicy.json new file mode 100644 index 00000000000..823e192ff80 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.PodSecurityPolicy.json @@ -0,0 +1,149 @@ +{ + "kind": "PodSecurityPolicy", + "apiVersion": "policy/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": { + "privileged": true, + "defaultAddCapabilities": [ + "defaultAddCapabilitiesValue" + ], + "requiredDropCapabilities": [ + "requiredDropCapabilitiesValue" + ], + "allowedCapabilities": [ + "allowedCapabilitiesValue" + ], + "volumes": [ + "volumesValue" + ], + "hostNetwork": true, + "hostPorts": [ + { + "min": 1, + "max": 2 + } + ], + "hostPID": true, + "hostIPC": true, + "seLinux": { + "rule": "ruleValue", + "seLinuxOptions": { + "user": "userValue", + "role": "roleValue", + "type": "typeValue", + "level": "levelValue" + } + }, + "runAsUser": { + "rule": "ruleValue", + "ranges": [ + { + "min": 1, + "max": 2 + } + ] + }, + "runAsGroup": { + "rule": "ruleValue", + "ranges": [ + { + "min": 1, + "max": 2 + } + ] + }, + "supplementalGroups": { + "rule": "ruleValue", + "ranges": [ + { + "min": 1, + "max": 2 + } + ] + }, + "fsGroup": { + "rule": "ruleValue", + "ranges": [ + { + "min": 1, + "max": 2 + } + ] + }, + "readOnlyRootFilesystem": true, + "defaultAllowPrivilegeEscalation": true, + "allowPrivilegeEscalation": true, + "allowedHostPaths": [ + { + "pathPrefix": "pathPrefixValue", + "readOnly": true + } + ], + "allowedFlexVolumes": [ + { + "driver": "driverValue" + } + ], + "allowedCSIDrivers": [ + { + "name": "nameValue" + } + ], + "allowedUnsafeSysctls": [ + "allowedUnsafeSysctlsValue" + ], + "forbiddenSysctls": [ + "forbiddenSysctlsValue" + ], + "allowedProcMountTypes": [ + "allowedProcMountTypesValue" + ], + "runtimeClass": { + "allowedRuntimeClassNames": [ + "allowedRuntimeClassNamesValue" + ], + "defaultRuntimeClassName": "defaultRuntimeClassNameValue" + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.PodSecurityPolicy.pb b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.PodSecurityPolicy.pb new file mode 100644 index 00000000000..ab2f28f151a Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.PodSecurityPolicy.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.PodSecurityPolicy.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.PodSecurityPolicy.yaml new file mode 100644 index 00000000000..1c0985f9037 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/policy.v1beta1.PodSecurityPolicy.yaml @@ -0,0 +1,97 @@ +apiVersion: policy/v1beta1 +kind: PodSecurityPolicy +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: + allowPrivilegeEscalation: true + allowedCSIDrivers: + - name: nameValue + allowedCapabilities: + - allowedCapabilitiesValue + allowedFlexVolumes: + - driver: driverValue + allowedHostPaths: + - pathPrefix: pathPrefixValue + readOnly: true + allowedProcMountTypes: + - allowedProcMountTypesValue + allowedUnsafeSysctls: + - allowedUnsafeSysctlsValue + defaultAddCapabilities: + - defaultAddCapabilitiesValue + defaultAllowPrivilegeEscalation: true + forbiddenSysctls: + - forbiddenSysctlsValue + fsGroup: + ranges: + - max: 2 + min: 1 + rule: ruleValue + hostIPC: true + hostNetwork: true + hostPID: true + hostPorts: + - max: 2 + min: 1 + privileged: true + readOnlyRootFilesystem: true + requiredDropCapabilities: + - requiredDropCapabilitiesValue + runAsGroup: + ranges: + - max: 2 + min: 1 + rule: ruleValue + runAsUser: + ranges: + - max: 2 + min: 1 + rule: ruleValue + runtimeClass: + allowedRuntimeClassNames: + - allowedRuntimeClassNamesValue + defaultRuntimeClassName: defaultRuntimeClassNameValue + seLinux: + rule: ruleValue + seLinuxOptions: + level: levelValue + role: roleValue + type: typeValue + user: userValue + supplementalGroups: + ranges: + - max: 2 + min: 1 + rule: ruleValue + volumes: + - volumesValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.ClusterRole.json b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.ClusterRole.json new file mode 100644 index 00000000000..c18c88e41b0 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.ClusterRole.json @@ -0,0 +1,83 @@ +{ + "kind": "ClusterRole", + "apiVersion": "rbac.authorization.k8s.io/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" + } + ] + }, + "rules": [ + { + "verbs": [ + "verbsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "resources": [ + "resourcesValue" + ], + "resourceNames": [ + "resourceNamesValue" + ], + "nonResourceURLs": [ + "nonResourceURLsValue" + ] + } + ], + "aggregationRule": { + "clusterRoleSelectors": [ + { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.ClusterRole.pb b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.ClusterRole.pb new file mode 100644 index 00000000000..7ab4355c852 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.ClusterRole.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.ClusterRole.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.ClusterRole.yaml new file mode 100644 index 00000000000..6467543328e --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.ClusterRole.yaml @@ -0,0 +1,54 @@ +aggregationRule: + clusterRoleSelectors: + - matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +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 +rules: +- apiGroups: + - apiGroupsValue + nonResourceURLs: + - nonResourceURLsValue + resourceNames: + - resourceNamesValue + resources: + - resourcesValue + verbs: + - verbsValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.ClusterRoleBinding.json b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.ClusterRoleBinding.json new file mode 100644 index 00000000000..c7c30cc731d --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.ClusterRoleBinding.json @@ -0,0 +1,59 @@ +{ + "kind": "ClusterRoleBinding", + "apiVersion": "rbac.authorization.k8s.io/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" + } + ] + }, + "subjects": [ + { + "kind": "kindValue", + "apiGroup": "apiGroupValue", + "name": "nameValue", + "namespace": "namespaceValue" + } + ], + "roleRef": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.ClusterRoleBinding.pb b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.ClusterRoleBinding.pb new file mode 100644 index 00000000000..fef76c0d062 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.ClusterRoleBinding.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.ClusterRoleBinding.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.ClusterRoleBinding.yaml new file mode 100644 index 00000000000..137f25d66da --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.ClusterRoleBinding.yaml @@ -0,0 +1,43 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +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 +roleRef: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue +subjects: +- apiGroup: apiGroupValue + kind: kindValue + name: nameValue + namespace: namespaceValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.Role.json b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.Role.json new file mode 100644 index 00000000000..937ba8d4414 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.Role.json @@ -0,0 +1,65 @@ +{ + "kind": "Role", + "apiVersion": "rbac.authorization.k8s.io/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" + } + ] + }, + "rules": [ + { + "verbs": [ + "verbsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "resources": [ + "resourcesValue" + ], + "resourceNames": [ + "resourceNamesValue" + ], + "nonResourceURLs": [ + "nonResourceURLsValue" + ] + } + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.Role.pb b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.Role.pb new file mode 100644 index 00000000000..5aaea0025d6 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.Role.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.Role.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.Role.yaml new file mode 100644 index 00000000000..38b545cd2c7 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.Role.yaml @@ -0,0 +1,45 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +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 +rules: +- apiGroups: + - apiGroupsValue + nonResourceURLs: + - nonResourceURLsValue + resourceNames: + - resourceNamesValue + resources: + - resourcesValue + verbs: + - verbsValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.RoleBinding.json b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.RoleBinding.json new file mode 100644 index 00000000000..44f5d01efe6 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.RoleBinding.json @@ -0,0 +1,59 @@ +{ + "kind": "RoleBinding", + "apiVersion": "rbac.authorization.k8s.io/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" + } + ] + }, + "subjects": [ + { + "kind": "kindValue", + "apiGroup": "apiGroupValue", + "name": "nameValue", + "namespace": "namespaceValue" + } + ], + "roleRef": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.RoleBinding.pb b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.RoleBinding.pb new file mode 100644 index 00000000000..078c69e8ee1 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.RoleBinding.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.RoleBinding.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.RoleBinding.yaml new file mode 100644 index 00000000000..c672dfb3353 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1.RoleBinding.yaml @@ -0,0 +1,43 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +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 +roleRef: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue +subjects: +- apiGroup: apiGroupValue + kind: kindValue + name: nameValue + namespace: namespaceValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.ClusterRole.json b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.ClusterRole.json new file mode 100644 index 00000000000..5f67d09d754 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.ClusterRole.json @@ -0,0 +1,83 @@ +{ + "kind": "ClusterRole", + "apiVersion": "rbac.authorization.k8s.io/v1alpha1", + "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" + } + ] + }, + "rules": [ + { + "verbs": [ + "verbsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "resources": [ + "resourcesValue" + ], + "resourceNames": [ + "resourceNamesValue" + ], + "nonResourceURLs": [ + "nonResourceURLsValue" + ] + } + ], + "aggregationRule": { + "clusterRoleSelectors": [ + { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.ClusterRole.pb b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.ClusterRole.pb new file mode 100644 index 00000000000..521869d3d81 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.ClusterRole.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.ClusterRole.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.ClusterRole.yaml new file mode 100644 index 00000000000..7f0858f61a6 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.ClusterRole.yaml @@ -0,0 +1,54 @@ +aggregationRule: + clusterRoleSelectors: + - matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue +apiVersion: rbac.authorization.k8s.io/v1alpha1 +kind: ClusterRole +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 +rules: +- apiGroups: + - apiGroupsValue + nonResourceURLs: + - nonResourceURLsValue + resourceNames: + - resourceNamesValue + resources: + - resourcesValue + verbs: + - verbsValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.ClusterRoleBinding.json b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.ClusterRoleBinding.json new file mode 100644 index 00000000000..36534c7ad0f --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.ClusterRoleBinding.json @@ -0,0 +1,59 @@ +{ + "kind": "ClusterRoleBinding", + "apiVersion": "rbac.authorization.k8s.io/v1alpha1", + "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" + } + ] + }, + "subjects": [ + { + "kind": "kindValue", + "apiVersion": "apiVersionValue", + "name": "nameValue", + "namespace": "namespaceValue" + } + ], + "roleRef": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.ClusterRoleBinding.pb b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.ClusterRoleBinding.pb new file mode 100644 index 00000000000..b70e6566de6 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.ClusterRoleBinding.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.ClusterRoleBinding.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.ClusterRoleBinding.yaml new file mode 100644 index 00000000000..6cdb234124d --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.ClusterRoleBinding.yaml @@ -0,0 +1,43 @@ +apiVersion: rbac.authorization.k8s.io/v1alpha1 +kind: ClusterRoleBinding +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 +roleRef: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue +subjects: +- apiVersion: apiVersionValue + kind: kindValue + name: nameValue + namespace: namespaceValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.Role.json b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.Role.json new file mode 100644 index 00000000000..ea4a6c314a1 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.Role.json @@ -0,0 +1,65 @@ +{ + "kind": "Role", + "apiVersion": "rbac.authorization.k8s.io/v1alpha1", + "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" + } + ] + }, + "rules": [ + { + "verbs": [ + "verbsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "resources": [ + "resourcesValue" + ], + "resourceNames": [ + "resourceNamesValue" + ], + "nonResourceURLs": [ + "nonResourceURLsValue" + ] + } + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.Role.pb b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.Role.pb new file mode 100644 index 00000000000..31edb183861 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.Role.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.Role.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.Role.yaml new file mode 100644 index 00000000000..e8a6e87b744 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.Role.yaml @@ -0,0 +1,45 @@ +apiVersion: rbac.authorization.k8s.io/v1alpha1 +kind: Role +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 +rules: +- apiGroups: + - apiGroupsValue + nonResourceURLs: + - nonResourceURLsValue + resourceNames: + - resourceNamesValue + resources: + - resourcesValue + verbs: + - verbsValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.RoleBinding.json b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.RoleBinding.json new file mode 100644 index 00000000000..92096ea97e0 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.RoleBinding.json @@ -0,0 +1,59 @@ +{ + "kind": "RoleBinding", + "apiVersion": "rbac.authorization.k8s.io/v1alpha1", + "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" + } + ] + }, + "subjects": [ + { + "kind": "kindValue", + "apiVersion": "apiVersionValue", + "name": "nameValue", + "namespace": "namespaceValue" + } + ], + "roleRef": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.RoleBinding.pb b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.RoleBinding.pb new file mode 100644 index 00000000000..1f631d33398 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.RoleBinding.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.RoleBinding.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.RoleBinding.yaml new file mode 100644 index 00000000000..2436f0f78ca --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1alpha1.RoleBinding.yaml @@ -0,0 +1,43 @@ +apiVersion: rbac.authorization.k8s.io/v1alpha1 +kind: RoleBinding +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 +roleRef: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue +subjects: +- apiVersion: apiVersionValue + kind: kindValue + name: nameValue + namespace: namespaceValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.ClusterRole.json b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.ClusterRole.json new file mode 100644 index 00000000000..73ac5c28ba1 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.ClusterRole.json @@ -0,0 +1,83 @@ +{ + "kind": "ClusterRole", + "apiVersion": "rbac.authorization.k8s.io/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" + } + ] + }, + "rules": [ + { + "verbs": [ + "verbsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "resources": [ + "resourcesValue" + ], + "resourceNames": [ + "resourceNamesValue" + ], + "nonResourceURLs": [ + "nonResourceURLsValue" + ] + } + ], + "aggregationRule": { + "clusterRoleSelectors": [ + { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.ClusterRole.pb b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.ClusterRole.pb new file mode 100644 index 00000000000..40d272dc5ef Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.ClusterRole.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.ClusterRole.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.ClusterRole.yaml new file mode 100644 index 00000000000..4e15eec5323 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.ClusterRole.yaml @@ -0,0 +1,54 @@ +aggregationRule: + clusterRoleSelectors: + - matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue +apiVersion: rbac.authorization.k8s.io/v1beta1 +kind: ClusterRole +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 +rules: +- apiGroups: + - apiGroupsValue + nonResourceURLs: + - nonResourceURLsValue + resourceNames: + - resourceNamesValue + resources: + - resourcesValue + verbs: + - verbsValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.ClusterRoleBinding.json b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.ClusterRoleBinding.json new file mode 100644 index 00000000000..8e0aa4ae0c9 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.ClusterRoleBinding.json @@ -0,0 +1,59 @@ +{ + "kind": "ClusterRoleBinding", + "apiVersion": "rbac.authorization.k8s.io/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" + } + ] + }, + "subjects": [ + { + "kind": "kindValue", + "apiGroup": "apiGroupValue", + "name": "nameValue", + "namespace": "namespaceValue" + } + ], + "roleRef": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.ClusterRoleBinding.pb b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.ClusterRoleBinding.pb new file mode 100644 index 00000000000..f846a1b87a2 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.ClusterRoleBinding.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.ClusterRoleBinding.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.ClusterRoleBinding.yaml new file mode 100644 index 00000000000..5e788349972 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.ClusterRoleBinding.yaml @@ -0,0 +1,43 @@ +apiVersion: rbac.authorization.k8s.io/v1beta1 +kind: ClusterRoleBinding +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 +roleRef: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue +subjects: +- apiGroup: apiGroupValue + kind: kindValue + name: nameValue + namespace: namespaceValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.Role.json b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.Role.json new file mode 100644 index 00000000000..6d7db5102bb --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.Role.json @@ -0,0 +1,65 @@ +{ + "kind": "Role", + "apiVersion": "rbac.authorization.k8s.io/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" + } + ] + }, + "rules": [ + { + "verbs": [ + "verbsValue" + ], + "apiGroups": [ + "apiGroupsValue" + ], + "resources": [ + "resourcesValue" + ], + "resourceNames": [ + "resourceNamesValue" + ], + "nonResourceURLs": [ + "nonResourceURLsValue" + ] + } + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.Role.pb b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.Role.pb new file mode 100644 index 00000000000..e50a66e58fb Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.Role.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.Role.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.Role.yaml new file mode 100644 index 00000000000..c5ff6d5ecaa --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.Role.yaml @@ -0,0 +1,45 @@ +apiVersion: rbac.authorization.k8s.io/v1beta1 +kind: Role +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 +rules: +- apiGroups: + - apiGroupsValue + nonResourceURLs: + - nonResourceURLsValue + resourceNames: + - resourceNamesValue + resources: + - resourcesValue + verbs: + - verbsValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.RoleBinding.json b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.RoleBinding.json new file mode 100644 index 00000000000..42b6dc21a5a --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.RoleBinding.json @@ -0,0 +1,59 @@ +{ + "kind": "RoleBinding", + "apiVersion": "rbac.authorization.k8s.io/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" + } + ] + }, + "subjects": [ + { + "kind": "kindValue", + "apiGroup": "apiGroupValue", + "name": "nameValue", + "namespace": "namespaceValue" + } + ], + "roleRef": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.RoleBinding.pb b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.RoleBinding.pb new file mode 100644 index 00000000000..120f92e51c9 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.RoleBinding.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.RoleBinding.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.RoleBinding.yaml new file mode 100644 index 00000000000..1e8620b5fca --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/rbac.authorization.k8s.io.v1beta1.RoleBinding.yaml @@ -0,0 +1,43 @@ +apiVersion: rbac.authorization.k8s.io/v1beta1 +kind: RoleBinding +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 +roleRef: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue +subjects: +- apiGroup: apiGroupValue + kind: kindValue + name: nameValue + namespace: namespaceValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.PodScheduling.json b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.PodScheduling.json new file mode 100644 index 00000000000..5590555162c --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.PodScheduling.json @@ -0,0 +1,62 @@ +{ + "kind": "PodScheduling", + "apiVersion": "resource.k8s.io/v1alpha1", + "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": { + "selectedNode": "selectedNodeValue", + "potentialNodes": [ + "potentialNodesValue" + ] + }, + "status": { + "resourceClaims": [ + { + "name": "nameValue", + "unsuitableNodes": [ + "unsuitableNodesValue" + ] + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.PodScheduling.pb b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.PodScheduling.pb new file mode 100644 index 00000000000..4dc9623d52c Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.PodScheduling.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.PodScheduling.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.PodScheduling.yaml new file mode 100644 index 00000000000..6f5627deec8 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.PodScheduling.yaml @@ -0,0 +1,43 @@ +apiVersion: resource.k8s.io/v1alpha1 +kind: PodScheduling +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: + potentialNodes: + - potentialNodesValue + selectedNode: selectedNodeValue +status: + resourceClaims: + - name: nameValue + unsuitableNodes: + - unsuitableNodesValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClaim.json b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClaim.json new file mode 100644 index 00000000000..f1501251c69 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClaim.json @@ -0,0 +1,95 @@ +{ + "kind": "ResourceClaim", + "apiVersion": "resource.k8s.io/v1alpha1", + "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": { + "resourceClassName": "resourceClassNameValue", + "parametersRef": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + }, + "allocationMode": "allocationModeValue" + }, + "status": { + "driverName": "driverNameValue", + "allocation": { + "resourceHandle": "resourceHandleValue", + "availableOnNodes": { + "nodeSelectorTerms": [ + { + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ], + "matchFields": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + ] + }, + "shareable": true + }, + "reservedFor": [ + { + "apiGroup": "apiGroupValue", + "resource": "resourceValue", + "name": "nameValue", + "uid": "uidValue" + } + ], + "deallocationRequested": true + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClaim.pb b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClaim.pb new file mode 100644 index 00000000000..c50b8f0126d Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClaim.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClaim.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClaim.yaml new file mode 100644 index 00000000000..d7b52c4e160 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClaim.yaml @@ -0,0 +1,64 @@ +apiVersion: resource.k8s.io/v1alpha1 +kind: ResourceClaim +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: + allocationMode: allocationModeValue + parametersRef: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + resourceClassName: resourceClassNameValue +status: + allocation: + availableOnNodes: + nodeSelectorTerms: + - matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchFields: + - key: keyValue + operator: operatorValue + values: + - valuesValue + resourceHandle: resourceHandleValue + shareable: true + deallocationRequested: true + driverName: driverNameValue + reservedFor: + - apiGroup: apiGroupValue + name: nameValue + resource: resourceValue + uid: uidValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClaimTemplate.json b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClaimTemplate.json new file mode 100644 index 00000000000..12358250d4f --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClaimTemplate.json @@ -0,0 +1,99 @@ +{ + "kind": "ResourceClaimTemplate", + "apiVersion": "resource.k8s.io/v1alpha1", + "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": { + "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": { + "resourceClassName": "resourceClassNameValue", + "parametersRef": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue" + }, + "allocationMode": "allocationModeValue" + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClaimTemplate.pb b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClaimTemplate.pb new file mode 100644 index 00000000000..7177e570fcd Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClaimTemplate.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClaimTemplate.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClaimTemplate.yaml new file mode 100644 index 00000000000..6204ec79ccd --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClaimTemplate.yaml @@ -0,0 +1,74 @@ +apiVersion: resource.k8s.io/v1alpha1 +kind: ResourceClaimTemplate +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: + 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: + allocationMode: allocationModeValue + parametersRef: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + resourceClassName: resourceClassNameValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClass.json b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClass.json new file mode 100644 index 00000000000..a40268178a9 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClass.json @@ -0,0 +1,77 @@ +{ + "kind": "ResourceClass", + "apiVersion": "resource.k8s.io/v1alpha1", + "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" + } + ] + }, + "driverName": "driverNameValue", + "parametersRef": { + "apiGroup": "apiGroupValue", + "kind": "kindValue", + "name": "nameValue", + "namespace": "namespaceValue" + }, + "suitableNodes": { + "nodeSelectorTerms": [ + { + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ], + "matchFields": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClass.pb b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClass.pb new file mode 100644 index 00000000000..fef3714f662 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClass.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClass.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClass.yaml new file mode 100644 index 00000000000..251d6a2bfd1 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.ResourceClass.yaml @@ -0,0 +1,52 @@ +apiVersion: resource.k8s.io/v1alpha1 +driverName: driverNameValue +kind: ResourceClass +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 +parametersRef: + apiGroup: apiGroupValue + kind: kindValue + name: nameValue + namespace: namespaceValue +suitableNodes: + nodeSelectorTerms: + - matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchFields: + - key: keyValue + operator: operatorValue + values: + - valuesValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.Status.json b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.Status.json new file mode 100644 index 00000000000..13e0bdbcbef --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.Status.json @@ -0,0 +1,28 @@ +{ + "kind": "Status", + "apiVersion": "resource.k8s.io/v1alpha1", + "metadata": { + "selfLink": "selfLinkValue", + "resourceVersion": "resourceVersionValue", + "continue": "continueValue", + "remainingItemCount": 4 + }, + "status": "statusValue", + "message": "messageValue", + "reason": "reasonValue", + "details": { + "name": "nameValue", + "group": "groupValue", + "kind": "kindValue", + "uid": "uidValue", + "causes": [ + { + "reason": "reasonValue", + "message": "messageValue", + "field": "fieldValue" + } + ], + "retryAfterSeconds": 5 + }, + "code": 6 +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.Status.pb b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.Status.pb new file mode 100644 index 00000000000..ac73b5ccdfb Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.Status.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.Status.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.Status.yaml new file mode 100644 index 00000000000..f78f424e9c9 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/resource.k8s.io.v1alpha1.Status.yaml @@ -0,0 +1,21 @@ +apiVersion: resource.k8s.io/v1alpha1 +code: 6 +details: + causes: + - field: fieldValue + message: messageValue + reason: reasonValue + group: groupValue + kind: kindValue + name: nameValue + retryAfterSeconds: 5 + uid: uidValue +kind: Status +message: messageValue +metadata: + continue: continueValue + remainingItemCount: 4 + resourceVersion: resourceVersionValue + selfLink: selfLinkValue +reason: reasonValue +status: statusValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1.PriorityClass.json b/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1.PriorityClass.json new file mode 100644 index 00000000000..fb75f776b82 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1.PriorityClass.json @@ -0,0 +1,50 @@ +{ + "kind": "PriorityClass", + "apiVersion": "scheduling.k8s.io/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" + } + ] + }, + "value": 2, + "globalDefault": true, + "description": "descriptionValue", + "preemptionPolicy": "preemptionPolicyValue" +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1.PriorityClass.pb b/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1.PriorityClass.pb new file mode 100644 index 00000000000..499f3653208 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1.PriorityClass.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1.PriorityClass.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1.PriorityClass.yaml new file mode 100644 index 00000000000..275260df3a0 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1.PriorityClass.yaml @@ -0,0 +1,38 @@ +apiVersion: scheduling.k8s.io/v1 +description: descriptionValue +globalDefault: true +kind: PriorityClass +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 +preemptionPolicy: preemptionPolicyValue +value: 2 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1alpha1.PriorityClass.json b/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1alpha1.PriorityClass.json new file mode 100644 index 00000000000..dc20dd4f918 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1alpha1.PriorityClass.json @@ -0,0 +1,50 @@ +{ + "kind": "PriorityClass", + "apiVersion": "scheduling.k8s.io/v1alpha1", + "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" + } + ] + }, + "value": 2, + "globalDefault": true, + "description": "descriptionValue", + "preemptionPolicy": "preemptionPolicyValue" +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1alpha1.PriorityClass.pb b/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1alpha1.PriorityClass.pb new file mode 100644 index 00000000000..d359c56527d Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1alpha1.PriorityClass.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1alpha1.PriorityClass.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1alpha1.PriorityClass.yaml new file mode 100644 index 00000000000..23476e4b569 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1alpha1.PriorityClass.yaml @@ -0,0 +1,38 @@ +apiVersion: scheduling.k8s.io/v1alpha1 +description: descriptionValue +globalDefault: true +kind: PriorityClass +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 +preemptionPolicy: preemptionPolicyValue +value: 2 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1beta1.PriorityClass.json b/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1beta1.PriorityClass.json new file mode 100644 index 00000000000..44cb32f4609 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1beta1.PriorityClass.json @@ -0,0 +1,50 @@ +{ + "kind": "PriorityClass", + "apiVersion": "scheduling.k8s.io/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" + } + ] + }, + "value": 2, + "globalDefault": true, + "description": "descriptionValue", + "preemptionPolicy": "preemptionPolicyValue" +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1beta1.PriorityClass.pb b/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1beta1.PriorityClass.pb new file mode 100644 index 00000000000..a61387a182e Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1beta1.PriorityClass.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1beta1.PriorityClass.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1beta1.PriorityClass.yaml new file mode 100644 index 00000000000..046a8a448d9 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/scheduling.k8s.io.v1beta1.PriorityClass.yaml @@ -0,0 +1,38 @@ +apiVersion: scheduling.k8s.io/v1beta1 +description: descriptionValue +globalDefault: true +kind: PriorityClass +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 +preemptionPolicy: preemptionPolicyValue +value: 2 diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSIDriver.json b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSIDriver.json new file mode 100644 index 00000000000..3acd8ccac4d --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSIDriver.json @@ -0,0 +1,63 @@ +{ + "kind": "CSIDriver", + "apiVersion": "storage.k8s.io/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": { + "attachRequired": true, + "podInfoOnMount": true, + "volumeLifecycleModes": [ + "volumeLifecycleModesValue" + ], + "storageCapacity": true, + "fsGroupPolicy": "fsGroupPolicyValue", + "tokenRequests": [ + { + "audience": "audienceValue", + "expirationSeconds": 2 + } + ], + "requiresRepublish": true, + "seLinuxMount": true + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSIDriver.pb b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSIDriver.pb new file mode 100644 index 00000000000..6b6621c28b8 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSIDriver.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSIDriver.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSIDriver.yaml new file mode 100644 index 00000000000..b787db002e0 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSIDriver.yaml @@ -0,0 +1,46 @@ +apiVersion: storage.k8s.io/v1 +kind: CSIDriver +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: + attachRequired: true + fsGroupPolicy: fsGroupPolicyValue + podInfoOnMount: true + requiresRepublish: true + seLinuxMount: true + storageCapacity: true + tokenRequests: + - audience: audienceValue + expirationSeconds: 2 + volumeLifecycleModes: + - volumeLifecycleModesValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSINode.json b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSINode.json new file mode 100644 index 00000000000..0bfe5b71b20 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSINode.json @@ -0,0 +1,60 @@ +{ + "kind": "CSINode", + "apiVersion": "storage.k8s.io/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": { + "drivers": [ + { + "name": "nameValue", + "nodeID": "nodeIDValue", + "topologyKeys": [ + "topologyKeysValue" + ], + "allocatable": { + "count": 1 + } + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSINode.pb b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSINode.pb new file mode 100644 index 00000000000..f67125d6a2b Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSINode.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSINode.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSINode.yaml new file mode 100644 index 00000000000..4f780e15c65 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSINode.yaml @@ -0,0 +1,42 @@ +apiVersion: storage.k8s.io/v1 +kind: CSINode +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: + drivers: + - allocatable: + count: 1 + name: nameValue + nodeID: nodeIDValue + topologyKeys: + - topologyKeysValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSIStorageCapacity.json b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSIStorageCapacity.json new file mode 100644 index 00000000000..38c75991ec2 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSIStorageCapacity.json @@ -0,0 +1,63 @@ +{ + "kind": "CSIStorageCapacity", + "apiVersion": "storage.k8s.io/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" + } + ] + }, + "nodeTopology": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "storageClassName": "storageClassNameValue", + "capacity": "0", + "maximumVolumeSize": "0" +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSIStorageCapacity.pb b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSIStorageCapacity.pb new file mode 100644 index 00000000000..29c136467f1 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSIStorageCapacity.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSIStorageCapacity.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSIStorageCapacity.yaml new file mode 100644 index 00000000000..4781557d732 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.CSIStorageCapacity.yaml @@ -0,0 +1,45 @@ +apiVersion: storage.k8s.io/v1 +capacity: "0" +kind: CSIStorageCapacity +maximumVolumeSize: "0" +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 +nodeTopology: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue +storageClassName: storageClassNameValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.StorageClass.json b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.StorageClass.json new file mode 100644 index 00000000000..82d3874817a --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.StorageClass.json @@ -0,0 +1,68 @@ +{ + "kind": "StorageClass", + "apiVersion": "storage.k8s.io/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" + } + ] + }, + "provisioner": "provisionerValue", + "parameters": { + "parametersKey": "parametersValue" + }, + "reclaimPolicy": "reclaimPolicyValue", + "mountOptions": [ + "mountOptionsValue" + ], + "allowVolumeExpansion": true, + "volumeBindingMode": "volumeBindingModeValue", + "allowedTopologies": [ + { + "matchLabelExpressions": [ + { + "key": "keyValue", + "values": [ + "valuesValue" + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.StorageClass.pb b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.StorageClass.pb new file mode 100644 index 00000000000..b1e32d4c891 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.StorageClass.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.StorageClass.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.StorageClass.yaml new file mode 100644 index 00000000000..943b34f21db --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.StorageClass.yaml @@ -0,0 +1,47 @@ +allowVolumeExpansion: true +allowedTopologies: +- matchLabelExpressions: + - key: keyValue + values: + - valuesValue +apiVersion: storage.k8s.io/v1 +kind: StorageClass +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 +mountOptions: +- mountOptionsValue +parameters: + parametersKey: parametersValue +provisioner: provisionerValue +reclaimPolicy: reclaimPolicyValue +volumeBindingMode: volumeBindingModeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.VolumeAttachment.json b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.VolumeAttachment.json new file mode 100644 index 00000000000..f5e31e3479e --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.VolumeAttachment.json @@ -0,0 +1,325 @@ +{ + "kind": "VolumeAttachment", + "apiVersion": "storage.k8s.io/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": { + "attacher": "attacherValue", + "source": { + "persistentVolumeName": "persistentVolumeNameValue", + "inlineVolumeSpec": { + "capacity": { + "capacityKey": "0" + }, + "gcePersistentDisk": { + "pdName": "pdNameValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "awsElasticBlockStore": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "hostPath": { + "path": "pathValue", + "type": "typeValue" + }, + "glusterfs": { + "endpoints": "endpointsValue", + "path": "pathValue", + "readOnly": true, + "endpointsNamespace": "endpointsNamespaceValue" + }, + "nfs": { + "server": "serverValue", + "path": "pathValue", + "readOnly": true + }, + "rbd": { + "monitors": [ + "monitorsValue" + ], + "image": "imageValue", + "fsType": "fsTypeValue", + "pool": "poolValue", + "user": "userValue", + "keyring": "keyringValue", + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "readOnly": true + }, + "iscsi": { + "targetPortal": "targetPortalValue", + "iqn": "iqnValue", + "lun": 3, + "iscsiInterface": "iscsiInterfaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "portals": [ + "portalsValue" + ], + "chapAuthDiscovery": true, + "chapAuthSession": true, + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "initiatorName": "initiatorNameValue" + }, + "cinder": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + } + }, + "cephfs": { + "monitors": [ + "monitorsValue" + ], + "path": "pathValue", + "user": "userValue", + "secretFile": "secretFileValue", + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "readOnly": true + }, + "fc": { + "targetWWNs": [ + "targetWWNsValue" + ], + "lun": 2, + "fsType": "fsTypeValue", + "readOnly": true, + "wwids": [ + "wwidsValue" + ] + }, + "flocker": { + "datasetName": "datasetNameValue", + "datasetUUID": "datasetUUIDValue" + }, + "flexVolume": { + "driver": "driverValue", + "fsType": "fsTypeValue", + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "readOnly": true, + "options": { + "optionsKey": "optionsValue" + } + }, + "azureFile": { + "secretName": "secretNameValue", + "shareName": "shareNameValue", + "readOnly": true, + "secretNamespace": "secretNamespaceValue" + }, + "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" + }, + "portworxVolume": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "scaleIO": { + "gateway": "gatewayValue", + "system": "systemValue", + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "sslEnabled": true, + "protectionDomain": "protectionDomainValue", + "storagePool": "storagePoolValue", + "storageMode": "storageModeValue", + "volumeName": "volumeNameValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "local": { + "path": "pathValue", + "fsType": "fsTypeValue" + }, + "storageos": { + "volumeName": "volumeNameValue", + "volumeNamespace": "volumeNamespaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + } + }, + "csi": { + "driver": "driverValue", + "volumeHandle": "volumeHandleValue", + "readOnly": true, + "fsType": "fsTypeValue", + "volumeAttributes": { + "volumeAttributesKey": "volumeAttributesValue" + }, + "controllerPublishSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "nodeStageSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "nodePublishSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "controllerExpandSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "nodeExpandSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + } + }, + "accessModes": [ + "accessModesValue" + ], + "claimRef": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + }, + "persistentVolumeReclaimPolicy": "persistentVolumeReclaimPolicyValue", + "storageClassName": "storageClassNameValue", + "mountOptions": [ + "mountOptionsValue" + ], + "volumeMode": "volumeModeValue", + "nodeAffinity": { + "required": { + "nodeSelectorTerms": [ + { + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ], + "matchFields": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + ] + } + } + } + }, + "nodeName": "nodeNameValue" + }, + "status": { + "attached": true, + "attachmentMetadata": { + "attachmentMetadataKey": "attachmentMetadataValue" + }, + "attachError": { + "time": "2001-01-01T01:01:01Z", + "message": "messageValue" + }, + "detachError": { + "time": "2001-01-01T01:01:01Z", + "message": "messageValue" + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.VolumeAttachment.pb b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.VolumeAttachment.pb new file mode 100644 index 00000000000..85dbd3ac5a2 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.VolumeAttachment.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.VolumeAttachment.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.VolumeAttachment.yaml new file mode 100644 index 00000000000..a272881fe85 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1.VolumeAttachment.yaml @@ -0,0 +1,248 @@ +apiVersion: storage.k8s.io/v1 +kind: VolumeAttachment +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: + attacher: attacherValue + nodeName: nodeNameValue + source: + inlineVolumeSpec: + accessModes: + - accessModesValue + 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 + secretNamespace: secretNamespaceValue + shareName: shareNameValue + capacity: + capacityKey: "0" + cephfs: + monitors: + - monitorsValue + path: pathValue + readOnly: true + secretFile: secretFileValue + secretRef: + name: nameValue + namespace: namespaceValue + user: userValue + cinder: + fsType: fsTypeValue + readOnly: true + secretRef: + name: nameValue + namespace: namespaceValue + volumeID: volumeIDValue + claimRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue + csi: + controllerExpandSecretRef: + name: nameValue + namespace: namespaceValue + controllerPublishSecretRef: + name: nameValue + namespace: namespaceValue + driver: driverValue + fsType: fsTypeValue + nodeExpandSecretRef: + name: nameValue + namespace: namespaceValue + nodePublishSecretRef: + name: nameValue + namespace: namespaceValue + nodeStageSecretRef: + name: nameValue + namespace: namespaceValue + readOnly: true + volumeAttributes: + volumeAttributesKey: volumeAttributesValue + volumeHandle: volumeHandleValue + fc: + fsType: fsTypeValue + lun: 2 + readOnly: true + targetWWNs: + - targetWWNsValue + wwids: + - wwidsValue + flexVolume: + driver: driverValue + fsType: fsTypeValue + options: + optionsKey: optionsValue + readOnly: true + secretRef: + name: nameValue + namespace: namespaceValue + flocker: + datasetName: datasetNameValue + datasetUUID: datasetUUIDValue + gcePersistentDisk: + fsType: fsTypeValue + partition: 3 + pdName: pdNameValue + readOnly: true + glusterfs: + endpoints: endpointsValue + endpointsNamespace: endpointsNamespaceValue + 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 + namespace: namespaceValue + targetPortal: targetPortalValue + local: + fsType: fsTypeValue + path: pathValue + mountOptions: + - mountOptionsValue + nfs: + path: pathValue + readOnly: true + server: serverValue + nodeAffinity: + required: + nodeSelectorTerms: + - matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchFields: + - key: keyValue + operator: operatorValue + values: + - valuesValue + persistentVolumeReclaimPolicy: persistentVolumeReclaimPolicyValue + photonPersistentDisk: + fsType: fsTypeValue + pdID: pdIDValue + portworxVolume: + fsType: fsTypeValue + readOnly: true + volumeID: volumeIDValue + 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 + namespace: namespaceValue + user: userValue + scaleIO: + fsType: fsTypeValue + gateway: gatewayValue + protectionDomain: protectionDomainValue + readOnly: true + secretRef: + name: nameValue + namespace: namespaceValue + sslEnabled: true + storageMode: storageModeValue + storagePool: storagePoolValue + system: systemValue + volumeName: volumeNameValue + storageClassName: storageClassNameValue + storageos: + fsType: fsTypeValue + readOnly: true + secretRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue + volumeName: volumeNameValue + volumeNamespace: volumeNamespaceValue + volumeMode: volumeModeValue + vsphereVolume: + fsType: fsTypeValue + storagePolicyID: storagePolicyIDValue + storagePolicyName: storagePolicyNameValue + volumePath: volumePathValue + persistentVolumeName: persistentVolumeNameValue +status: + attachError: + message: messageValue + time: "2001-01-01T01:01:01Z" + attached: true + attachmentMetadata: + attachmentMetadataKey: attachmentMetadataValue + detachError: + message: messageValue + time: "2001-01-01T01:01:01Z" diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1alpha1.CSIStorageCapacity.json b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1alpha1.CSIStorageCapacity.json new file mode 100644 index 00000000000..e6dd47126eb --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1alpha1.CSIStorageCapacity.json @@ -0,0 +1,63 @@ +{ + "kind": "CSIStorageCapacity", + "apiVersion": "storage.k8s.io/v1alpha1", + "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" + } + ] + }, + "nodeTopology": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "storageClassName": "storageClassNameValue", + "capacity": "0", + "maximumVolumeSize": "0" +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1alpha1.CSIStorageCapacity.pb b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1alpha1.CSIStorageCapacity.pb new file mode 100644 index 00000000000..374561deb07 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1alpha1.CSIStorageCapacity.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1alpha1.CSIStorageCapacity.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1alpha1.CSIStorageCapacity.yaml new file mode 100644 index 00000000000..2ca4299b4b9 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1alpha1.CSIStorageCapacity.yaml @@ -0,0 +1,45 @@ +apiVersion: storage.k8s.io/v1alpha1 +capacity: "0" +kind: CSIStorageCapacity +maximumVolumeSize: "0" +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 +nodeTopology: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue +storageClassName: storageClassNameValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1alpha1.VolumeAttachment.json b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1alpha1.VolumeAttachment.json new file mode 100644 index 00000000000..cc691ea427b --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1alpha1.VolumeAttachment.json @@ -0,0 +1,325 @@ +{ + "kind": "VolumeAttachment", + "apiVersion": "storage.k8s.io/v1alpha1", + "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": { + "attacher": "attacherValue", + "source": { + "persistentVolumeName": "persistentVolumeNameValue", + "inlineVolumeSpec": { + "capacity": { + "capacityKey": "0" + }, + "gcePersistentDisk": { + "pdName": "pdNameValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "awsElasticBlockStore": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "hostPath": { + "path": "pathValue", + "type": "typeValue" + }, + "glusterfs": { + "endpoints": "endpointsValue", + "path": "pathValue", + "readOnly": true, + "endpointsNamespace": "endpointsNamespaceValue" + }, + "nfs": { + "server": "serverValue", + "path": "pathValue", + "readOnly": true + }, + "rbd": { + "monitors": [ + "monitorsValue" + ], + "image": "imageValue", + "fsType": "fsTypeValue", + "pool": "poolValue", + "user": "userValue", + "keyring": "keyringValue", + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "readOnly": true + }, + "iscsi": { + "targetPortal": "targetPortalValue", + "iqn": "iqnValue", + "lun": 3, + "iscsiInterface": "iscsiInterfaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "portals": [ + "portalsValue" + ], + "chapAuthDiscovery": true, + "chapAuthSession": true, + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "initiatorName": "initiatorNameValue" + }, + "cinder": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + } + }, + "cephfs": { + "monitors": [ + "monitorsValue" + ], + "path": "pathValue", + "user": "userValue", + "secretFile": "secretFileValue", + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "readOnly": true + }, + "fc": { + "targetWWNs": [ + "targetWWNsValue" + ], + "lun": 2, + "fsType": "fsTypeValue", + "readOnly": true, + "wwids": [ + "wwidsValue" + ] + }, + "flocker": { + "datasetName": "datasetNameValue", + "datasetUUID": "datasetUUIDValue" + }, + "flexVolume": { + "driver": "driverValue", + "fsType": "fsTypeValue", + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "readOnly": true, + "options": { + "optionsKey": "optionsValue" + } + }, + "azureFile": { + "secretName": "secretNameValue", + "shareName": "shareNameValue", + "readOnly": true, + "secretNamespace": "secretNamespaceValue" + }, + "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" + }, + "portworxVolume": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "scaleIO": { + "gateway": "gatewayValue", + "system": "systemValue", + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "sslEnabled": true, + "protectionDomain": "protectionDomainValue", + "storagePool": "storagePoolValue", + "storageMode": "storageModeValue", + "volumeName": "volumeNameValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "local": { + "path": "pathValue", + "fsType": "fsTypeValue" + }, + "storageos": { + "volumeName": "volumeNameValue", + "volumeNamespace": "volumeNamespaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + } + }, + "csi": { + "driver": "driverValue", + "volumeHandle": "volumeHandleValue", + "readOnly": true, + "fsType": "fsTypeValue", + "volumeAttributes": { + "volumeAttributesKey": "volumeAttributesValue" + }, + "controllerPublishSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "nodeStageSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "nodePublishSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "controllerExpandSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "nodeExpandSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + } + }, + "accessModes": [ + "accessModesValue" + ], + "claimRef": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + }, + "persistentVolumeReclaimPolicy": "persistentVolumeReclaimPolicyValue", + "storageClassName": "storageClassNameValue", + "mountOptions": [ + "mountOptionsValue" + ], + "volumeMode": "volumeModeValue", + "nodeAffinity": { + "required": { + "nodeSelectorTerms": [ + { + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ], + "matchFields": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + ] + } + } + } + }, + "nodeName": "nodeNameValue" + }, + "status": { + "attached": true, + "attachmentMetadata": { + "attachmentMetadataKey": "attachmentMetadataValue" + }, + "attachError": { + "time": "2001-01-01T01:01:01Z", + "message": "messageValue" + }, + "detachError": { + "time": "2001-01-01T01:01:01Z", + "message": "messageValue" + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1alpha1.VolumeAttachment.pb b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1alpha1.VolumeAttachment.pb new file mode 100644 index 00000000000..cdade06e38c Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1alpha1.VolumeAttachment.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1alpha1.VolumeAttachment.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1alpha1.VolumeAttachment.yaml new file mode 100644 index 00000000000..3b562466ebc --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1alpha1.VolumeAttachment.yaml @@ -0,0 +1,248 @@ +apiVersion: storage.k8s.io/v1alpha1 +kind: VolumeAttachment +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: + attacher: attacherValue + nodeName: nodeNameValue + source: + inlineVolumeSpec: + accessModes: + - accessModesValue + 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 + secretNamespace: secretNamespaceValue + shareName: shareNameValue + capacity: + capacityKey: "0" + cephfs: + monitors: + - monitorsValue + path: pathValue + readOnly: true + secretFile: secretFileValue + secretRef: + name: nameValue + namespace: namespaceValue + user: userValue + cinder: + fsType: fsTypeValue + readOnly: true + secretRef: + name: nameValue + namespace: namespaceValue + volumeID: volumeIDValue + claimRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue + csi: + controllerExpandSecretRef: + name: nameValue + namespace: namespaceValue + controllerPublishSecretRef: + name: nameValue + namespace: namespaceValue + driver: driverValue + fsType: fsTypeValue + nodeExpandSecretRef: + name: nameValue + namespace: namespaceValue + nodePublishSecretRef: + name: nameValue + namespace: namespaceValue + nodeStageSecretRef: + name: nameValue + namespace: namespaceValue + readOnly: true + volumeAttributes: + volumeAttributesKey: volumeAttributesValue + volumeHandle: volumeHandleValue + fc: + fsType: fsTypeValue + lun: 2 + readOnly: true + targetWWNs: + - targetWWNsValue + wwids: + - wwidsValue + flexVolume: + driver: driverValue + fsType: fsTypeValue + options: + optionsKey: optionsValue + readOnly: true + secretRef: + name: nameValue + namespace: namespaceValue + flocker: + datasetName: datasetNameValue + datasetUUID: datasetUUIDValue + gcePersistentDisk: + fsType: fsTypeValue + partition: 3 + pdName: pdNameValue + readOnly: true + glusterfs: + endpoints: endpointsValue + endpointsNamespace: endpointsNamespaceValue + 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 + namespace: namespaceValue + targetPortal: targetPortalValue + local: + fsType: fsTypeValue + path: pathValue + mountOptions: + - mountOptionsValue + nfs: + path: pathValue + readOnly: true + server: serverValue + nodeAffinity: + required: + nodeSelectorTerms: + - matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchFields: + - key: keyValue + operator: operatorValue + values: + - valuesValue + persistentVolumeReclaimPolicy: persistentVolumeReclaimPolicyValue + photonPersistentDisk: + fsType: fsTypeValue + pdID: pdIDValue + portworxVolume: + fsType: fsTypeValue + readOnly: true + volumeID: volumeIDValue + 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 + namespace: namespaceValue + user: userValue + scaleIO: + fsType: fsTypeValue + gateway: gatewayValue + protectionDomain: protectionDomainValue + readOnly: true + secretRef: + name: nameValue + namespace: namespaceValue + sslEnabled: true + storageMode: storageModeValue + storagePool: storagePoolValue + system: systemValue + volumeName: volumeNameValue + storageClassName: storageClassNameValue + storageos: + fsType: fsTypeValue + readOnly: true + secretRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue + volumeName: volumeNameValue + volumeNamespace: volumeNamespaceValue + volumeMode: volumeModeValue + vsphereVolume: + fsType: fsTypeValue + storagePolicyID: storagePolicyIDValue + storagePolicyName: storagePolicyNameValue + volumePath: volumePathValue + persistentVolumeName: persistentVolumeNameValue +status: + attachError: + message: messageValue + time: "2001-01-01T01:01:01Z" + attached: true + attachmentMetadata: + attachmentMetadataKey: attachmentMetadataValue + detachError: + message: messageValue + time: "2001-01-01T01:01:01Z" diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSIDriver.json b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSIDriver.json new file mode 100644 index 00000000000..f3d7b2be855 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSIDriver.json @@ -0,0 +1,63 @@ +{ + "kind": "CSIDriver", + "apiVersion": "storage.k8s.io/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": { + "attachRequired": true, + "podInfoOnMount": true, + "volumeLifecycleModes": [ + "volumeLifecycleModesValue" + ], + "storageCapacity": true, + "fsGroupPolicy": "fsGroupPolicyValue", + "tokenRequests": [ + { + "audience": "audienceValue", + "expirationSeconds": 2 + } + ], + "requiresRepublish": true, + "seLinuxMount": true + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSIDriver.pb b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSIDriver.pb new file mode 100644 index 00000000000..17b4b4a0a46 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSIDriver.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSIDriver.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSIDriver.yaml new file mode 100644 index 00000000000..5fd85ceaaeb --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSIDriver.yaml @@ -0,0 +1,46 @@ +apiVersion: storage.k8s.io/v1beta1 +kind: CSIDriver +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: + attachRequired: true + fsGroupPolicy: fsGroupPolicyValue + podInfoOnMount: true + requiresRepublish: true + seLinuxMount: true + storageCapacity: true + tokenRequests: + - audience: audienceValue + expirationSeconds: 2 + volumeLifecycleModes: + - volumeLifecycleModesValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSINode.json b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSINode.json new file mode 100644 index 00000000000..1a46a629e66 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSINode.json @@ -0,0 +1,60 @@ +{ + "kind": "CSINode", + "apiVersion": "storage.k8s.io/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": { + "drivers": [ + { + "name": "nameValue", + "nodeID": "nodeIDValue", + "topologyKeys": [ + "topologyKeysValue" + ], + "allocatable": { + "count": 1 + } + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSINode.pb b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSINode.pb new file mode 100644 index 00000000000..ad7b167aeb4 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSINode.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSINode.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSINode.yaml new file mode 100644 index 00000000000..f6b1789d1ce --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSINode.yaml @@ -0,0 +1,42 @@ +apiVersion: storage.k8s.io/v1beta1 +kind: CSINode +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: + drivers: + - allocatable: + count: 1 + name: nameValue + nodeID: nodeIDValue + topologyKeys: + - topologyKeysValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSIStorageCapacity.json b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSIStorageCapacity.json new file mode 100644 index 00000000000..059bd01659f --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSIStorageCapacity.json @@ -0,0 +1,63 @@ +{ + "kind": "CSIStorageCapacity", + "apiVersion": "storage.k8s.io/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" + } + ] + }, + "nodeTopology": { + "matchLabels": { + "matchLabelsKey": "matchLabelsValue" + }, + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + }, + "storageClassName": "storageClassNameValue", + "capacity": "0", + "maximumVolumeSize": "0" +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSIStorageCapacity.pb b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSIStorageCapacity.pb new file mode 100644 index 00000000000..a61d0d13094 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSIStorageCapacity.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSIStorageCapacity.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSIStorageCapacity.yaml new file mode 100644 index 00000000000..2e4a1c86e9d --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.CSIStorageCapacity.yaml @@ -0,0 +1,45 @@ +apiVersion: storage.k8s.io/v1beta1 +capacity: "0" +kind: CSIStorageCapacity +maximumVolumeSize: "0" +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 +nodeTopology: + matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchLabels: + matchLabelsKey: matchLabelsValue +storageClassName: storageClassNameValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.StorageClass.json b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.StorageClass.json new file mode 100644 index 00000000000..cc9825942c9 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.StorageClass.json @@ -0,0 +1,68 @@ +{ + "kind": "StorageClass", + "apiVersion": "storage.k8s.io/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" + } + ] + }, + "provisioner": "provisionerValue", + "parameters": { + "parametersKey": "parametersValue" + }, + "reclaimPolicy": "reclaimPolicyValue", + "mountOptions": [ + "mountOptionsValue" + ], + "allowVolumeExpansion": true, + "volumeBindingMode": "volumeBindingModeValue", + "allowedTopologies": [ + { + "matchLabelExpressions": [ + { + "key": "keyValue", + "values": [ + "valuesValue" + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.StorageClass.pb b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.StorageClass.pb new file mode 100644 index 00000000000..2eab651cb75 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.StorageClass.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.StorageClass.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.StorageClass.yaml new file mode 100644 index 00000000000..e0b0cf02076 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.StorageClass.yaml @@ -0,0 +1,47 @@ +allowVolumeExpansion: true +allowedTopologies: +- matchLabelExpressions: + - key: keyValue + values: + - valuesValue +apiVersion: storage.k8s.io/v1beta1 +kind: StorageClass +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 +mountOptions: +- mountOptionsValue +parameters: + parametersKey: parametersValue +provisioner: provisionerValue +reclaimPolicy: reclaimPolicyValue +volumeBindingMode: volumeBindingModeValue diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.VolumeAttachment.json b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.VolumeAttachment.json new file mode 100644 index 00000000000..8882618baa1 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.VolumeAttachment.json @@ -0,0 +1,325 @@ +{ + "kind": "VolumeAttachment", + "apiVersion": "storage.k8s.io/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": { + "attacher": "attacherValue", + "source": { + "persistentVolumeName": "persistentVolumeNameValue", + "inlineVolumeSpec": { + "capacity": { + "capacityKey": "0" + }, + "gcePersistentDisk": { + "pdName": "pdNameValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "awsElasticBlockStore": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "partition": 3, + "readOnly": true + }, + "hostPath": { + "path": "pathValue", + "type": "typeValue" + }, + "glusterfs": { + "endpoints": "endpointsValue", + "path": "pathValue", + "readOnly": true, + "endpointsNamespace": "endpointsNamespaceValue" + }, + "nfs": { + "server": "serverValue", + "path": "pathValue", + "readOnly": true + }, + "rbd": { + "monitors": [ + "monitorsValue" + ], + "image": "imageValue", + "fsType": "fsTypeValue", + "pool": "poolValue", + "user": "userValue", + "keyring": "keyringValue", + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "readOnly": true + }, + "iscsi": { + "targetPortal": "targetPortalValue", + "iqn": "iqnValue", + "lun": 3, + "iscsiInterface": "iscsiInterfaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "portals": [ + "portalsValue" + ], + "chapAuthDiscovery": true, + "chapAuthSession": true, + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "initiatorName": "initiatorNameValue" + }, + "cinder": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + } + }, + "cephfs": { + "monitors": [ + "monitorsValue" + ], + "path": "pathValue", + "user": "userValue", + "secretFile": "secretFileValue", + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "readOnly": true + }, + "fc": { + "targetWWNs": [ + "targetWWNsValue" + ], + "lun": 2, + "fsType": "fsTypeValue", + "readOnly": true, + "wwids": [ + "wwidsValue" + ] + }, + "flocker": { + "datasetName": "datasetNameValue", + "datasetUUID": "datasetUUIDValue" + }, + "flexVolume": { + "driver": "driverValue", + "fsType": "fsTypeValue", + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "readOnly": true, + "options": { + "optionsKey": "optionsValue" + } + }, + "azureFile": { + "secretName": "secretNameValue", + "shareName": "shareNameValue", + "readOnly": true, + "secretNamespace": "secretNamespaceValue" + }, + "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" + }, + "portworxVolume": { + "volumeID": "volumeIDValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "scaleIO": { + "gateway": "gatewayValue", + "system": "systemValue", + "secretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "sslEnabled": true, + "protectionDomain": "protectionDomainValue", + "storagePool": "storagePoolValue", + "storageMode": "storageModeValue", + "volumeName": "volumeNameValue", + "fsType": "fsTypeValue", + "readOnly": true + }, + "local": { + "path": "pathValue", + "fsType": "fsTypeValue" + }, + "storageos": { + "volumeName": "volumeNameValue", + "volumeNamespace": "volumeNamespaceValue", + "fsType": "fsTypeValue", + "readOnly": true, + "secretRef": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + } + }, + "csi": { + "driver": "driverValue", + "volumeHandle": "volumeHandleValue", + "readOnly": true, + "fsType": "fsTypeValue", + "volumeAttributes": { + "volumeAttributesKey": "volumeAttributesValue" + }, + "controllerPublishSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "nodeStageSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "nodePublishSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "controllerExpandSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + }, + "nodeExpandSecretRef": { + "name": "nameValue", + "namespace": "namespaceValue" + } + }, + "accessModes": [ + "accessModesValue" + ], + "claimRef": { + "kind": "kindValue", + "namespace": "namespaceValue", + "name": "nameValue", + "uid": "uidValue", + "apiVersion": "apiVersionValue", + "resourceVersion": "resourceVersionValue", + "fieldPath": "fieldPathValue" + }, + "persistentVolumeReclaimPolicy": "persistentVolumeReclaimPolicyValue", + "storageClassName": "storageClassNameValue", + "mountOptions": [ + "mountOptionsValue" + ], + "volumeMode": "volumeModeValue", + "nodeAffinity": { + "required": { + "nodeSelectorTerms": [ + { + "matchExpressions": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ], + "matchFields": [ + { + "key": "keyValue", + "operator": "operatorValue", + "values": [ + "valuesValue" + ] + } + ] + } + ] + } + } + } + }, + "nodeName": "nodeNameValue" + }, + "status": { + "attached": true, + "attachmentMetadata": { + "attachmentMetadataKey": "attachmentMetadataValue" + }, + "attachError": { + "time": "2001-01-01T01:01:01Z", + "message": "messageValue" + }, + "detachError": { + "time": "2001-01-01T01:01:01Z", + "message": "messageValue" + } + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.VolumeAttachment.pb b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.VolumeAttachment.pb new file mode 100644 index 00000000000..3b731be6f72 Binary files /dev/null and b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.VolumeAttachment.pb differ diff --git a/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.VolumeAttachment.yaml b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.VolumeAttachment.yaml new file mode 100644 index 00000000000..78cd06a2173 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.26.0/storage.k8s.io.v1beta1.VolumeAttachment.yaml @@ -0,0 +1,248 @@ +apiVersion: storage.k8s.io/v1beta1 +kind: VolumeAttachment +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: + attacher: attacherValue + nodeName: nodeNameValue + source: + inlineVolumeSpec: + accessModes: + - accessModesValue + 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 + secretNamespace: secretNamespaceValue + shareName: shareNameValue + capacity: + capacityKey: "0" + cephfs: + monitors: + - monitorsValue + path: pathValue + readOnly: true + secretFile: secretFileValue + secretRef: + name: nameValue + namespace: namespaceValue + user: userValue + cinder: + fsType: fsTypeValue + readOnly: true + secretRef: + name: nameValue + namespace: namespaceValue + volumeID: volumeIDValue + claimRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue + csi: + controllerExpandSecretRef: + name: nameValue + namespace: namespaceValue + controllerPublishSecretRef: + name: nameValue + namespace: namespaceValue + driver: driverValue + fsType: fsTypeValue + nodeExpandSecretRef: + name: nameValue + namespace: namespaceValue + nodePublishSecretRef: + name: nameValue + namespace: namespaceValue + nodeStageSecretRef: + name: nameValue + namespace: namespaceValue + readOnly: true + volumeAttributes: + volumeAttributesKey: volumeAttributesValue + volumeHandle: volumeHandleValue + fc: + fsType: fsTypeValue + lun: 2 + readOnly: true + targetWWNs: + - targetWWNsValue + wwids: + - wwidsValue + flexVolume: + driver: driverValue + fsType: fsTypeValue + options: + optionsKey: optionsValue + readOnly: true + secretRef: + name: nameValue + namespace: namespaceValue + flocker: + datasetName: datasetNameValue + datasetUUID: datasetUUIDValue + gcePersistentDisk: + fsType: fsTypeValue + partition: 3 + pdName: pdNameValue + readOnly: true + glusterfs: + endpoints: endpointsValue + endpointsNamespace: endpointsNamespaceValue + 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 + namespace: namespaceValue + targetPortal: targetPortalValue + local: + fsType: fsTypeValue + path: pathValue + mountOptions: + - mountOptionsValue + nfs: + path: pathValue + readOnly: true + server: serverValue + nodeAffinity: + required: + nodeSelectorTerms: + - matchExpressions: + - key: keyValue + operator: operatorValue + values: + - valuesValue + matchFields: + - key: keyValue + operator: operatorValue + values: + - valuesValue + persistentVolumeReclaimPolicy: persistentVolumeReclaimPolicyValue + photonPersistentDisk: + fsType: fsTypeValue + pdID: pdIDValue + portworxVolume: + fsType: fsTypeValue + readOnly: true + volumeID: volumeIDValue + 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 + namespace: namespaceValue + user: userValue + scaleIO: + fsType: fsTypeValue + gateway: gatewayValue + protectionDomain: protectionDomainValue + readOnly: true + secretRef: + name: nameValue + namespace: namespaceValue + sslEnabled: true + storageMode: storageModeValue + storagePool: storagePoolValue + system: systemValue + volumeName: volumeNameValue + storageClassName: storageClassNameValue + storageos: + fsType: fsTypeValue + readOnly: true + secretRef: + apiVersion: apiVersionValue + fieldPath: fieldPathValue + kind: kindValue + name: nameValue + namespace: namespaceValue + resourceVersion: resourceVersionValue + uid: uidValue + volumeName: volumeNameValue + volumeNamespace: volumeNamespaceValue + volumeMode: volumeModeValue + vsphereVolume: + fsType: fsTypeValue + storagePolicyID: storagePolicyIDValue + storagePolicyName: storagePolicyNameValue + volumePath: volumePathValue + persistentVolumeName: persistentVolumeNameValue +status: + attachError: + message: messageValue + time: "2001-01-01T01:01:01Z" + attached: true + attachmentMetadata: + attachmentMetadataKey: attachmentMetadataValue + detachError: + message: messageValue + time: "2001-01-01T01:01:01Z"