From 38d3ae1a0604fc6b17268a1ebe4ea28289967b7e Mon Sep 17 00:00:00 2001 From: Andrew Sy Kim Date: Thu, 3 Jun 2021 22:33:20 -0400 Subject: [PATCH] api: update API compatibility tests to remove topologyKeys from Service Signed-off-by: Andrew Sy Kim --- .../core.v1.Service.after_roundtrip.json | 112 +++++++++++++++++ .../core.v1.Service.after_roundtrip.pb | Bin 513 -> 508 bytes .../core.v1.Service.after_roundtrip.yaml | 78 ++++++++++++ .../core.v1.Service.after_roundtrip.json | 114 ++++++++++++++++++ .../core.v1.Service.after_roundtrip.pb | Bin 527 -> 522 bytes .../core.v1.Service.after_roundtrip.yaml | 80 ++++++++++++ 6 files changed, 384 insertions(+) create mode 100644 staging/src/k8s.io/api/testdata/v1.20.0/core.v1.Service.after_roundtrip.json create mode 100644 staging/src/k8s.io/api/testdata/v1.20.0/core.v1.Service.after_roundtrip.yaml create mode 100644 staging/src/k8s.io/api/testdata/v1.21.0/core.v1.Service.after_roundtrip.json create mode 100644 staging/src/k8s.io/api/testdata/v1.21.0/core.v1.Service.after_roundtrip.yaml diff --git a/staging/src/k8s.io/api/testdata/v1.20.0/core.v1.Service.after_roundtrip.json b/staging/src/k8s.io/api/testdata/v1.20.0/core.v1.Service.after_roundtrip.json new file mode 100644 index 00000000000..8a189c74daa --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.20.0/core.v1.Service.after_roundtrip.json @@ -0,0 +1,112 @@ +{ + "kind": "Service", + "apiVersion": "v1", + "metadata": { + "name": "2", + "generateName": "3", + "namespace": "4", + "selfLink": "5", + "uid": "7", + "resourceVersion": "11042405498087606203", + "generation": 8071137005907523419, + "creationTimestamp": null, + "deletionGracePeriodSeconds": -4955867275792137171, + "labels": { + "7": "8" + }, + "annotations": { + "9": "10" + }, + "ownerReferences": [ + { + "apiVersion": "11", + "kind": "12", + "name": "13", + "uid": "Dz廔ȇ{sŊƏp", + "controller": false, + "blockOwnerDeletion": true + } + ], + "finalizers": [ + "14" + ], + "clusterName": "15", + "managedFields": [ + { + "manager": "16", + "operation": "鐊唊飙Ş-U圴÷a/ɔ}摁(湗Ć]", + "apiVersion": "17", + "fieldsType": "18" + } + ] + }, + "spec": { + "ports": [ + { + "name": "19", + "protocol": "@Hr鯹)晿", + "appProtocol": "20", + "port": 202283346, + "targetPort": "21", + "nodePort": -474380055 + } + ], + "selector": { + "22": "23" + }, + "clusterIP": "24", + "clusterIPs": [ + "25" + ], + "type": "鮽ort昍řČ扷5ƗǸƢ6/ʕVŚ(Ŀ", + "externalIPs": [ + "26" + ], + "sessionAffinity": "甞谐颋DžS", + "loadBalancerIP": "27", + "loadBalancerSourceRanges": [ + "28" + ], + "externalName": "29", + "externalTrafficPolicy": "ƏS$+½H牗洝尿", + "healthCheckNodePort": -1965738697, + "publishNotReadyAddresses": true, + "sessionAffinityConfig": { + "clientIP": { + "timeoutSeconds": 2072604405 + } + }, + "ipFamilies": [ + "斬³;Ơ歿:狞夌碕ʂɭîcP$Iņɖ" + ], + "ipFamilyPolicy": "9ȫŚ", + "allocateLoadBalancerNodePorts": true + }, + "status": { + "loadBalancer": { + "ingress": [ + { + "ip": "31", + "hostname": "32", + "ports": [ + { + "port": -907310967, + "protocol": "喂ƈ斎AO6", + "error": "33" + } + ] + } + ] + }, + "conditions": [ + { + "type": "34", + "status": "C", + "observedGeneration": -2492120148461555858, + "lastTransitionTime": "2392-12-09T15:37:55Z", + "reason": "35", + "message": "36" + } + ] + } +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.20.0/core.v1.Service.after_roundtrip.pb b/staging/src/k8s.io/api/testdata/v1.20.0/core.v1.Service.after_roundtrip.pb index 5c3c306d19edf733d4bed12513ae3bb5514384b2..0b7efa71335ab9a9d60fb635b5b5fcb68b74c388 100644 GIT binary patch delta 20 ccmZo<`NKRxgz?ct(G86ECmvfhxs0+56!uVmL=my5;6OXN$T*^2L08#b`nE(I) delta 26 icmeBT>1UZB!uWNf=my3&6OXN8ZDM3HHke$%I12!SLJ5li diff --git a/staging/src/k8s.io/api/testdata/v1.21.0/core.v1.Service.after_roundtrip.yaml b/staging/src/k8s.io/api/testdata/v1.21.0/core.v1.Service.after_roundtrip.yaml new file mode 100644 index 00000000000..91350d85e99 --- /dev/null +++ b/staging/src/k8s.io/api/testdata/v1.21.0/core.v1.Service.after_roundtrip.yaml @@ -0,0 +1,80 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + "9": "10" + clusterName: "15" + creationTimestamp: null + deletionGracePeriodSeconds: -4955867275792137171 + finalizers: + - "14" + generateName: "3" + generation: 8071137005907523419 + labels: + "7": "8" + managedFields: + - apiVersion: "17" + fieldsType: "18" + manager: "16" + operation: 鐊唊飙Ş-U圴÷a/ɔ}摁(湗Ć] + name: "2" + namespace: "4" + ownerReferences: + - apiVersion: "11" + blockOwnerDeletion: true + controller: false + kind: "12" + name: "13" + uid: Dz廔ȇ{sŊƏp + resourceVersion: "11042405498087606203" + selfLink: "5" + uid: "7" +spec: + allocateLoadBalancerNodePorts: true + clusterIP: "24" + clusterIPs: + - "25" + externalIPs: + - "26" + externalName: "29" + externalTrafficPolicy: ƏS$+½H牗洝尿 + healthCheckNodePort: -1965738697 + internalTrafficPolicy: "" + ipFamilies: + - 斬³;Ơ歿:狞夌碕ʂɭîcP$Iņɖ + ipFamilyPolicy: 9ȫŚ + loadBalancerClass: "31" + loadBalancerIP: "27" + loadBalancerSourceRanges: + - "28" + ports: + - appProtocol: "20" + name: "19" + nodePort: -474380055 + port: 202283346 + protocol: '@Hr鯹)晿' + targetPort: "21" + publishNotReadyAddresses: true + selector: + "22": "23" + sessionAffinity: 甞谐颋DžS + sessionAffinityConfig: + clientIP: + timeoutSeconds: 2072604405 + type: 鮽ort昍řČ扷5ƗǸƢ6/ʕVŚ(Ŀ +status: + conditions: + - lastTransitionTime: "2404-01-10T11:35:42Z" + message: "37" + observedGeneration: -8651056334266075769 + reason: "36" + status: ž(-譵 + type: "35" + loadBalancer: + ingress: + - hostname: "33" + ip: "32" + ports: + - error: "34" + port: 684408190 + protocol: ƈ斎AO6ĴC浔Ű