mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
api: update API compatibility tests to remove topologyKeys from Service
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
This commit is contained in:
parent
e9c7fa49d9
commit
38d3ae1a06
112
staging/src/k8s.io/api/testdata/v1.20.0/core.v1.Service.after_roundtrip.json
vendored
Normal file
112
staging/src/k8s.io/api/testdata/v1.20.0/core.v1.Service.after_roundtrip.json
vendored
Normal file
@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
78
staging/src/k8s.io/api/testdata/v1.20.0/core.v1.Service.after_roundtrip.yaml
vendored
Normal file
78
staging/src/k8s.io/api/testdata/v1.20.0/core.v1.Service.after_roundtrip.yaml
vendored
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
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
|
||||||
|
ipFamilies:
|
||||||
|
- 斬³;Ơ歿:狞夌碕ʂɭîcP$Iņɖ
|
||||||
|
ipFamilyPolicy: 9ȫŚ
|
||||||
|
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: "2392-12-09T15:37:55Z"
|
||||||
|
message: "36"
|
||||||
|
observedGeneration: -2492120148461555858
|
||||||
|
reason: "35"
|
||||||
|
status: C
|
||||||
|
type: "34"
|
||||||
|
loadBalancer:
|
||||||
|
ingress:
|
||||||
|
- hostname: "32"
|
||||||
|
ip: "31"
|
||||||
|
ports:
|
||||||
|
- error: "33"
|
||||||
|
port: -907310967
|
||||||
|
protocol: 喂ƈ斎AO6
|
114
staging/src/k8s.io/api/testdata/v1.21.0/core.v1.Service.after_roundtrip.json
vendored
Normal file
114
staging/src/k8s.io/api/testdata/v1.21.0/core.v1.Service.after_roundtrip.json
vendored
Normal file
@ -0,0 +1,114 @@
|
|||||||
|
{
|
||||||
|
"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,
|
||||||
|
"loadBalancerClass": "31",
|
||||||
|
"internalTrafficPolicy": ""
|
||||||
|
},
|
||||||
|
"status": {
|
||||||
|
"loadBalancer": {
|
||||||
|
"ingress": [
|
||||||
|
{
|
||||||
|
"ip": "32",
|
||||||
|
"hostname": "33",
|
||||||
|
"ports": [
|
||||||
|
{
|
||||||
|
"port": 684408190,
|
||||||
|
"protocol": "ƈ斎AO6ĴC浔Ű",
|
||||||
|
"error": "34"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"type": "35",
|
||||||
|
"status": "ž(-譵",
|
||||||
|
"observedGeneration": -8651056334266075769,
|
||||||
|
"lastTransitionTime": "2404-01-10T11:35:42Z",
|
||||||
|
"reason": "36",
|
||||||
|
"message": "37"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
80
staging/src/k8s.io/api/testdata/v1.21.0/core.v1.Service.after_roundtrip.yaml
vendored
Normal file
80
staging/src/k8s.io/api/testdata/v1.21.0/core.v1.Service.after_roundtrip.yaml
vendored
Normal file
@ -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浔Ű
|
Loading…
Reference in New Issue
Block a user